Skip to content

fix(ui): Prefer session label over displayName in dropdown - #3585

Closed
zarianl wants to merge 1 commit into
openclaw:mainfrom
zarianl:fix/session-dropdown-labels
Closed

zarianl wants to merge 1 commit into
openclaw:mainfrom
zarianl:fix/session-dropdown-labels

Conversation

@zarianl

@zarianl zarianl commented Jan 28, 2026

Copy link
Copy Markdown

When sessions have a label (like valet-pm, fsi-pm), show that instead of the cryptic session key or displayName.

Falls back to displayName if no label is set, then to key.

This makes the session dropdown much more user-friendly when working with labeled sub-agents.

When sessions have a label (like valet-pm, fsi-pm), show that instead
of the cryptic session key or displayName. Falls back to displayName
if no label is set, then to key.

This makes the session dropdown much more user-friendly when working
with labeled sub-agents.
@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Jan 28, 2026
@zarianl zarianl closed this Jan 28, 2026
@zarianl
zarianl deleted the fix/session-dropdown-labels branch January 28, 2026 22:09
supmo668 added a commit to Syntropy-Health/openclaw that referenced this pull request Jul 13, 2026
…tree from format:check (#63)

* mangyinm/cto: chore: oxfmt inherited main-branch format debt (14 non-sealed files) — unblocks PR #62 CI check

PR #62 (irc PHI fix) failed the repo-wide oxfmt --check on 16 pre-existing files it does NOT touch — inherited main format debt (oxfmt 0.33.0 version drift). Per CTO openclaw#3585: standalone mechanical oxfmt-only branch off main (7233d52), landed first as a chore so #62 greens clean. Purely mechanical (oxfmt --write, nothing hand-edited): import re-sorting (server-http/server-startup), markdown table alignment (SYN-206 contract + 7 qgr receipts), whitespace (5 test files). Zero logic change. SCOPE NOTE: 14 of the 16 drifted files. The other 2 live under the sealed-referee test tree, which the implementer agent is hook-blocked from touching (correct sealed-TDD discipline) — flagged to CTO separately as a process gap (repo-wide format check vs implementer sealed-tree block).

Generated-With: Claude Code
Co-Authored-By: cto <[email protected]>
Co-Authored-By: Claude <[email protected]>

* mangyinm/cto: chore: exempt the sealed-referee test tree from oxfmt (seal integrity outranks format conformity)

CTO ruling (option B, openclaw#3589): exempt the sealed test tree from oxfmt --check — doctrine. Sealed-referee artifacts are integrity-hash-locked; the sealed form IS the canonical form. A formatter version bump (oxfmt 0.33.0 drift) must never be able to demand churn on a tree the implementer agent is (correctly) hook-barred from touching. This is the only fix that prevents recurrence on every future oxfmt bump. Added the sealed glob to .oxfmtrc.jsonc ignorePatterns with an inline WHY comment. format:check now clean across the repo (4947 files; the 6 sealed artifacts excluded). Completes the #62 CI-check unblock: 14-file mechanical reformat (d1e6aa5) + this exclusion.

Generated-With: Claude Code
Co-Authored-By: cto <[email protected]>
Co-Authored-By: Claude <[email protected]>

* mangyinm/cto: chore: exempt the sealed tree from oxlint (same seal-integrity doctrine) + fix 2 curly errors in the referee runner

CTO openclaw#3592: the type-aware oxlint pass surfaced 6 inherited tool-drift errors — 4 inside the sealed-referee tree (template-expression + spread lints) and 2 curly errors in scripts/run-sealed-referee.mjs (non-sealed runner).

Applied the SAME doctrine consistently: the sealed tree is exempt from LINT for the same reason it's exempt from format — seal integrity outranks style conformity; a linter version bump must never demand churn on a hash-locked tree the implementer agent is (correctly) barred from touching. Added the sealed glob to .oxlintrc.json ignorePatterns with an inline JSONC WHY comment (matching the .oxfmtrc exemption).

The referee runner script is NOT sealed → fixed its 2 curly errors properly (added braces to the single-line if/else-if at the RESULT pass/fail logging). VERIFIED: pnpm lint (oxlint --type-aware) now clean — 0 warnings, 0 errors across 3213 files, config parses. Completes the #63 chore (format exemption + lint exemption + curly fix).

Generated-With: Claude Code
Co-Authored-By: cto <[email protected]>
Co-Authored-By: Claude <[email protected]>

* mangyinm/cto: chore: fix 5 pre-existing broken doc-links in identity-scoped-memory.md (extension source refs → inline-code)

CTO openclaw#3594 round 3: check-docs surfaced 5 broken relative links (identity-scoped-memory.md lines 621-625) — pre-existing, only ran because the chore reformatted md. The 5 targets (persist-user-identity/IDENTITY_CONTRACT.md, auth-memory-gate/README.md + MEMORY_SCOPE_CONTRACT.md, memory-graphiti/README.md, persist-postgres/openclaw.plugin.json) all EXIST in the repo but live OUTSIDE the published docs tree, so docs-link-audit.mjs (which resolves against DOCS_DIR) correctly reports 'relative file not found' — a relative link from a published doc can never reach the source tree.

FIX: converted the 5 broken relative links to INLINE-CODE path references (the established convention — docs/tools/plugin.md:648 already refs extension source this way, e.g. ). Preserves the exact path (reader finds it in the repo), audit-clean (not a link), no external-URL/branch brittleness. Did NOT create stub files (per your instruction). oxfmt re-aligned the table. VERIFIED: pnpm check:docs fully clean — format:docs (639 files), markdownlint (0 errors, 324 files), docs-link-audit (broken_links=0, 2781 checked); repo-wide format:check still clean.

Generated-With: Claude Code
Co-Authored-By: cto <[email protected]>
Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: cto <[email protected]>
Co-authored-by: Claude <[email protected]>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant