GeezerVison is showing github.com — fix(mobile): pull request badges show merged, closed and draft states by flamboh · Pull Request #20190 · pingdotgg/t3code
Conversation
flamboh
commented
Oct 16, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Note 🤖 Claude Opus 5.5 on behalf of Oliver
Important Stack 2 of 5. These branches live on a fork, so every PR targets main. Merge in order: #20189 → #20190 → #20192 → #20191 → #20394. This PR's own change is commit a9a627af30; earlier commits belong to the PRs below it.
Problem
Mobile draws the open pull request glyph for every PR state and only changes the colour, so a merged, closed or draft PR looks like an open one. Web uses a distinct glyph per state. This affects the thread list badge, the Git sheet's linked PR rows and the composer's PR suggestions. On Android, every composer PR suggestion showed a merge icon.
Change
Those three surfaces now take the glyph and tint from pullRequestStatus(), the same open / draft / closed / merged mapping the PR list and detail screens already use. Stacks keep the stack glyph, and a PR whose state hasn't synced yet keeps the generic glyph. SheetListRow gets an optional icon tint.
Scope and approval
A small, focused fix for an obvious inconsistency: mobile draws every state with the open glyph while web and mobile's own PR screens distinguish them. No new behavior.
Verification
iOS simulator (iPhone 18 Pro, iOS 27.0) against an isolated dev server seeded with threads linked to real PRs: merged #19538, closed #18943, draft #20187, open #19173, plus a stack.
| Before |
After |
 |
 |
vp run typecheck in apps/mobile passes; vp lint on changed files has no errors; existing pullRequestStatus, pullRequestActions, commandPaletteItems and use-composer-command-menu tests pass (66).
- The iPhone Duo was checked folded only; the simulator can't be unfolded from the command line.
- Android was not run (no Android SDK on the available device hosts). The change is shared code; Android resolves these names through the same
AppSymbol registry.
iPad and iPhone Duo
iPad Pro 13-inch (iOS 27.0) and iPhone Duo folded (iOS 27.1) simulators, captured on the top of the stack. Merged, closed, draft, open and stack badges keep their own glyphs in the iPad sidebar and on the folded Duo.
| iPad sidebar threads |
iPad Pulls tab |
Duo folded |
 |
 |
 |
