GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@flamboh flamboh commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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
Before: thread list, every PR badge uses the open glyph After: merged, closed and draft badges use their own glyphs
  • 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
iPad sidebar: merged, closed, draft, open and stack badges each use their own glyph iPad Pulls tab rows with open and draft state icons Folded iPhone Duo thread list with merged, closed, draft and open glyphs

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.

All reactions
This was referenced Oct 16, 2026
refactor(mobile): pick pull request glyphs from one module #20189
Closed
feat(mobile): open a thread's pull requests from its list badge #20191
Closed
feat(mobile): open pull requests with conflicts show a warning like web #20192
Closed
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Oct 16, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@flamboh
flamboh force-pushed the t3/mobile-pr-state-icons branch from 477d14a to fc43d38 Compare October 16, 2026 08:24
@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

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.

  • Last reviewed commit: a9a627a

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: Passed 4
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly and concisely describes the main mobile change: pull-request badges now show distinct merged, closed, and draft states.
Description check Passed 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)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@flamboh flamboh mentioned this pull request Oct 16, 2026
feat(mobile): link, unlink and watch a thread's pull requests from its sheet #20394
Merged
@flamboh
flamboh force-pushed the t3/mobile-pr-state-icons branch 2 times, most recently from e8fc003 to b66d29c Compare October 16, 2026 23:16
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 16, 2026
View reviewed changes
@flamboh
flamboh force-pushed the t3/mobile-pr-state-icons branch from b66d29c to c879d45 Compare October 16, 2026 23:20
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 16, 2026 23:21

Dismissing prior approval to re-evaluate c879d45

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 16, 2026
View reviewed changes
@flamboh
flamboh force-pushed the t3/mobile-pr-state-icons branch 2 times, most recently from 4a6190d to b5377a8 Compare October 18, 2026 06:27
flamboh added 2 commits October 18, 2026 06:31
@flamboh
refactor(mobile): pick pull request glyphs from one module
80d14c9
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.
@flamboh
fix(mobile): pull request badges show merged, closed and draft states
a9a627a
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.
@flamboh
flamboh force-pushed the t3/mobile-pr-state-icons branch from b5377a8 to a9a627a Compare October 18, 2026 06:32
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 18, 2026 06:32

Dismissing prior approval to re-evaluate a9a627a

macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 18, 2026
View reviewed changes
@juliusmarminge

juliusmarminge commented Oct 18, 2026

Copy link
Copy Markdown
Member

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!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

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.

Projects

None yet

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.

2 participants

@flamboh @juliusmarminge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.