Skip to content

feat(dashboards): Clarify pre-built dashboard UI#110852

Merged
DominikB2014 merged 3 commits intomasterfrom
dominikbuszowiecki/dain-1260-clarify-pre-built-dashboard-ui
Mar 17, 2026
Merged

feat(dashboards): Clarify pre-built dashboard UI#110852
DominikB2014 merged 3 commits intomasterfrom
dominikbuszowiecki/dain-1260-clarify-pre-built-dashboard-ui

Conversation

@DominikB2014
Copy link
Contributor

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_LABEL constant 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

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>
@linear-code
Copy link

linear-code bot commented Mar 17, 2026

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 17, 2026
@DominikB2014 DominikB2014 marked this pull request as ready for review March 17, 2026 14:41
@DominikB2014 DominikB2014 requested review from a team as code owners March 17, 2026 14:42
Copy link
Member

@gggritso gggritso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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,
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 good call out, i'll fix that

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.
Copy link
Member

@gggritso gggritso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@DominikB2014 DominikB2014 merged commit 2e63a19 into master Mar 17, 2026
63 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/dain-1260-clarify-pre-built-dashboard-ui branch March 17, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants