Skip to content

fix(ui): keep generated session titles editable - #129529

Merged
roboclaw-bot merged 1 commit into
mainfrom
openclaw/fix-editing-of-generated-text-fields
Aug 25, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
openclaw/fix-editing-of-generated-text-fields

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #124307
Regression from #125097

What Problem This Solves

Fixes an issue where users clicking an automatically generated dashboard session title would get an empty inline rename field instead of editable title text.

Why This Change Was Made

Inline rename now distinguishes generated dashboard title text from display-only channel/account decoration. It seeds dashboard displayName or transcript-derived titles into the editor, keeps account-qualified channel titles blank when no stored label exists, and does not persist an untouched generated title.

User Impact

Automatically generated session titles can be edited in place immediately. Existing protection against persisting account suffixes such as Alice · cards remains intact.

Evidence

  • Pre-fix browser regression: failed because the visible generated title produced an empty input.
  • Focused unit proof: node scripts/run-vitest.mjs ui/src/pages/chat/chat-pane.test.ts — 34 passed.
  • Built-bundle browser E2E: node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/session-management.account-label.e2e.test.ts — 4 passed.
  • Changed gate: pnpm check:changed — passed.
  • Production Control UI bundle: pnpm ui:build — passed.
  • Autoreview: Codex gpt-5.6-sol/high, no P0 or actionable findings (0.98 confidence).
  • Inspected before/after screenshots show the generated title visible before the click and selected inside the inline editor afterward.
  • Production LOC: +14/-9 (net +5). Tests: +44/-3. The small production growth carries the generated-title seed and unchanged-value guard while preserving the account-decoration boundary.
  • AI-assisted implementation; behavior, source path, tests, and rendered evidence were reviewed by the agent.

Visual proof

Before clicking the generated title:

Generated dashboard title before editing

After clicking, the generated title is selected inside the editor:

Generated dashboard title selected in the inline editor

@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review August 25, 2026 18:27
@roboclaw-bot
roboclaw-bot force-pushed the openclaw/fix-editing-of-generated-text-fields branch from 4336744 to fc06196 Compare August 25, 2026 22:07
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Aug 25, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Land-ready verification for fc0619601d00cd164b41b82e226b4fc61400d91b:

  • Behavior: an automatically generated dashboard title now opens preloaded and selected in the inline editor; account/channel presentation decoration remains display-only and still opens blank when no stored label exists.
  • Focused tests: node scripts/run-vitest.mjs ui/src/pages/chat/chat-pane.test.ts — 34 passed.
  • Browser E2E: node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/session-management.account-label.e2e.test.ts — 4 passed.
  • Changed gates/build: pnpm check:changed and pnpm ui:build — passed.
  • Fresh autoreview: .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main --stream-engine-output — no accepted/actionable findings, 0.98 confidence.
  • Exact-head CI: run 32904579942 — 68 passed, 17 skipped by scope, 0 failed.
  • Native prepare: OPENCLAW_TESTBOX=1 scripts/pr prepare-run 129529 — hosted CI/Testbox gates passed; prep head and PR head match exactly.
  • Visual proof: before/after screenshots in the PR body were inspected and show the generated title before the click and selected inside the editor afterward.
  • ClawSweeper exact-head review generation completed successfully; its public publisher has not emitted any rank-up moves.

Known proof gaps: none.

@roboclaw-bot
roboclaw-bot merged commit 648c607 into main Aug 25, 2026
116 checks passed
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

@roboclaw-bot
roboclaw-bot deleted the openclaw/fix-editing-of-generated-text-fields branch August 25, 2026 22:23
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 26, 2026
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 maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant