fix(mobile): animate pending pull request checks - #5875
Open
iscekic wants to merge 6 commits into
Open
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryIncremental changes (GitHub idle icon, tab-screen margin clearance, and tests) match existing mobile patterns with high confidence. Files Reviewed (4 files)
Previous Review Summary (commit a27ab3a)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit a27ab3a)Status: No Issues Found | Recommendation: Merge Executive SummaryPending PR check icons now use SpinningIcon with spinning gated on pending tone; the change matches existing motion patterns with high confidence. Files Reviewed (2 files)
Reviewed by grok-4.6 · Input: 51.4K · Output: 7.6K · Cached: 224.9K Review guidance: REVIEW.md from base branch |
iscekic
marked this pull request as draft
September 4, 2026 12:40
iscekic
marked this pull request as ready for review
September 5, 2026 02:16
iscekic
marked this pull request as draft
September 5, 2026 02:19
iscekic
marked this pull request as ready for review
September 5, 2026 02:28
iscekic
marked this pull request as draft
September 5, 2026 14:25
…ps-github-com-kilo-org-c06e/i18d2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changed
origin/maininto this branch (merge commit a3502ac; no rebase, no squash, no changes dropped) so CI can run.apps/mobile/src/components/pr-review/pr-review-checks-section.tsx: both sides made pending check icons spin — this PR viaSpinningIcon'sspinningprop, origin/main (fix(mobile): rotate pending PR check icons #5882) via a conditional render. Resolved to this PR's prop-driven form; it renders exactly what origin/main's conditional renders and uses the shared component's designed API.pr-review-checks-section.mounted.test.tsx: it pinned the conditional render (aSpinningIcononly on the two pending rows, plain tone icons otherwise). Reconciled to the merged implementation while pinning the same behavior — every row rendersSpinningIcon, pending rows spin withLoader2, finished rows (CheckCircle2/XCircle) carryspinning: false— so both test files pass against one implementation.apps/mobile/src/i18n/locales/*.jsonauto-merged cleanly with the union of keys kept (this PR changed no locale files; origin/main's key consolidation merged in; the code now usescommon.pullRequest).pnpm check:i18npasses on all 87 catalogs.Why
origin/main, which blocked CI.spinningAPI, so the resolution keeps both intents and both tests green.Changelog for users
Changelog for maintainers
apps/mobile/src/components/pr-review/pr-review-checks-section.tsx— both sides rewrote the check-row icon to spin while pending. Kept this PR's singleSpinningIconwithspinning={tone === 'pending'}; identical rendered behavior to origin/main's conditional, which it supersedes.apps/mobile/src/components/pr-review/pr-review-checks-section.mounted.test.tsx(origin/main's test) — its structure assertions pinned the conditional render; repointed at the merged implementation, keeping its full behavioral intent (pending rows rotate withLoader2, finished rows showCheckCircle2/XCircleand stay still).apps/mobile/src/i18n/locales/*.json— auto-merged, union of keys kept;pnpm check:i18ngreen on all 87 catalogs.Changes by area
Pull request checks
Pending checks use the shared spinning icon to match existing motion and reduced-motion behavior.
GitHub connection
The idle connection action uses the GitHub icon. The loading indicator remains visible during connection.
Tab screen layout
The scroll viewport reserves the tab bar gap without changing the caller's content layout.
E2E proof
[e1] Check icon motion — On iOS, e1-ios-check-icons.mp4 shows only the pending icon rotating.
e1-ios-check-icons.mp4.trim.mp4
[e2] Check row stability — On iOS, e2-ios-no-layout-shift.mp4 shows stable rows during rotation.
e2-ios-no-layout-shift.mp4.trim.mp4
Pre-existing UX defects observed (not changed here)