Skip to content

Match mobile unread divider to web styling - #2033

Merged
SawyerHood merged 1 commit into
mainfrom
bb/match-new-yellow-styling-thr_ney273r5r3
Aug 20, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
bb/match-new-yellow-styling-thr_ney273r5r3

Conversation

@SawyerHood

Copy link
Copy Markdown
Collaborator

What was wrong

The iOS unread divider used the attention token (yellow), a centered label, and two rules. The web app uses timeline-accent (blue), a left label, and one rule. The two apps did not match.

What changed

apps/mobile/src/screens/thread/timeline/TimelineList.tsx: the divider now uses text-timeline-accent / bg-timeline-accent, an uppercase medium-weight "New" label on the left, and one rule on the right. This matches UnreadDivider in apps/app/src/components/thread/timeline/ThreadTimelineRows.tsx.

How you verified

pnpm exec turbo run typecheck --filter=@bb/mobile passes. Visual change only; no new tests.

AGENT GENERATED: by Claude Opus 5

Use the timeline-accent token, the left-aligned label, and one trailing rule like the web app.

Co-Authored-By: Claude <noreply@anthropic.com>
@bb-slop-cop

bb-slop-cop Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

🚨 SLOP COP 🚨 · review

I am the SlopCop. I am reviewing this pull request for security, code quality, performance, architecture, and end-to-end behavior.

@SawyerHood
SawyerHood merged commit c4a3dc5 into main Aug 20, 2026
13 checks passed
@SawyerHood
SawyerHood deleted the bb/match-new-yellow-styling-thr_ney273r5r3 branch August 20, 2026 14:33

@bb-slop-cop bb-slop-cop Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚨 SLOP COP 🚨 · review

Correction: A shell error created this duplicate review. Please use the complete review below. The complete review found no defects.

@bb-slop-cop bb-slop-cop Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚨 SLOP COP 🚨 · review

Plain English summary: This change makes the mobile New divider match the web divider. It moves the label left and uses the timeline accent color.

I found no defects.

  • Security: The change uses static text and static theme classes. It adds no input, network, storage, permission, or execution path.
  • Code quality: The mobile text and theme contracts support each new class. The result matches the web label, weight, case, spacing, color, and single rule.
  • Architecture: The web and mobile components use different platform elements and list systems. A shared component would add complexity. The shared theme token already provides the useful common contract.
  • Performance: The change removes one native View. It does not change list keys, callbacks, scroll work, or memoization.
  • Validation: The exact head passed the Turbo mobile type check. All 813 mobile tests passed. Git diff checks and all required GitHub checks passed.

I could not use a browser for the visual check because this row runs in the native React Native app. The optional iOS simulator job did not run. This leaves a small visual test gap, but I found no code risk.

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.

1 participant