Repository navigation
fix: drop the generic hint under the agent name on new sessions - #201187
Conversation
Agents with a description still show it under their name. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 90510898-561f-496f-9668-c264c0cdabe9
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesRemoves the generic welcome hint beneath an agent’s name when no description is configured. Example: Open New session for the Project briefing agent without a description.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is a small, visually proven UI refinement with maintainer-authored direction and no actionable findings; current main still shows the generic hint. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe new-session page owner supplies agent metadata and placement guidance to the welcome renderer, which displays the identity above the composer. flowchart TD
A[Agent metadata] --> B[New session page owner]
C[Placement and terminal context] --> B
B --> D[Draft welcome and hint]
D --> E[Chat welcome renderer]
E --> F[Identity and composer]
Technical reviewBest possible solution: Use the existing welcome owner’s empty fallback while preserving descriptions, required guidance, and the navigation subtitle. Do we have a high-confidence way to reproduce the issue? Current main’s fallback directly produces the reported text for an ordinary agent without a description, matching the supplied before screenshot. Is this the best way to solve the issue? The single return-value change is the smallest complete implementation of the approved visual preference and preserves the existing rendering owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 392506102468. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0, Tests -3. Total -3 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 18, 2026, 8:04 AM ET / 13:04 UTC. |
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: c56a5a1a-2556-454a-8c05-8adec41eb81d
|
Merged via squash.
|
…claw#201187) * fix: drop the generic hint under the agent name on new sessions Agents with a description still show it under their name. Co-authored-by: vyctorbrzezowski <[email protected]> * fix: drop the generic hint under the agent name on new sessions Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 90510898-561f-496f-9668-c264c0cdabe9 * chore: remove the unused new-session hint text Co-authored-by: vyctorbrzezowski <[email protected]> * Publish openclaw/fresh-crab-4 Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: c56a5a1a-2556-454a-8c05-8adec41eb81d --------- Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
A new session shows "Pick where this session works." under the agent name whenever the agent has no description. The line is generic filler: it doesn't describe the agent, and the device and workspace pickers right below the composer already say where the session works.
User Impact
User impact: the new-session welcome shows just the agent's avatar and name unless the agent (for example, a custom template agent) has its own description, which still appears under the name.
Why This Change Was Made
The welcome hint now falls back to nothing instead of the generic text. Agent descriptions from #197402, the native-terminal hint and the required-device hint are unchanged.
With the welcome no longer showing it, nothing displays the English
newSession.hintstring, so this PR removes it. The New session route kept it as a navigation subtitle, but no surface renders that route's subtitle (the command palette's New session item has no description, and settings search and page headers don't include the route), so the route now has no subtitle. Translated copies are left for the post-merge i18n sync, perui/AGENTS.md.Evidence
Default agent without a description, light theme, 1280×900 desktop viewport, mocked Gateway fixture. Before is current
main(c2ca162); after is this PR.Clean comparison
Before
After
Annotated comparison
Before
After
An agent with a description still shows it under its name:
ui/src/e2e/new-session-page.agent-welcome.e2e.test.ts) passes for the custom, recent and default welcome scenarios. The default scenario now asserts the generic hint is gone, and the custom scenario still shows the agent description.pnpm tsgo:ui,pnpm ui:i18n:verifyand the navigation and command-palette unit tests pass;pnpm ui:i18n:baselineproduced no baseline change.Worked on by
Work sessions
Linked for team reference; these sessions aren’t public.