Skip to content

Refresh pages when switching back to a visited realm - #3591

Draft
Ekhorn wants to merge 1 commit into
mainfrom
bugfix/realm-switch-refresh
Draft

Ekhorn wants to merge 1 commit into
mainfrom
bugfix/realm-switch-refresh

Conversation

@Ekhorn

@Ekhorn Ekhorn commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Description

Refresh pages when switching back to a visited realm

Changes

  • Detect realm changes by comparing with the previous realm instead of memoized selectors, which skip a realm already seen since Redux Toolkit 2
  • Clear the asset selection and tree filter on a realm switch
  • Load the current realm when an asset tree reply arrives for another one
  • Drop the direct reselect dependency
  • Add regression tests for the assets and services pages

Checklist

  • 1. Acceptance criteria of the linked issue(s) are met
  • 2. Tests are written and all tests pass
  • 3. Changes are manually tested by you and the reviewer
  • 4. Documentation is written or updated

@Ekhorn Ekhorn self-assigned this Nov 19, 2026
@Ekhorn
Ekhorn force-pushed the bugfix/realm-switch-refresh branch 2 times, most recently from 68f6eb3 to 539f126 Compare November 19, 2026 18:52
- Detect realm changes by comparing with the previous realm instead of memoized selectors, which skip a realm already seen since Redux Toolkit 2
- Clear the asset selection and tree filter on a realm switch
- Load the current realm when an asset tree reply arrives for another one
- Drop the direct reselect dependency
- Add regression tests for the assets and services pages
@Ekhorn
Ekhorn force-pushed the bugfix/realm-switch-refresh branch from 539f126 to 12cec45 Compare November 24, 2026 09:16
@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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.

Switching from a realm to another realm on the asset page doesn't update the asset tree

1 participant