-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
feat(ForeignRowSelector): persist and retrieve sort preferences in select record modal #39261
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
feat(ForeignRowSelector): persist and retrieve sort preferences in select record modal #39261
Conversation
|
@tylerclark is attempting to deploy a commit to the Supabase Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Thanks for contributing to Supabase! ❤️ Our team will review your PR. A few tips for a smoother review process:
|
joshenlim
left a comment
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.
Verified changes on staging preview!
alaister
left a comment
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.
Thanks, Tyler!
I have read the CONTRIBUTING.md file.
YES
What kind of change does this PR introduce?
Supabase.mod.mp4
Enhancement to the “Select record” modal in Studio: persists the chosen sort field and sort order for the current browser session using sessionStorage.
What is the current behavior?
The modal does not remember sorting preferences. Each time you open it, you must reconfigure the sort field and order.
What is the new behavior?
The modal now remembers the last selected sort field and sort order across openings during the same browsing session. Preferences persist on page reloads within the session and reset when the session ends.