orca/mobile/src/source-control
Brennan Benson c6d2180417
fix(mobile): keep source-control layout steady while Create PR eligibility loads (#11467)
* fix(mobile): keep source-control layout steady while Create PR eligibility loads

The Create PR entry unmounted until the first hostedReview.getCreationEligibility
answer arrived, so on a cold open the changed-files list painted first and then
shifted down 54pt (createPrBlock marginTop 12 + createPrButton minHeight 42)
when the button appeared — while the user was already tapping (#8411).

- buildMobileCreatePrAction: cold loading now reserves the row with a disabled
  placeholder instead of unmounting it.
- useMobileHostedReviewEligibility: a fetch-imminent idle frame renders as an
  in-flight load, so the reservation is present on the first painted frame.
- New per-worktree+branch memory of the last resolved eligibility seeds cold
  loads, so branches whose answer is hidden (existing review, unsupported
  provider) do not get a placeholder that collapses on every reopen.

Fixes #8411

* fix(mobile): harden source-control layout reservation

* fix(mobile): keep review status row footprint fixed

* fix(mobile): derive eligibility state from keyed snapshots
2026-07-31 15:35:56 -07:00
..
MobileBranchDiffPreviewDrawer.tsx
MobileCommitFailurePanel.tsx refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
MobileGitHistoryList.tsx Consolidate mobile source control into a single tabbed hub (#7923) 2026-07-09 19:23:36 -07:00
MobileSourceControlBranchCard.tsx the-sandbox-flag-is-2 (#8236) 2026-07-10 23:04:38 -07:00
MobileSourceControlContent.tsx the-sandbox-flag-is-2 (#8236) 2026-07-10 23:04:38 -07:00
MobileSourceControlCreatePrEntry.tsx fix(mobile): keep source-control layout steady while Create PR eligibility loads (#11467) 2026-07-31 15:35:56 -07:00
MobileSourceControlFileRows.tsx Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
MobileSourceControlHeader.tsx Consolidate mobile source control into a single tabbed hub (#7923) 2026-07-09 19:23:36 -07:00
MobileSourceControlModals.tsx
MobileSourceControlPanel.tsx refactor(comments): slim verbose comments in mobile (#9547) 2026-07-20 03:18:35 -07:00
MobileSourceControlPrChip.tsx Consolidate mobile source control into a single tabbed hub (#7923) 2026-07-09 19:23:36 -07:00
MobileSourceControlSegments.tsx Consolidate mobile source control into a single tabbed hub (#7923) 2026-07-09 19:23:36 -07:00
github-pr-link-parse.test.ts
github-pr-link-parse.ts
hosted-review-copy.test.ts
hosted-review-copy.ts
mobile-base-ref-search.test.ts
mobile-base-ref-search.ts
mobile-branch-base-ref.test.ts
mobile-branch-base-ref.ts
mobile-branch-compare.test.ts
mobile-branch-compare.ts
mobile-branch-entry-format.ts
mobile-commit-failure-recovery.test.ts refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
mobile-commit-failure-recovery.ts refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
mobile-commit-message-ai.test.ts
mobile-commit-message-ai.ts
mobile-create-pr-action.test.ts fix(mobile): keep source-control layout steady while Create PR eligibility loads (#11467) 2026-07-31 15:35:56 -07:00
mobile-create-pr-action.ts fix(mobile): keep source-control layout steady while Create PR eligibility loads (#11467) 2026-07-31 15:35:56 -07:00
mobile-diff-format.ts
mobile-git-history.test.ts
mobile-git-history.ts
mobile-git-status.test.ts Render png on mobile (#9087) 2026-07-16 18:21:08 -07:00
mobile-git-status.ts Render png on mobile (#9087) 2026-07-16 18:21:08 -07:00
mobile-history-screen-state.test.ts fix(mobile): surface disconnected source-control states + keep the mobile WS fallback port stable (STA-1511) (#7855) 2026-07-08 18:28:59 -07:00
mobile-history-screen-state.ts fix(mobile): surface disconnected source-control states + keep the mobile WS fallback port stable (STA-1511) (#7855) 2026-07-08 18:28:59 -07:00
mobile-hosted-review-create-intent-runner.test.ts Implement confirm-only PR panel composer with classified error blocking (#9428) 2026-07-19 16:32:36 -07:00
mobile-hosted-review-create-intent-runner.ts refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
mobile-hosted-review-create-intent.test.ts refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
mobile-hosted-review-create-intent.ts refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
mobile-hosted-review-git-preparation.ts refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
mobile-hosted-review-remote-prerequisite.ts refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
mobile-hosted-review-service.ts Implement confirm-only PR panel composer with classified error blocking (#9428) 2026-07-19 16:32:36 -07:00
mobile-open-pr-prefill.test.ts
mobile-open-pr-prefill.ts
mobile-pr-chip-summary.test.ts [P2] fix(mobile): put the PR sidebar and branch chip on the shared check classifier (#11815) 2026-07-31 14:03:35 -07:00
mobile-pr-chip-summary.ts [P2] fix(mobile): put the PR sidebar and branch chip on the shared check classifier (#11815) 2026-07-31 14:03:35 -07:00
mobile-pr-create-flow.test.ts
mobile-pr-create.test.ts Implement confirm-only PR panel composer with classified error blocking (#9428) 2026-07-19 16:32:36 -07:00
mobile-pr-create.ts Implement confirm-only PR panel composer with classified error blocking (#9428) 2026-07-19 16:32:36 -07:00
mobile-pr-link.test.ts
mobile-pr-link.ts
mobile-review-route.test.ts Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
mobile-review-route.ts Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
mobile-source-control-actions.test.ts The `--sandbox` flag (or terminal sandboxing) in Google Antigravity is a (#8017) 2026-07-09 22:01:22 -07:00
mobile-source-control-actions.ts The `--sandbox` flag (or terminal sandboxing) in Google Antigravity is a (#8017) 2026-07-09 22:01:22 -07:00
mobile-source-control-conflict-abort.test.ts Consolidate mobile source control into a single tabbed hub (#7923) 2026-07-09 19:23:36 -07:00
mobile-source-control-conflict-abort.ts Consolidate mobile source control into a single tabbed hub (#7923) 2026-07-09 19:23:36 -07:00
mobile-source-control-diff-styles.ts
mobile-source-control-hub-styles.ts The `--sandbox` flag (or terminal sandboxing) in Google Antigravity is a (#8017) 2026-07-09 22:01:22 -07:00
mobile-source-control-hub-tab.test.ts Consolidate mobile source control into a single tabbed hub (#7923) 2026-07-09 19:23:36 -07:00
mobile-source-control-hub-tab.ts The `--sandbox` flag (or terminal sandboxing) in Google Antigravity is a (#8017) 2026-07-09 22:01:22 -07:00
mobile-source-control-list-styles.ts Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
mobile-source-control-primary-action-decision.ts
mobile-source-control-primary-action.test.ts
mobile-source-control-primary-action.ts
mobile-source-control-screen-state.ts Render png on mobile (#9087) 2026-07-16 18:21:08 -07:00
mobile-source-control-styles.ts fix(mobile): keep source-control layout steady while Create PR eligibility loads (#11467) 2026-07-31 15:35:56 -07:00
pr-compose-validation.test.ts
pr-compose-validation.ts
use-mobile-commit-failure-recovery.ts refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
use-mobile-commit-message-generation.ts
use-mobile-create-pr-runner.ts refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
use-mobile-git-requests.ts
use-mobile-hosted-review-eligibility.test.ts fix(mobile): keep source-control layout steady while Create PR eligibility loads (#11467) 2026-07-31 15:35:56 -07:00
use-mobile-hosted-review-eligibility.ts fix(mobile): keep source-control layout steady while Create PR eligibility loads (#11467) 2026-07-31 15:35:56 -07:00
use-mobile-source-control-action-sheet-runners.ts
use-mobile-source-control-action-sheet.ts
use-mobile-source-control-commit-failure.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
use-mobile-source-control-commit-runners.ts refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
use-mobile-source-control-create-pr-action.ts fix(mobile): keep source-control layout steady while Create PR eligibility loads (#11467) 2026-07-31 15:35:56 -07:00
use-mobile-source-control-keyboard-lift.ts Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
use-mobile-source-control-loaders.ts the-sandbox-flag-is-2 (#8236) 2026-07-10 23:04:38 -07:00
use-mobile-source-control-openers.ts Render png on mobile (#9087) 2026-07-16 18:21:08 -07:00
use-mobile-source-control-runners.ts Consolidate mobile source control into a single tabbed hub (#7923) 2026-07-09 19:23:36 -07:00
use-mobile-source-control-state.ts fix(mobile): keep source-control layout steady while Create PR eligibility loads (#11467) 2026-07-31 15:35:56 -07:00