Skip to content

feat(ui): finish the chat session → thread rename across the Control UI - #110973

Merged
steipete merged 3 commits into
mainfrom
claude/thread-naming-sweep
Jul 18, 2026
Merged

steipete merged 3 commits into
mainfrom
claude/thread-naming-sweep

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

#110933 renamed chat sessions to "threads" on the creation surfaces only, leaving the rest of the Control UI split between the two names ("Threads" in the sidebar, "Sessions" as the page title, "All sessions", "Archive session", …). This finishes the sweep so one name covers the whole chat surface.

Why This Change Was Made

Mechanical, reversible values-only sweep (~250 lines, no key renames, no behavior):

  • Threads page (sessionsView.*): title "Threads", subtitle, filters, tooltips, empty states, select/archive/delete/rename/pin/move-to-group menus, checkpoint and transcript-search copy, settings nav entry + description.
  • Sidebar/chat chrome: "All threads", sort/menu labels, "Load more threads", session picker/search, model-lock labels, context-usage and compaction copy, diff/workspace-rail strings, split-view docs wording.
  • Other surfaces: welcome suggestion, palette command category, tools availability copy, usage stats, tasks "Open thread", skill-workshop history, board/dashboard chrome, workboard lifecycle/card strings, catalog view-only notices.
  • Prod literals: untitled fallbacks ("Main Thread", "iMessage Thread" for durable channel rows), slash-command feedback (/new, /reset, /usage, /export-session messages), create/reveal error toasts, workboard stale reason, catalog discovery error help.
  • Deliberately unchanged: "Session ID", session keys and every technical identifier, terminal sessions, gateway/protocol wording, i18n key names, historical release notes (an initial sweep of docs/releases/2026.7.1.md was reverted — those describe what shipped). Living docs (docs/web/control-ui.md) updated.

User Impact

Every user-visible chat surface now says "thread". Foreign locales reconcile via the post-merge locale bot as usual.

Veto candidates — strings where "thread" is debatable; each is a one-line revert:

  1. sessionsView.deletePreservedWorktrees(Confirm): "thread worktree(s)" — worktrees are work-unit-ish; "session worktree" may read better.
  2. usage.statLongestSession: "Longest thread" — measures wall-clock duration of one conversation.
  3. chat.settings.catalogOpenTarget: "Open Codex/Claude threads in" — these are external CLI harness sessions surfaced in the Coding zone.
  4. session-display fallbacks: "Main Thread" (identity-card main conversation) and " Thread" for durable pre-agent-scoped channel rows.
  5. sessionsView.sessionState filter label: "Thread state" (filters by lifecycle incl. gateway-ish states).

Evidence

  • node scripts/run-vitest.mjs green on: app-navigation (268 after fixing two expected-map literals), session-menu, session-display, workboard, chat-command-executor, chat-composer, chat-send, chat-page, dreaming, app-sidebar (124).
  • Keyless pnpm ui:i18n:baseline clean (entries=101, keys=3645); only en.ts touched, no foreign bundles.
  • oxfmt clean; autoreview (Codex, gpt-5.6-sol) clean, "patch is correct (0.98)".
  • Browser-lane tests (*.browser.test.ts) and the ui-e2e suites run in their own lanes; literals updated to match.

steipete added 2 commits July 18, 2026 14:38
Completes the #110933 creation-surface rename mechanically: Threads page
(title, filters, archive/delete/rename/pin menus, transcript search),
sidebar labels and menus, welcome suggestion, palette category, tools
availability copy, workboard lifecycle/card strings, dreaming history,
board/diff/workspace-rail chrome, and the untitled main/channel fallback
names. Technical identifiers stay: Session ID, session keys, terminal
sessions, protocol wording. Living docs updated (control-ui.md);
historical release notes left as shipped.
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: M maintainer Maintainer-authored PR labels Jul 18, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 21c7cef03b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread ui/src/i18n/locales/en.ts
title: "Sessions",
subtitle: "Active session keys and per-session overrides.",
"The thread's worktree has uncommitted or unpushed work, so it was kept ({branch}). Delete the checkout anyway?",
title: "Threads",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Badge Rename the remaining direct thread navigation labels

