Skip to content

Fix: non blocking fetch on navigate - #7321

Merged
jackkav merged 5 commits into
Kong:developfrom
jackkav:fix/non-blocking-permissions
Apr 29, 2024
Merged

Fix: non blocking fetch on navigate#7321
jackkav merged 5 commits into
Kong:developfrom
jackkav:fix/non-blocking-permissions

Conversation

@jackkav

@jackkav jackkav commented Apr 25, 2024

Copy link
Copy Markdown
Contributor

Removes the blocking fetch on organisation navigate

Instead makes a non-blocking request whenever one of three components is loaded, including project which might be a wasteful call but can be cached out of scope.

  • test that it refetches on org change

note: from #7318

future work

  • use SSE to control re-fetching and use cache for initial state if available

Comment thread packages/insomnia/src/ui/components/panes/project-empty-state-pane.tsx Outdated
@jackkav
jackkav force-pushed the fix/non-blocking-permissions branch from 14dc1ed to 8f8aec2 Compare April 29, 2024 09:04
@jackkav
jackkav enabled auto-merge (squash) April 29, 2024 09:17
@jackkav
jackkav merged commit 27922a8 into Kong:develop Apr 29, 2024
@jackkav
jackkav deleted the fix/non-blocking-permissions branch April 29, 2024 09:19
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