Skip to content

Answer Needs you questions from keyed rows in the item panel - #49587

Merged
orca-remote-automation[bot] merged 11 commits into
mainfrom
orca-remote-automation/needs-you-card-rows
Nov 29, 2026
Merged

orca-remote-automation[bot] merged 11 commits into
mainfrom
orca-remote-automation/needs-you-card-rows

Conversation

@orca-remote-automation

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

Copy link
Copy Markdown
Contributor

ELI5

When a bot asks you a question in an item's side panel, you now answer it from a short list: press 1, 2 or 3, or type your own answer. Once answered, the question shrinks to one line.

Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​12 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​12
Prod 22 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​674 $\color{#cf222e}{\Huge{\mathbf{−}}}$​451 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​223

What Changed

One question

  • Header: avatar, name, time. The in-card Needs you tag is gone; the item's status already says it.
  • Context is cut to 2 lines (Show more opens it), then the question in bold.
  • One row per reply: key badge 1, 2… and the label on one line with an ellipsis. The recommended reply is row 1, with a right-aligned Suggested label (accent, text-xs) and a light accent tint. In a very narrow panel, Suggested moves under the label.
  • Last row: an inline Other… field with its own key; a ↵ badge shows once text is typed.
  • Keys answer while the item pane has focus and no text field does. Enter in an empty Other… picks the recommended reply; Enter with text sends it.
  • Answered, the card folds to Answered answer, which opens the whole comment again on click. There's no Undo, because an owner comment can't be retracted.
  • Removed: the stacked outlined pills, the star, and the separate Type your answer pill.

Several questions (steps)

  • Answered or picked questions fold to one muted row: an accent ✓, Label: answer (the answer wraps to 2 lines, then an ellipsis; the full text is in the title), and Change on hover or focus (always shown on touch).
  • Only the first open question shows, with the same keyed rows. Words typed in Other… are kept per question.
  • Footer: N of M answered on the left, Send on the right, enabled once one is answered. Send posts what's answered and leaves the rest as no answer. The card then folds to Sent N of M, and the item moves to In progress.
  • Change on a typed answer that carries images, files or skills puts it back in the comment box, so nothing it carries is lost.

Alignment: the key column, ✓ column, context and question start on the avatar's edge, which is the Activity rows' glyph edge. The right edge (time, Suggested, Change, Send) is the Activity rows' time edge.

Why

The old card stacked outlined pills, and a star marked the recommended one, so the question took a lot of room and had no keyboard path. The rows are denser, put the likely answer first and can be answered from the keyboard. Checked against how comparable products handle this.

Linked Issue

N/A (maintainer change, design approved by the owner)

Visual Proof

Recommended → Suggested, at AA contrast (the owner picked the short word over the long word and the star). The text is the accent mixed a fifth toward black in light and white in dark, away from any background, so it stays accent-toned, text-xs and right-aligned. Running app, head 924b038, real bot items in an isolated profile, red dashed guides on the avatar edge and the content right edge:

One question 300 px 340 px 220 px (minimum)
light
dark
Steps 300 px 340 px
light, 2 of 3 answered (200-char answer)
dark, 2 of 3 answered
dark, waiting

Contrast of Suggested, measured in the running app from computed colors composited over the row's tint and card (WCAG 2.x):

Before (plain accent) After
Light, idle 4.14 : 1 5.80 : 1
Light, hover 3.80 : 1 5.32 : 1
Dark, idle 4.37 : 1 5.57 : 1
Dark, hover 3.97 : 1 5.07 : 1

Before:

Alignment: the avatar, key column and context share one left edge (x=1425 at 300 px, 1385 at 340 px, 1505 at 220 px). Suggested ends on the content and time edge (x=1696). At 220 px it sits under the label. The earlier app screenshots below show the original word or the star.

Before / after (component render, dark):

Running app, isolated dev profile, real bot item. 220 px is the panel's minimum width. Red dashed guides mark the avatar/content left edge and the content right edge; magenta marks the key column.

One question, 220 px, light One question, 220 px, dark One question, 350 px, light 350 px, dark
Other… typed (↵) Other… at 220 px, dark Answered (folded) Answered, 220 px, guides
Steps before Steps: 2 of 3 answered (200-char answer) 220 px, dark, Change on hover, guides Sent 2 of 3

Final folded-steps rows (component render at 300 px; the multi-question app shots above were taken before the last layout change, which put "Label: answer" back on one wrapped line):

Steps, 200-char answer, light dark 2 of 4 answered, dark One question, long text, 300 px

Measured in the app at 220 px: feed row glyph, avatar, context, question, key badges and ✓ all at x=1505. Content right edge, time, Change and Send all at x=1696.

Testing

  • I manually tested these changes locally: macOS dev build with a throwaway bot in an isolated profile. Tested keys 1–3, Other… with Enter, Enter on empty, the 200-char answer, Change, partial Send, focus after folding, light and dark, and 220 / 350 px. The bot received each answer and the item moved to In progress.
  • Automated tests added/updated, or explained why not below: none added. This is UI layout and wiring, which the repo rules keep out of unit tests. The existing question-step and reply-target tests pass, and there are component fixtures for every state.
  • Every added test fails without this change and avoids the test anti-patterns (no tests added)

Performance

None, because the card renders only while an item is open. It adds one keydown listener on the open item's pane while a question waits, and no polling, IPC or disk work.

Risk

Level: Medium. This is the answer path for bot questions. If something goes wrong, users would see a question they can't answer from the card, but the comment box ("Replying to") still answers it. The data format and host protocol are unchanged, so older phones and servers are unaffected. A plain revert backs it out.

Review

Final head reviewed by both seats: aaadde11ee3.

  • Code review seat (gpt-6.2-sol, high effort, as reported by the seat): C1–C4, then scoped extension rounds C5–C8 on each fix commit. Findings were all P1 edge cases: held answers, Other… drafts, focus, failed sends, and the comment box hand-off. Each was fixed and verified in the next round. C8 on aaadde11ee3 found nothing.
  • Independent UX review seat (agy Gemini 4 Neon, medium effort, as reported by the seat): UX-I1–I8. Accepted findings are fixed: rows start on the avatar edge, Change takes no room at rest, the ✓ shares the key column, the label stays inline, no focus ring when an item opens, and Recommended sits on the baseline. Rejected, with reasons: the card's 8px bleed past the feed column (Orca's existing comment-card design, measured aligned) and 8px row padding (the card has 8px padding). UX-I7 and UX-I8 approve.
  • The running-app checks covered keys, Other…, folding, partial Send, the status change to In progress, and focus after folding. They used an isolated dev profile with a throwaway bot. The gateway token was passed through env only, and a grep of the profile found it in 0 files before the profile was deleted.

