fix(spaces): keep space data warm across navigation - #3893
Merged
Conversation
Keep collaborative space collections warm across navigation while polling only the active space. Generated-By: PostHog Code Task-Id: 885a1205-07a8-4fd0-b625-a789b7035a20
|
😎 Merged successfully - details. |
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
Contributor
🦔 ReviewHog reviewed this pull requestFound 0 must fix, 0 should fix, 1 consider. Published 1 finding (view the review). |
Contributor
|
ReviewHog Alpha 🦔 If you find any issues helpful - please reply "valid", "invalid", etc., for evaluation purposes 🙏 |
Contributor
There was a problem hiding this comment.
ReviewHog Report
Changes
Issues: 1 issue
Files (4)
packages/ui/src/features/canvas/hooks/spaceQueryPolicy.tspackages/ui/src/features/canvas/hooks/useChannelFeed.tspackages/ui/src/features/canvas/hooks/useChannelTasks.tspackages/ui/src/features/canvas/hooks/useDashboards.ts
Generated-By: PostHog Code Task-Id: 885a1205-07a8-4fd0-b625-a789b7035a20
puemos
marked this pull request as ready for review
July 29, 2026 08:14
PR overviewAll previously flagged issues have been addressed. No open security concerns remain on this pull request. Security reviewNo open security issues remain on this pull request. Fixed/addressed: 1 · PR risk: 0/10 |
tatoalo
approved these changes
Jul 29, 2026
Generated-By: PostHog Code Task-Id: 885a1205-07a8-4fd0-b625-a789b7035a20
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.
Problem
Switching between recently visited spaces refetched their collaborative collections instead of immediately reusing cached data.
Why: Space switching should feel immediate without delaying updates made by teammates.
Changes
How did you test this?
pnpm exec biome checkon the changed hookspnpm --filter @posthog/ui typecheckpnpm --filter @posthog/ui test(2,299 tests)Automatic notifications
Created with PostHog Code