Skip to content

Conversation

matlin
Copy link
Contributor

@matlin matlin commented Oct 1, 2025

I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Because local storage is used to store editor tab state, working across multiple browser tabs can lead to confusing behavior of loading tab state from the previously used tab when clicking around the UI.

What is the new behavior?

Now tab state is saved to both session storage (scoped to the individual browser tab) as well as local storage and then when reading defaults to session storage. For a new tab that doesn't have anything stored in it's session it will read from local storage which will reflect the most recent tab state.

Additional context

To test: open table editor in multiple browser tabs of the same browser and ensure that when clicking between tabs or other table links that the state is consistent to the individual tab and doesn't affect other tabs.

@matlin matlin requested a review from a team as a code owner October 1, 2025 15:43
@matlin matlin requested a deployment to Studio E2E Tests October 1, 2025 15:44 — with GitHub Actions Waiting
Copy link

supabase bot commented Oct 1, 2025

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

Copy link

vercel bot commented Oct 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
studio-self-hosted Ready Ready Preview Comment Oct 1, 2025 3:45pm
studio-staging Ready Ready Preview Comment Oct 1, 2025 3:45pm
6 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
cms Ignored Ignored Oct 1, 2025 3:45pm
studio Ignored Ignored Oct 1, 2025 3:45pm
design-system Skipped Skipped Oct 1, 2025 3:45pm
docs Skipped Skipped Oct 1, 2025 3:45pm
ui-library Skipped Skipped Oct 1, 2025 3:45pm
zone-www-dot-com Skipped Skipped Oct 1, 2025 3:45pm

@coveralls
Copy link

Coverage Status

coverage: 69.874%. remained the same
when pulling c1e5a72 on fix/multi-browser-tab-support-for-table-editor-tabs
into 3057faa on master.

Copy link
Contributor

@charislam charislam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested as described

@matlin matlin merged commit 1382d2d into master Oct 1, 2025
20 of 21 checks passed
@matlin matlin deleted the fix/multi-browser-tab-support-for-table-editor-tabs branch October 1, 2025 18:07
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.

3 participants