@orca-remote-automation
orca-remote-automation Bot marked this pull request as ready for review November 26, 2026 08:52
@orca-remote-automation
orca-remote-automation Bot force-pushed the orca-remote-automation/needs-you-card-rows branch 3 times, most recently from 8abb846 to 924b038 Compare November 28, 2026 08:01
… questions folding into steps

One-question asks show 2 lines of context, the bold question, keyed reply rows
(recommended first, with a Recommended label and a light tint) and an inline
Other… field; answered, the card folds to "Answered <answer>". Several
questions fold answered ones to "✓ Label: answer" with Change, show only the
first open one, and Send posts what is answered ("Sent N of M").

Checked against how comparable products handle this.
The word took a third of a narrow row; the accent star says the same and keeps
the option's label readable. Recommended stays in the row's title and for
screen readers.
… another one

- The comment box's Enter folds only the question it answered; a question
  reopened by Change stays open with its Other… revision.
- Change keeps words already being revised there instead of the held ones.
- Change focuses the question's own pick, so Enter keeps it.
…s the held words

Change prefills Other… from the held answer again, so a newer answer from the
comment box is what shows, and focuses that field when the pick is typed
words, so Enter keeps them.
The owner picked a short word over the star. A narrow pane moves it under the
option's label, so the label keeps the row.
The accent mixed a fifth toward the text color: 5.6:1 idle and 5.2:1 hovered
in light, 5.4:1 and 4.9:1 in dark (it was 4.1/3.8 and 4.4/4.0).
Mixing toward the theme's text color lowered contrast in a dark theme whose
text is darker than its link color; away from the background holds AA in any
theme. Built-in: 5.8:1 idle, 5.3:1 hovered (light); 5.6:1, 5.1:1 (dark).
@orca-remote-automation
orca-remote-automation Bot force-pushed the orca-remote-automation/needs-you-card-rows branch from 924b038 to 4bcca39 Compare November 29, 2026 01:14
@greptile-apps

greptile-apps Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The latest fix appears safe to merge; the remaining translation issue is non-blocking.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The latest fix appears safe to merge; the remaining translation issue is non-blocking.

Findings

  1. P2 Answer controls stay in English ▶

Summary

The PR replaces answer pills with numbered rows, an Other… field, and folded answer summaries.

  • Bot questions now offer numbered replies and a field for other answers.
  • Multi-question asks now show one question at a time and send chosen answers together.
  • Answered question cards fold into short summaries that can reopen.

Reviews (2) · Last reviewed commit: "fix(bots): Change holds the shown Other…..." · Reviewed by Greptile

Comment on lines +30893 to +30901
"other": "Other…",
"yourAnswer": "Your answer…",
"otherLabel": "Other answer",
"otherToBox": "Shift+Enter answers in the comment box, to attach files",
"sendOther": "Send answer",
"answered": "Answered",
"answeredCount": "{{count}} of {{total}} answered",
"sentCount": "Sent {{count}} of {{total}}",
"change": "Change",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Answer controls stay in English

Nine new labels exist only in English: other, yourAnswer, otherLabel, otherToBox, sendOther, answered, answeredCount, sentCount, and change. The other ten changed locale files add only suggested. Translate these keys too, so users do not get English fields, counts, and Change controls inside an otherwise translated card.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Main now posts the set when the last open line gets its answer. Change holds
the shown line's words first and then reopens the line it changes, so that
hold must not post: the changed line waits for its new answer.
@orca-remote-automation
orca-remote-automation Bot merged commit 6ff5c38 into main Nov 29, 2026
56 checks passed
orca-remote-automation Bot added a commit that referenced this pull request Nov 29, 2026
…ain (#52234)

#49587 removed the tag from the asking comment's header. Restore it for
both --ask questions and prose questions the item waits on.

Co-authored-by: orca-remote-automation[bot] <359726236+orca-remote-automation[bot]@users.noreply.github.com>
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