Expose mobile PR indicator labels to accessibility#3828
Conversation
- Add shared PR presentation for compact #number labels - Render PR state icons with theme-aware colors Co-authored-by: codex <codex@users.noreply.github.com>
- Add accessible change request labels that say merge request for GitLab - Keep compact thread list labels as PR numbers
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Co-authored-by: codex <codex@users.noreply.github.com>
ApprovabilityVerdict: Needs human review 1 blocking correctness issue found. An unresolved review comment flags that the branch indicator icon ( You can customize Macroscope's approvability policy. Learn more. |
Co-authored-by: codex <codex@users.noreply.github.com>
| tintColor={compact ? iconSubtleColor : effectiveMuted} | ||
| type="monochrome" | ||
| /> | ||
| <Text |
There was a problem hiding this comment.
🟡 Medium threads/thread-list-items.tsx:497
The branch indicator icon (arrow.triangle.branch SymbolView) was removed from the subtitle row, so every thread row that shows branch/environment metadata no longer renders the branch icon. This is a user-visible regression affecting both compact and sidebar thread lists. If removing the icon was intentional, consider documenting the rationale; otherwise, restore the SymbolView before the subtitle text.
| <Text | |
| <> | |
| <SymbolView | |
| name="arrow.triangle.branch" | |
| size={10} | |
| tintColor={compact ? iconSubtleColor : undefined} | |
| type="monochrome" | |
| /> | |
| <Text |
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file @apps/mobile/src/features/threads/thread-list-items.tsx around line 497:
The branch indicator icon (`arrow.triangle.branch` `SymbolView`) was removed from the subtitle row, so every thread row that shows branch/environment metadata no longer renders the branch icon. This is a user-visible regression affecting both compact and sidebar thread lists. If removing the icon was intentional, consider documenting the rationale; otherwise, restore the `SymbolView` before the subtitle text.
… + desktop packaging) Merge upstream/main into the fork. Notable upstream changes: Clerk stack upgrade (pingdotgg#3821), mobile offline persistence + preferences refactor (pingdotgg#3795), mobile PR number badges + a11y (pingdotgg#3827, pingdotgg#3828), font embedding (pingdotgg#3823), worktree metadata preservation during branch sync (pingdotgg#3822), codex reasoning labels (pingdotgg#3824), desktop native optional dependency packaging (pingdotgg#3816). Preserved fork features across conflicts: iOS personal-team build support, Material3 dynamic accent theming, verbose work-log, mobile visible queue, MarkdownCodeBlock, native Android composer/header layout, and the fork's asar:false + afterPack/afterSign node_modules copy hooks for desktop packaging. Lockfile regenerated on pnpm 11 (upstream lock as base).
Summary
Testing
Note
Low Risk
UI and accessibility-only changes in mobile thread list presentation with updated unit tests; no auth, data, or API impact.
Overview
Thread list rows now announce pull request context to screen readers by setting the row
accessibilityLabeltothread titleplus the existing provider-aware PR label (e.g.#3774 pull request merged), instead of only the title.Visual tweaks: the branch
SymbolViewis removed from the subtitle row, and the on-screen PR number drops the#prefix (3774vs#3774) whileaccessibilityLabelstill includes#and GitLab merge-request wording. Unused muted-color styling tied to the branch icon is cleaned up, and the PR subtitle container no longer carries its ownaccessibilityLabel.Reviewed by Cursor Bugbot for commit d0d1129. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Expose PR indicator labels to accessibility in mobile thread list rows
ThreadListRowaccessible name now includes PR info (title +pr.accessibilityLabel) when a PR is present, instead of just the thread title.SymbolViewicon preceding the subtitle text is removed from the thread list row.presentThreadPrlabel is changed from#${pr.number}toString(pr.number), dropping the leading#from the compact PR label. Tests are updated to match.ThreadPrPresentation.label(e.g. displayed PR badges) will no longer show a#prefix on the PR number.Macroscope summarized d0d1129.