After this title becomes “Threads,” users still see “Sessions” in the command palette because ui/src/i18n/locales/en.ts:2866 feeds ui/src/components/command-palette.ts:45; session-owned rows on the adjacent Worktrees tab likewise still render “Session” via ui/src/i18n/locales/en.ts:449 and ui/src/pages/worktrees/worktrees-page.ts:535. These ordinary navigation paths therefore retain the exact split terminology this sweep is intended to eliminate.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Addressed in 2c4c576: palette navigation entry and the Worktrees owner column now say "Threads"/"Thread", plus the usage-stat cluster and tool-catalog group label, and the stale test literals CI flagged. Native app strings (iOS/Android/macOS) keep "session" wording for a coordinated follow-up in their own i18n pipelines.

…erals

Codex review caught the palette Threads entry and the Worktrees owner
column still saying Session; CI caught test literals asserting the old
copy (Threads page overview tile, filter tooltips, group counts, catalog
terminal notice, create-rejection error, workboard lifecycle hint). Also
completes the usage-stat cluster (Threads + hints) and the tool-catalog
group label. Native app strings (iOS/Android/macOS) keep session wording
and reconcile through their own i18n pipelines as a follow-up.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2c4c576960

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread ui/src/i18n/locales/en.ts
Comment on lines +3309 to +3310
sessions: "Threads",
sessionsHint: "Distinct threads in the range.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Badge Rename the rest of the Usage session surface

When the Usage page is loaded, this changed overview tile now says “Threads” via ui/src/pages/usage/view-overview.ts:825, while the same screen still renders “Session” filters and counts, “Sessions CSV,” and a “Sessions” ranking/details section from ui/src/i18n/locales/en.ts:3164-3165, ui/src/i18n/locales/en.ts:3218-3242, and ui/src/i18n/locales/en.ts:3341-3365. This leaves both terms on one page; rename those adjacent Usage keys as well, or retain “Sessions” here consistently if Usage intentionally exposes the technical session model.

Useful? React with 👍 / 👎.

@steipete
steipete merged commit bb7b2bc into main Jul 18, 2026
102 of 104 checks passed
@steipete
steipete deleted the claude/thread-naming-sweep branch July 18, 2026 22:15
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 19, 2026
…UI (openclaw#110973)

* feat(ui): finish the chat session → thread rename across the Control UI

Completes the openclaw#110933 creation-surface rename mechanically: Threads page
(title, filters, archive/delete/rename/pin menus, transcript search),
sidebar labels and menus, welcome suggestion, palette category, tools
availability copy, workboard lifecycle/card strings, dreaming history,
board/diff/workspace-rail chrome, and the untitled main/channel fallback
names. Technical identifiers stay: Session ID, session keys, terminal
sessions, protocol wording. Living docs updated (control-ui.md);
historical release notes left as shipped.

* style(ui): format session-management e2e

* fix(ui): finish thread rename in navigation labels and stale test literals

Codex review caught the palette Threads entry and the Worktrees owner
column still saying Session; CI caught test literals asserting the old
copy (Threads page overview tile, filter tooltips, group counts, catalog
terminal notice, create-rejection error, workboard lifecycle hint). Also
completes the usage-stat cluster (Threads + hints) and the tool-catalog
group label. Native app strings (iOS/Android/macOS) keep session wording
and reconcile through their own i18n pipelines as a follow-up.
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
…UI (openclaw#110973)

* feat(ui): finish the chat session → thread rename across the Control UI

Completes the openclaw#110933 creation-surface rename mechanically: Threads page
(title, filters, archive/delete/rename/pin menus, transcript search),
sidebar labels and menus, welcome suggestion, palette category, tools
availability copy, workboard lifecycle/card strings, dreaming history,
board/diff/workspace-rail chrome, and the untitled main/channel fallback
names. Technical identifiers stay: Session ID, session keys, terminal
sessions, protocol wording. Living docs updated (control-ui.md);
historical release notes left as shipped.

* style(ui): format session-management e2e

* fix(ui): finish thread rename in navigation labels and stale test literals

Codex review caught the palette Threads entry and the Worktrees owner
column still saying Session; CI caught test literals asserting the old
copy (Threads page overview tile, filter tooltips, group counts, catalog
terminal notice, create-rejection error, workboard lifecycle hint). Also
completes the usage-stat cluster (Threads + hints) and the tool-catalog
group label. Native app strings (iOS/Android/macOS) keep session wording
and reconcile through their own i18n pipelines as a follow-up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation maintainer Maintainer-authored PR size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant