Repository navigation
improve(ui): show suggested tasks as a compact row above the composer - #188245
Open
roboclaw-bot wants to merge 6 commits into
Open
roboclaw-bot wants to merge 6 commits into
roboclaw-bot wants to merge 6 commits into
Conversation
Suggested tasks move from the floating top-right card into the composer's context stack, next to queued messages and the progress card. The row keeps the title, repository, paging, copy, start menu, and dismiss; the summary, folder, and full instructions open on demand. The start action uses the same accent fill and ink as Send, so custom accents paint both identically. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 90a5aa6b-2cc2-42d2-9e7e-bd218498a441
Contributor
|
🦞👀 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. |
Contributor
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
Closed, a suggestion is one quiet row: an accent lightbulb, the title and repository, paging, a compact Start split button and dismiss. Open, it reads like the question panel: the full title, summary, and instructions with their folder and copy action, then a footer that carries the start action nearest the composer. A failed start keeps the card open with its error and recovery in the footer. Narrow stacks keep only the title, position and dismiss while closed; opening reveals paging and a full-width start action within thumb reach. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: ec889ecd-2810-4522-9749-a0411328d5bc
Closed, Start is accent text with no fill or outline. Open, it is the same small primary button the question panel submits with, sharing Send's fill. The lightbulb is muted so the action is the row's only accent. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 0abea012-6649-4abe-aee2-216dc58c6624
This was referenced Nov 4, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Suggested tasks open as a large card floating over the top-right of the transcript, separate from everything else that waits above the composer. Its start button also uses a darkened copy of the accent, so it doesn't match Send when a custom accent is set.
User Impact
User impact: a suggested task now lives in the stack directly above the composer, next to queued messages and the progress card.
1/2pager when there are several suggestions, a plain accent-text Start action with its options arrow, and dismiss.Requested by @vyctorbrzezowski.
Work sessions
Why This Change Was Made
--chat-stack-*geometry. The open card mirrors the question panel's header → content → action-footer order, so the primary action always lands nearest the composer. The card is bounded atmin(30rem, 62dvh), and only its content scrolls.btn btn--smwith transparent ground and accent text, so the row stays quiet; open it isbtn btn--sm primary, the question panel's Submit, with Send's hover step. The old lightness clamp and fixed white ink are removed, so a custom accent's computed ink applies to both.composer-task-suggestions.css, loaded by the lazy tray module. A newStartstring was added to the English catalog.Evidence
Screenshots were captured from the real bundle against a mocked Gateway with synthetic data. They'll be attached in a follow-up body edit.
chat-flow.task-suggestions.e2e+chat-startup-priority.e2e(13 tests, real bundle). The row renders inside.chat-footer__contextand is closed by default. Opening it shows the summary, folder, prompt and copy, and moves Start to the footer. The footer's Start and its options trigger match Send's rendered fill and ink at rest and on hover, with#da7756and#ffffffaccents. The menu opens above its trigger. Long summaries stay reachable, and copy and Start pass Playwright's trial-click hit check at 1280×720, 390×720 and 900×500. The draft is kept in all three start modes.chat-task-suggestions+chat-pane-task-suggestions(38 tests). These cover disclosure ARIA wiring, disclosure kept across paging, no opening while starting, a failure keeping the card open, the closed row's short label with its full accessible name, and Start moving from header to footer.tsgo:ui, oxlint, stylelint, oxfmt andui:i18n:verifyare clean.gpt-6.1-sol, P0–P2). On the first layout, the first pass found one P2, later fixed, and the second pass was scoped-clean. On the redesign commit the result was scoped-clean; the final weight-only refinement reran the suites above.Worked on by