Made with Claude Opus 5.5 in Claude Code (T3 Code).
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 16, 2026
Approvability
Verdict: Approved at a9a627a
Macroscope's review found this PR approvable — This is a focused mobile UI fix that reuses existing pull-request status mappings to distinguish merged, closed, draft, and open states across three display surfaces. The remaining changes centralize existing icon constants and add a scoped lint rule, with no API, deployment, security, or default-behavior impact.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Oct 16, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Note
Reviews paused
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
Use the following commands to manage reviews:
@coderabbitai resume to resume automatic reviews.
@coderabbitai review to trigger a single review.
Use the checkboxes below for quick actions:
- ▶️ Resume reviews
- 🔍 Trigger review
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
-
⚙️ Run configuration
-
- Configuration used: Path: .coderabbit.config.ts
- Review profile: CHILL
- Plan: Advanced
- Run ID:
fee9f07a-7a8b-4349-aa86-343869e4afce
📥 Commits
-
Reviewing files that changed from the base of the PR and between 4a6190dbd008c045deef2c750e2464e6c2559788 and a9a627a.
📒 Files selected for processing: 3
-
apps/mobile/src/features/home/ThreadListToolbar.tsx
apps/mobile/src/features/threads/thread-list-v2-items.tsx
vite.config.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
📝 Walkthrough
-
Mobile pull-request UI now uses shared glyph definitions. Some thread views select icons and tints from pull-request status. An Oxlint rule reports specified inline glyph literals in mobile source.
Changes: Mobile pull-request glyphs
| Layer / File(s) |
Summary |
Define pull-request glyphs and statuses apps/mobile/src/features/pull-requests/pullRequestGlyphs.ts, apps/mobile/src/features/pull-requests/pullRequestStatus.ts |
Added a typed mapping for pull-request glyphs. Status entries use the shared glyphs for open, merged, closed, and draft states. |
Use shared glyphs across mobile UI apps/mobile/src/features/keyboard/CommandPalette.tsx, apps/mobile/src/features/home/ThreadListToolbar.tsx, apps/mobile/src/features/pull-requests/*, apps/mobile/src/features/settings/SettingsServerControlsRouteScreen.tsx, apps/mobile/src/features/threads/*, apps/mobile/src/features/workspace/WorkspaceDock.tsx, apps/mobile/src/features/workspace/WorkspaceToolbar.tsx |
Mobile pull-request actions, rows, and navigation use shared glyphs. Selected thread views use status-derived icons and tints. |
Check mobile glyph literals oxlint-plugin-t3code/index.ts, oxlint-plugin-t3code/rules/no-mobile-pull-request-glyph-literals.*, vite.config.ts |
Added and registered an Oxlint rule for specified inline glyph literals. Tests cover matching and nonmatching cases. The mobile lint override enables the rule with listed exclusions. |
Priority: ➖ Normal
Estimated code review effort: 2 (Simple) | ~12 minutes
Change: Bug fix
Suggested reviewers: maria-rcks
Merge Risk: ⚪ Minimal · up to a9a62
-
Mobile pull-request badges gain state-specific glyphs. The reported tint difference predates this change, and linked draft rows retain their draft styling; no material merge risk is introduced.
### Architecture Summary
Architecture risk: 🔵 Low · up to 4a619
The change affects 3 systems.
Changed systems: vite.config.ts, apps/mobile, oxlint-plugin-t3code
Architecture concerns
No architecture-level concerns identified.
Review details
-
Systems and components
- observed — vite.config.ts (service) was modified; 1 changed file maps to changed impact.
- observed — apps/mobile (service) was modified; 17 changed files map to changed impact.
- observed — oxlint-plugin-t3code (service) was modified; 3 changed files map to changed impact.
Before / after behavior
- observed — Modified behavior in apps/mobile/src/features/keyboard/CommandPalette.tsx: Adds the
PullRequestGlyph import used by the review action icon.
- observed — Modified behavior in apps/mobile/src/features/keyboard/CommandPalette.tsx: The review action’s icon changes from the generic
"arrow.triangle.pull" symbol to PullRequestGlyph.pullRequest.
- observed — Modified behavior in apps/mobile/src/features/pull-requests/PullRequestListRow.tsx: Added the
PullRequestGlyph import.
- observed — Modified behavior in apps/mobile/src/features/pull-requests/PullRequestListRow.tsx: Stacked pull requests now use
PullRequestGlyph.stack instead of the literal "square.3.layers.3d" symbol name.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
| Title check |
 |
The title clearly and concisely describes the main mobile change: pull-request badges now show distinct merged, closed, and draft states. |
| Description check |
 |
The description includes all required sections, explains the problem and change, justifies the focused scope, documents verification results and limitations, includes UI screenshots, and identifies th… |
Full details: Description check
-
Explanation
The description includes all required sections, explains the problem and change, justifies the focused scope, documents verification results and limitations, includes UI screenshots, and identifies the agent used.
✨ Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Mobile draws icons from string symbol names, so the lucide import restriction
that keeps web on PullRequestGlyph cannot see them. Add PullRequestGlyph for
mobile and a t3code/no-mobile-pull-request-glyph-literals rule that rejects the
raw names everywhere else in apps/mobile/src. Call sites keep their icons.
The thread list badge, composer PR suggestions and the Git sheet's linked PR
rows always drew the open pull request glyph, so merged, closed and draft PRs
looked alike. They now pick the state glyph and tone from pullRequestStatus,
matching web. Android composer suggestions no longer show a merge icon for
every PR.
Note Grok responding on behalf of Julius.
Closing as landed: this PR's commit is part of the stack that was squash-merged to main with #20394 (commit 8fbc22c), so its changes are already on main. Thanks @flamboh!
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:L
100-499 changed lines (additions + deletions).
vouch:trusted
Author is trusted by repo permissions or the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|