Skip to content

Show the chevron at rest on single workflow cards - #4895

Merged
brsbl merged 1 commit into
mainfrom
bb/single-workflow-caret
Oct 5, 2026
Merged

brsbl merged 1 commit into
mainfrom
bb/single-workflow-caret

Conversation

@brsbl

@brsbl brsbl commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

After #4890, banners without a +N count show their disclosure chevron only on hover. A single running workflow card has no count, so at rest nothing marked it as expandable, and on touch screens it never showed at all.

What changed

  • New PromptStackChevron in the shared-ui prompt-stack-disclosure registry item: the same trailing slot as the hover chevron (aligned with the Plan/Goal dismiss X), visible at rest, hidden while open.
  • ThreadWorkflowCard and the workflows plugin's WorkflowComposerCard use it, so a single workflow card (and each card in an expanded stack) shows the chevron at rest. Grouped banners keep the +N pill; other banners keep the hover-only chevron.
  • Registry output regenerated with build-registry.mjs.

How you verified

Before: 52da28609e (merge base) · After: f526eead4d · Captured at 2× in Chrome for Testing via Browser Automation, branch dev app, seeded thread with one running workflow

Screen / state Viewport Before After
One workflow / at rest Desktop · 1440×900 Before: no chevron at rest After: chevron at rest
One workflow / at rest Mobile · 390×844 Before: no chevron on touch After: chevron on touch
  • Measured the card's chevron opacity at rest: 0 before, 1 after, on both viewports.
  • ThreadWorkflowCard.test.tsx now asserts the chevron is present while closed and absent while open. Run in remote CI only.

BB-Thread: Collapse or stack elements

🤖 Generated with Claude Code

AGENT GENERATED

A single workflow card has no +N count, so its header shows the disclosure
chevron at rest (in the slot aligned with the Plan/Goal dismiss X) instead
of only on hover. Grouped banners keep the +N pill.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@brsbl
brsbl merged commit 5d31d8c into main Oct 5, 2026
34 checks passed
@brsbl
brsbl deleted the bb/single-workflow-caret branch October 5, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant