Repository navigation
fix(mobile,web): settled threads show their PR in its state colour - #524
Merged
Merged
Conversation
iOS settled (slim) rows now draw the same coloured PR mark the thread cards do, between the title and the time. The desktop sidebar no longer mutes a settled row's PR badge until hover, so a merged PR reads purple at rest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Code quality review of af73358 No major structural issues. The change goes the right way on both surfaces:
Two small, optional notes. Neither blocks the PR:
Not approving: this was a review-only pass. |
NoahHendrickson
commented
Nov 26, 2026
NoahHendrickson
left a comment
Owner
Author
There was a problem hiding this comment.
Code review — af73358
No correctness issues found.
What I checked
- iOS slim row (
apps/mobile/fork/No3yThreadRow.tsx):prMarkis the card's former inlinePressablehoisted unchanged (same label,hitSlop,onLongPressswallow, 12/16 text style), so cards render identically.useThreadPr(thread)already runs for every variant, so the slim mark adds no fetch.OneLineTitleisflex: 1, so a long title truncates and the mark keeps its width beside the time label. The nestedPressabletakes the tap ahead of the row, the same way it already does on cards. Thechatvariant still draws no PR mark; that seems intended, since the PR only covers settled/snoozed rows. - Web sidebar (
Sidebar.tsx): removing thevariant === "slim" && variantAction === "unsettle"class leavesvariantActionstill used elsewhere. Thetheme.custom.cssnumber-ink rule (.text-secondary-label { color: inherit }) now applies on settled rows too, so the number follows the glyph's state colour at rest. The project favicon still mutes at rest. The PR badge no longer does, which matches the PR's intent. - Guard (
sidebarV2CardRows.test.ts): the newnot.toContain("not-group-hover/v2-row:not-group-focus-within/v2-row")matches the removed class string. Nothing else inSidebar.tsx, the theme CSS or.fork/customizations.yamlreferred to the removed mute.
Not verified here: I didn't run the guard test or typecheck locally (this review worktree has no installed deps), and I haven't checked either surface on a device or in the dev app. CI and a visual pass cover those.
🤖 Reviewed by Claude Opus 5.5 (claude-opus-5-5) via Claude Code
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.
Settled threads hid their PR state: on iOS the slim settled row drew no PR mark at all, and on desktop the sidebar greyed a settled row's PR badge until you hovered the row, so a merged PR never read purple at rest.
apps/mobile/fork/No3yThreadRow.tsx): the card's PR button is hoisted into a sharedprMarkand the slim row draws it between the title and the time, coloured by state (merged purple, open green, closed red, draft grey). Tapping it opens the PR, as on cards. The row already fetched its PR, so this adds no requests. Snoozed rows share the slim variant and get the mark too.apps/web/src/components/Sidebar.tsx): dropped the fork class that muted a settled slim row's badge at rest; upstream's badge colour now shows all the time. ThesidebarV2CardRowsguard now asserts the mute stays gone, and a staletheme.custom.csscomment is corrected.Checks:
vp run check:changed(format, lint, knip, typecheck, tests, browser tests, react compiler), design-lint, and the fork lint ratchet pass. Not yet checked on a device or in the dev app.Reviewed with neon-review: 1 round with Gemini 4 Neon (high) on the iOS change. Neon verdict: approved
🤖 Signed: Claude Opus 5.5 (
claude-opus-5-5) via Claude Code🤖 Gemini 4 Neon (
gemini-4-neon) via Antigravity: reviewed the iOS change, no findings🤖 Generated with Claude Code