Skip to content

Commit 7c9fe21

Browse files
committed
feat(control-ui): rename sessions from the sidebar via the server label patch (#90655)
Adds an inline rename affordance to sidebar session rows. Renames go through the existing sessions.patch label path (patchSession), so the label is stored server-side and stays the single source of truth — the Sessions page, other browsers, and the gateway all see the same name. There is no client-only localStorage override. Details: - The rename button is a sibling of the session link, not nested inside the <a> (a button inside an anchor is invalid and ambiguous for keyboard/AT users). - Escape cancels the edit; a guard prevents the trailing blur from re-committing the canceled draft. - Empty input clears the custom label (patch label: null); patchSession refreshes the session list so the row re-renders from the server label. - The "Rename session" string is localized (sessionsView.rename) and i18n bundles are regenerated. Tests cover the server-patch commit, the button-not-nested-in-link markup, and the Escape-then-blur cancel path. Closes #90655
1 parent e32929e commit 7c9fe21

40 files changed

Lines changed: 382 additions & 90 deletions

‎ui/src/i18n/.i18n/ar.meta.json‎

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ui/src/i18n/.i18n/de.meta.json‎

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ui/src/i18n/.i18n/es.meta.json‎

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ui/src/i18n/.i18n/fa.meta.json‎

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ui/src/i18n/.i18n/fr.meta.json‎

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ui/src/i18n/.i18n/id.meta.json‎

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ui/src/i18n/.i18n/it.meta.json‎

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ui/src/i18n/.i18n/ja-JP.meta.json‎

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ui/src/i18n/.i18n/ko.meta.json‎

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ui/src/i18n/.i18n/nl.meta.json‎

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)