-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
chore: aggressive prefetching #29987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
5 Skipped Deployments
|
No changes detected in Preview Branches by Supabase. |
apps/studio/components/interfaces/TableGridEditor/EmptyState.tsx
Outdated
Show resolved
Hide resolved
apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - tested on preview that perceived loading speed around the table editor is improved, although we need to check on one thing though that the call to /views
seems to be triggered each time i hover over a table link in the table editor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once again! Tested the prefetching logic in table editor and also checking that the table def query doesnt error out with a foreign table!
* chore: aggressive prefetching * use abort signals in prefetchers * move encrypted columns to react-query * prefetching for filter and sort applied * prefetch remaining entity types * prefetch tables in more places * prefetch editor page on project panel * add feature flag * fix typescript * nit * Nit * fix imports * remove views check on encrypted schemas * use fetchQuery instead of prefetchQuery * fix useEncryptedColumnsQuery ts error * filter by schema on encrypted columns * don't use pg_get_tabledef for foreign tables * Remove unnecesary import --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
No description provided.