mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 12:25:05 +03:00
## What kind of change does this PR introduce? Bug fix that resolves DEPR-414. ## What is the current behavior? Browser titles in the table/SQL editors can keep showing an old entity name after a rename. ## What is the new behavior? - `EditorBaseLayout` now prefers the live tab label when composing the browser title entity, so existing stale tab metadata no longer wins. - Updating a tab label now also syncs the persisted `metadata.name`, so renamed entities recover cleanly on reload instead of carrying stale names in local storage. - Adds a regression test covering the stale-metadata case in the editor layout. Co-authored-by: Joshen Lim <joshenlimek@gmail.com>