Skip to content

fix(bots): mark a question's suggested reply with a star - #52236

Merged
orca-remote-automation[bot] merged 1 commit into
mainfrom
fix/question-suggested-star
Nov 29, 2026
Merged

orca-remote-automation[bot] merged 1 commit into
mainfrom
fix/question-suggested-star

Conversation

@orca-remote-automation

@orca-remote-automation orca-remote-automation Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

On a question's reply rows, the recommended reply no longer carries the word "Suggested". It shows a 14px filled star in the theme accent, right-aligned and flex-none. The star has a "Suggested" tooltip (title) and is announced as "Suggested" (role="img" + aria-label), so the button's name stays " Suggested". This is option A from the approved mockup.

The label now gets the whole row at every width. The narrow-pane rule that wrapped "Suggested" under the label (and made that row 43px tall below 18rem) is gone. The row stays at its existing min-h-9 (36px) height and 13px text, the same as the other rows.

Overlaps #52224. That PR restyles the "Suggested" text marker this PR removes, in the same lines. If this one lands, #52224 can close. Whichever lands second will conflict.

Checked against how comparable products handle this.

Edges, measured (CSS px, card at x=24)

Width Row L/R Key column Label L→R (before) Label L→R (after) Marker (before) Star (after) Row height before → after
220 28 / 224 32–50 60→220 (marker wraps below) 60→196 under label, x 60 206–220 43 → 36
300 28 / 304 32–50 60→300 (marker wraps below) 60→276 under label, x 60 286–300 43 → 36
380 28 / 384 32–50 60→309 60→356 319–380 366–380 36 → 36

The star's right edge (row right − 4) is the same edge the "Suggested" text sat on. It also matches the selected-reply check column. The star is vertically centered in the row (offset 0). The key column and the label's left edge don't move. Long labels truncate with an ellipsis in front of the star at every width.

Contrast (non-text, WCAG 1.4.11: 3:1)

The star is the plain accent (text-theme-accent), measured against the row's composited tint (accent 8% idle, 14% hover) over the card surface:

Theme Idle / hover
Built-in Light 4.13 / 3.80
Built-in Dark 4.37 / 4.00
Match Terminal: Ghostty Default Style Dark 3.28 / 3.03
Match Terminal: Dracula 3.38 / 3.12
Match Terminal: Solarized Dark 3.93 / 3.59
Match Terminal: Solarized Light 4.13 / 3.80

Every theme clears 3:1. The narrowest margin is the Ghostty default dark theme while hovered.

Screenshots (2x, rendered through the component fixture harness)

Short label, light / dark:

short-light
short-dark

Long label, light / dark (220 / 300 / 380px):

long-light
long-dark

Match Terminal themes (Ghostty Default Dark, Dracula, Solarized Dark, Solarized Light):

terminal-themes

Performance

This swaps one text span and its container-query wrapper for one inline SVG on one row per question. There are no new effects, listeners, state, or re-renders. The options list doesn't change, so there's no list-scale or scroll impact.

Verification

  • pnpm check:changed passes.
  • I took fixture screenshots and DOM measurements before and after, using a temporary fixture that wasn't committed.
Files Added Deleted Net
Test 0 0 0 0
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​12 $\color{#cf222e}{\Huge{\mathbf{−}}}$​12 0

@greptile-apps

greptile-apps Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge; no actionable defects were found.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable defects were found.

Summary

Replaces the recommended reply’s “Suggested” text with a filled star.

  • Recommended replies use a star instead of a “Suggested” label.

No actionable issues were found. Build checks and visual capture were not run; dependencies were unavailable.

Reviews (2) · Last reviewed commit: "fix(bots): mark a question's suggested r..." · Reviewed by Greptile

@orca-remote-automation
orca-remote-automation Bot merged commit db4c0e8 into main Nov 29, 2026
56 checks passed
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.

0 participants