feat(dashboards): Clarify pre-built dashboard UI#110852
Merged
DominikB2014 merged 3 commits intomasterfrom Mar 17, 2026
Merged
Conversation
Previously the Edit button was completely hidden for pre-built dashboards, making it unclear why editing was unavailable. Show a disabled Edit button with a tooltip explaining it is a Sentry Built dashboard that must be duplicated to make changes. Also consolidate the "Sentry Built" label into a shared PREBUILT_DASHBOARD_LABEL constant and update all user-facing "Prebuilt dashboards cannot be..." tooltips to use the consistent "Sentry Built" terminology. Refs LINEAR-DAIN-1260 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gggritso
reviewed
Mar 17, 2026
Member
gggritso
left a comment
There was a problem hiding this comment.
Makes sense, just one small issue with the tooltip text 🙏🏻
Comment on lines
+123
to
+125
| ? tct('[label] dashboards cannot be duplicated', { | ||
| label: PREBUILT_DASHBOARD_LABEL, | ||
| }) |
Member
There was a problem hiding this comment.
I think you need separate messages for when it's disabled due to being over the dashboard limit vs. being disabled because it's pre-built
Contributor
Author
There was a problem hiding this comment.
👍 good call out, i'll fix that
Contributor
Author
There was a problem hiding this comment.
@gggritso we already display limitMessage when it's disabled due to being over the dashboard limit, limitMessage is null when they are not over the limit.
The duplicate button tooltip previously only distinguished prebuilt dashboards from all other disabled states. Now it correctly shows the dashboard limit message when disabled due to reaching the limit, and no tooltip when not disabled.
limitMessage is already null when the dashboard limit is not reached, so the extra hasReachedDashboardLimit ternary is unnecessary.
3 tasks
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.
Show a disabled Edit button with a tooltip on pre-built dashboards instead of hiding it entirely. Previously it was unclear why the dashboard couldn't be edited or why it existed in its current form.
The tooltip reads: "This is a Sentry Built dashboard and cannot be edited. Duplicate it to make changes." — guiding users toward the duplication flow.
Also consolidates the user-facing "Sentry Built" label into a shared
PREBUILT_DASHBOARD_LABELconstant and updates all "Prebuilt dashboards cannot be..." tooltips (edit, duplicate, delete) across the manage page table, grid, and edit access selector to use the consistent "Sentry Built" terminology that matches the sidebar navigation.Refs LINEAR-DAIN-1260