Commit Graph
2 Commits
Author SHA1 Message Date
Charis 205cbe7d26 chore(studio}: enforce import order, remove bare import specifiers (#44585) 2026-04-07 20:34:10 -04:00
Danny WhiteandJoshen Lim a261bafbe2 fix(studio): keep editor browser titles in sync after renames (#44154)
## 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>
2026-03-25 16:18:26 +08:00