Skip to content

fix(mobile): sweep the working shimmer like the web - #346

Merged
nixuuu merged 1 commit into
devfrom
fix/mobile-working-shimmer
Nov 7, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/mobile-working-shimmer

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 7, 2026

Copy link
Copy Markdown
Member

Mobile live status labels faded as a whole, so "Working for …" pulsed instead of showing the web's moving highlight. A shared LiveText now sweeps a soft band from left to right for work headers, tool groups, thinking labels and bot status rows.

The component uses clipped native text copies and Reanimated transforms on the UI thread. It matches the web's theme colours, 40/50/60% gradient stops on a 200% background, and linear 2-second cycle including the off-text pause. Shared motion tokens describe the sweep; web reads its unchanged duration through a named CSS token. Only the base text participates in layout and accessibility. Long labels retain one-line ellipsis. Reduced motion removes the highlight and cancels the loop, including live changes to the system setting. No native dependency or rebuild is required.

Fixes: #276

Verification:

  • bun install, bun run gen:check, bun run typecheck, bun run lint, bun run format:check, mobile typecheck and bunx expo lint.
  • bun run check:tmp: 1751 passed, 161 skipped, 0 failed; no temp leftovers.
  • Web production build; Expo Doctor (20/20), clean CNG prebuild and Android/iOS JS exports.
  • Android Medium Phone and Fold: isolated PostgreSQL + gateway + scripted worker with a running turn; recorded light/dark sweeps and static reduced-motion text. Also checked short, typical and truncated long labels, tool groups and thinking labels on a temporary manual screen, then removed that screen. Verified motion resumes after re-enabling animations, including after launching with reduced motion enabled.
  • Web browser comparison at desktop and phone widths in both themes: computed 2s/linear timing, 200% background and matching theme gradient stops. No automated UI tests added.

iOS limitation: the installed simulator app has a bundled JS build and did not load the current development bundle; native iOS rendering remains unverified. No Mac or store build was made.

Cleanup: stopped the isolated stack, web server, Metro and reverse tunnel; removed device forwards, pairing credentials and generated native output; closed device/browser sessions while preserving the existing AVDs.

Copy audit: no UI text changed.

@nixuuu
nixuuu merged commit 10a7f4c into dev Nov 7, 2026
10 checks passed
@nixuuu
nixuuu deleted the fix/mobile-working-shimmer branch November 7, 2026 16:57
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