feat(dashboards): Support dashboard editing via Seer chat session#112489
Merged
edwardgou-sentry merged 5 commits intomasterfrom Apr 8, 2026
Merged
feat(dashboards): Support dashboard editing via Seer chat session#112489edwardgou-sentry merged 5 commits intomasterfrom
edwardgou-sentry merged 5 commits intomasterfrom
Conversation
Update useSeerDashboardSession to accept an optional dashboard prop. When provided without a seerRunId, the first sendFollowUpMessage call starts a new Seer session via the dashboard generate endpoint with the current dashboard as editing context. Add DashboardEditSeerChat component and wire it into the dashboard detail edit view.
Contributor
Author
|
@cursor review |
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
Autofix Details
Bugbot Autofix prepared fixes for all 3 issues found in the latest run.
- ✅ Fixed: Test asserts wrong prompt string, will always fail
- Changed test assertion from 'Add a latency widget' to 'Add me another widget' to match the actual message sent in the test.
- ✅ Fixed: Child component checks wrong feature flags for edit
- Updated DashboardEditSeerChat to check 'dashboards-ai-generate-edit' flag instead of 'dashboards-edit' AND 'dashboards-ai-generate' to match parent component's feature gate.
- ✅ Fixed: Widget error tracking is dead code, map never populated
- Removed unused widgetErrorsMap ref and related code, passing empty array for widgetErrors since the component lacks WidgetErrorProvider context to populate it.
Or push these changes by commenting:
@cursor push cd4b740d49
This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
Contributor
Author
|
@cursor review |
Contributor
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 5b414ea. Configure here.
DominikB2014
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds chat panel to dashboards edit mode:
useSeerDashboardSessionto accept an optionaldashboardprop. When provided without aseerRunId, the firstsendFollowUpMessagecall starts a new Seer session via the dashboard generate endpoint, passing the current dashboard as editing context.DashboardEditSeerChatcomponent that wires the Seer chat panel into the dashboard detail edit view behind thedashboards-ai-generate-editfeature flag.startDashboardEditSessionhelper for the generate endpoint call.