Repository navigation
Commit 7c9fe21
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 #906551 parent e32929e commit 7c9fe21
40 files changed
Lines changed: 382 additions & 90 deletions
File tree
- ui/src
- i18n
- .i18n
- locales
- styles
- ui
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments