Skip to content

Send Feedback button not showing when using Fillament 3.2.88 in SPA mode #12825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
rodolfoBee opened this issue Jul 9, 2024 · 2 comments
Closed
3 tasks done
Assignees
Labels
Bug Package: browser Issues related to the Sentry Browser SDK Sync: Jira apply to auto-create a Jira shadow ticket User Feedbacks

Comments

@rodolfoBee
Copy link
Member

rodolfoBee commented Jul 9, 2024

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/browser

SDK Version

8.8.0

Framework Version

Filament (Laravel framework)

Link to Sentry event

No response

SDK Setup/Reproduction Example

Sentry.init({
  dsn: "...",
  integrations: [
     Sentry.feedbackIntegration({
       colorScheme: "system",
       isEmailRequired: true,
       useSentryUser: {
       name: "name",
       email: "email",
    },
    includeReplay: true,
    triggerLabel: "Send Feedback",
    submitButtonLabel: "Send feedback",
    formTitle: "Send Feedback",
    messagePlaceholder: "What's your feedback?",
    successMessageText: "Thanks for your feedback!",
   })]
...
});

Steps to Reproduce

  1. Create a simple Laravel app
  2. Add filament v3.2.88 (https://filamentphp.com/docs/3.x/panels/getting-started)
  3. Enable SPA mode (https://filamentphp.com/docs/3.x/panels/configuration#spa-mode)
  4. Add browser SDK
  5. Enable the feedback integration

Expected Result

The feedback button is shown on all pages.

Actual Result

When navigating the app in the menu created by Filament the feedback button will not show immediately. The button will only show after reloading the page.

Adding a video with the behaviour to the shadow Jira ticket as it contains PII.

┆Issue is synchronized with this Jira Improvement by Unito

@rodolfoBee rodolfoBee added Type: Bug Sync: Jira apply to auto-create a Jira shadow ticket labels Jul 9, 2024
@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jul 9, 2024
@github-actions github-actions bot added the Package: browser Issues related to the Sentry Browser SDK label Jul 9, 2024
@mydea
Copy link
Member

mydea commented Mar 17, 2025

I would assume, with pretty high confidence, that the problem here is not related to feedback, but that Sentry is not being run/initialized at all in that case. This is pretty old so not sure if possible, but could you provide logs for such a page where this was not rendered?

@getsantry getsantry bot moved this from Waiting for: Product Owner to Waiting for: Community in GitHub Issues with 👀 3 Mar 17, 2025
@mydea mydea closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 2025
@mydea
Copy link
Member

mydea commented May 7, 2025

Why was this issue closed?

This issue hasn't been touched recently and no longer seems relevant.
Hence, we're closing it to maintain a clean and transparent backlog.

Please feel free to leave a comment if you think this issue should be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Package: browser Issues related to the Sentry Browser SDK Sync: Jira apply to auto-create a Jira shadow ticket User Feedbacks
Projects
Archived in project
Development

No branches or pull requests

6 participants