Skip to content

feat: add flag to disable persistent dashboard state#9522

Merged
AdityaHegde merged 3 commits into
mainfrom
feat/disable-most-recent-dashboard-state
Jun 5, 2026
Merged

feat: add flag to disable persistent dashboard state#9522
AdityaHegde merged 3 commits into
mainfrom
feat/disable-most-recent-dashboard-state

Conversation

@AdityaHegde
Copy link
Copy Markdown
Collaborator

@AdityaHegde AdityaHegde commented Jun 4, 2026

We have 2 ways of persistent dashboard state,

  1. All dashboard state is save per tab. Going back to dashboard without url params will reset to the full dashboard state.
  2. Certain dashboard states are saved. A revisit to this dashboard will restore this subset.

Adding a project level feature flag disable_persistent_dashboard_state to disable both of these.

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@AdityaHegde AdityaHegde requested a review from nishantmonu51 June 5, 2026 05:37
@AdityaHegde AdityaHegde marked this pull request as ready for review June 5, 2026 05:37
@AdityaHegde AdityaHegde merged commit 94e4f90 into main Jun 5, 2026
16 of 17 checks passed
@AdityaHegde AdityaHegde deleted the feat/disable-most-recent-dashboard-state branch June 5, 2026 10:22
AdityaHegde added a commit that referenced this pull request Jun 5, 2026
* feat: add flag to disable persistent dashboard state

* Add tests

* Self review
AdityaHegde added a commit that referenced this pull request Jun 5, 2026
* feat: add flag to disable persistent dashboard state

* Add tests

* Self review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants