Skip to content

fix(dashboards): Stop passing list page query params to dashboard details#111815

Merged
DominikB2014 merged 1 commit intomasterfrom
dominikbuszowiecki/dain-1432-nextjs-rage-and-dead-click-link-is-broken
Mar 31, 2026
Merged

fix(dashboards): Stop passing list page query params to dashboard details#111815
DominikB2014 merged 1 commit intomasterfrom
dominikbuszowiecki/dain-1432-nextjs-rage-and-dead-click-link-is-broken

Conversation

@DominikB2014
Copy link
Copy Markdown
Contributor

@DominikB2014 DominikB2014 commented Mar 30, 2026

The dashboards list page was forwarding its query parameters (sort, filter, query) through to dashboard detail page links. When navigating from the list to a specific dashboard, these list-page-specific params would appear in the detail URL, which could interfere with the dashboard's own filter handling (e.g., saved global filters).

These query params aren't really used in dashboard details, and has potential to mess up the state of certain widgets that might confuse these params

Removes query param forwarding from:

  • DashboardGrid card links
  • DashboardTable name links
  • onCreate, loadDashboard, and onPreview navigation in the manage index

Fixes DAIN-1432

…ails

The dashboards list page was forwarding its query parameters (sort,
filter, search) to dashboard detail links. This caused unintended
params to appear in dashboard detail URLs when navigating from the
list page.

Remove query param forwarding from DashboardGrid card links,
DashboardTable name links, and the onCreate/loadDashboard/onPreview
navigation functions in the manage index.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@linear-code
Copy link
Copy Markdown

linear-code bot commented Mar 30, 2026

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 30, 2026
@DominikB2014 DominikB2014 marked this pull request as ready for review March 30, 2026 19:21
@DominikB2014 DominikB2014 requested a review from a team as a code owner March 30, 2026 19:21
@DominikB2014 DominikB2014 merged commit 3d7aeaa into master Mar 31, 2026
77 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/dain-1432-nextjs-rage-and-dead-click-link-is-broken branch March 31, 2026 14:38
dashed pushed a commit that referenced this pull request Apr 1, 2026
…ails (#111815)

The dashboards list page was forwarding its query parameters (`sort`,
`filter`, `query`) through to dashboard detail page links. When
navigating from the list to a specific dashboard, these
list-page-specific params would appear in the detail URL, which could
interfere with the dashboard's own filter handling (e.g., saved global
filters).

These query params aren't really used in dashboard details, and has
potential to mess up the state of certain widgets that might confuse
these params

Removes query param forwarding from:
- `DashboardGrid` card links
- `DashboardTable` name links
- `onCreate`, `loadDashboard`, and `onPreview` navigation in the manage
index

Fixes DAIN-1432

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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