Skip to content

fix(mobile): match the web and desktop thread sidebar - #1246

Merged
nixuuu merged 1 commit into
devfrom
fix/mobile-sidebar-parity
Nov 24, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/mobile-sidebar-parity

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 24, 2026

Copy link
Copy Markdown
Member

Changes

  • Match the web and desktop Working and Snoozed disclosures on iOS and Android, including the leading chevrons, parenthesized counts, separators, and coordinated expansion. Keep 44 dp touch targets and an explicit disclosure for side threads.
  • Show the working count on the module switch and the full working status in thread rows. Dim snoozed titles and project marks at rest, and restore their emphasis on selection or interaction.
  • Align the thread list density and toolbar with the shared renderer, including the Add project action and trailing Archived chevron.

Related: #1232

Verification

  • Compared the native sidebar with the shared web renderer in Chromium. Checked light and dark themes, a 440 × 956 dp phone layout, and docked sidebars at 295 and 260 dp on Android API 36.
  • Exercised rapid toggling, reduced motion, searching and clearing Snoozed, opening Add project, selecting a snoozed thread in split view, and waking a thread. Confirmed that waking it updated the section count from 3 to 2.
  • Ran the mobile TypeScript check, lint and formatting on the edited files, and git diff --check. Native iOS verification remains open. GitHub Actions runs the full gate.

Copy audit

  • Search → Search threads to name the scope. Snoozed · 3 → Snoozed (3) to match Working and the shared renderer. Reused Snoozed, Working 10m, and Add project from the existing UI.
  • Checked short and long titles and branch names at phone and docked widths. The working count stays in the accessible label even when the narrow sidebar shows only the spinner.

Match the sidebar disclosure, working indicators, and snoozed row states on iOS and Android.

Related: #1232
@nixuuu
nixuuu enabled auto-merge (squash) November 24, 2026 18:29
@nixuuu
nixuuu merged commit 4f25c6c into dev Nov 24, 2026
11 checks passed
@nixuuu
nixuuu deleted the fix/mobile-sidebar-parity branch November 24, 2026 18:32
nixuuu added a commit that referenced this pull request Nov 26, 2026
## Changes

- Update the thread list in one layout pass when Working or Snoozed
expands or collapses. Keep the rows virtualized and mount side threads
at their natural height with a short fade on manual open.
- On iOS, adjust the scroll offset relative to the tapped timeline
header in the Fabric mount transaction that changes the fold height.
Preserve that anchor when the same fold is rapidly reversed.
- Build React Native from source on iOS so the scroll view change is
included. The timeline fix requires a new iOS build.

## Verification

- On an Android emulator, opened and closed Working, Snoozed and side
threads. Verified five rapid Snoozed toggles and checked that clearing
search restores the saved section state.
- Mobile typecheck, lint and formatting for edited files, `git diff
--check`, and the three mobile disclosure anchor tests passed locally.
- Expo iOS prebuild generated the source-build setting. A native iOS
build and frame-by-frame verification on an iPhone or simulator remain
pending. GitHub Actions runs the full repository gate.

Fixes: #1246
Related: #730
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