ref(dashboards): Remove Dashboard Templates feature#113343
Open
ref(dashboards): Remove Dashboard Templates feature#113343
Conversation
Dashboard Templates let users browse 4 pre-defined dashboards (General, Frontend, Backend, Mobile) on the Manage Dashboards page and create new dashboards from them via a Preview flow. With the launch of Prebuilt Dashboards, this feature is redundant. Remove the template selection UI, the template data definitions, the \`/dashboards/new/:templateId\` route, and the associated analytics events. \`DashboardState.PREVIEW\` and the \`/dashboards/new/from-seer/\` flow are kept intact since they are still used by AI-generated dashboards. Refs DAIN-1210 Co-Authored-By: Claude <noreply@anthropic.com>
These tests exercised the Dashboard Templates flow (routes /dashboards/new/:templateId/... and "save as template from preview") that was removed in the previous commit. With templates gone, the tests fail because the template lookup returns undefined. Remove the three template-specific test cases and the two now-unused route constants. Refs DAIN-1210 Co-Authored-By: Claude <noreply@anthropic.com>
Two filter tests waited for '7D' to appear in the page filter header before interacting with the release dropdown. They passed in CI only because a prior template test (now removed) clicked through the period selector and left PageFiltersStore in a matching state. Drop the precondition check so the tests stand on their own; the subsequent findBy queries still provide the needed async wait. Co-Authored-By: Claude <noreply@anthropic.com>
The trackAnalytics('dashboards_manage.templates.add') call was still
fired from the PREVIEW/CREATE commit path, but the event key was
removed from the registry in the earlier refactor commit. Drop the
now-dead call. The create flow is still tracked via
'dashboards2.create.complete'.
Co-Authored-By: Claude <noreply@anthropic.com>
scttcper
approved these changes
Apr 17, 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.
Removes the Dashboard Templates feature. With the launch of Prebuilt Dashboards, Dashboard Templates are redundant! They're already hidden for most customers.
Closes DAIN-1210