Skip to content

[CP Staging] Revert "Fix : Assign new cards - Assign new cards tab with infinite spinner"#85807

Merged
cristipaval merged 2 commits intomainfrom
revert-85717-fix-spinner-assign-card
Mar 19, 2026
Merged

[CP Staging] Revert "Fix : Assign new cards - Assign new cards tab with infinite spinner"#85807
cristipaval merged 2 commits intomainfrom
revert-85717-fix-spinner-assign-card

Conversation

@carlosmiceli
Copy link
Contributor

@carlosmiceli carlosmiceli commented Mar 19, 2026

Reverts #85717 and #84313

$ #85693

@carlosmiceli carlosmiceli self-assigned this Mar 19, 2026
@carlosmiceli carlosmiceli marked this pull request as ready for review March 19, 2026 13:46
@carlosmiceli carlosmiceli requested review from a team as code owners March 19, 2026 13:46
@melvin-bot melvin-bot bot requested review from joekaufmanexpensify and puneetlath and removed request for a team March 19, 2026 13:46
@melvin-bot
Copy link

melvin-bot bot commented Mar 19, 2026

@puneetlath Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

cristipaval
cristipaval previously approved these changes Mar 19, 2026
@carlosmiceli carlosmiceli requested review from cristipaval and removed request for joekaufmanexpensify and puneetlath March 19, 2026 13:52
@cristipaval cristipaval changed the title Revert "Fix : Assign new cards - Assign new cards tab with infinite spinner" [CP Staging] Revert "Fix : Assign new cards - Assign new cards tab with infinite spinner" Mar 19, 2026
@cristipaval cristipaval added the CP Staging marks PRs that have been CP'd to staging label Mar 19, 2026
@cristipaval
Copy link
Contributor

straight revert

@cristipaval cristipaval merged commit beb1f88 into main Mar 19, 2026
33 of 41 checks passed
@cristipaval cristipaval deleted the revert-85717-fix-spinner-assign-card branch March 19, 2026 13:56
@melvin-bot melvin-bot bot added the Emergency label Mar 19, 2026
@melvin-bot
Copy link

melvin-bot bot commented Mar 19, 2026

@cristipaval looks like this was merged without a test passing. Please add a note explaining why this was done and remove the Emergency label if this is not an emergency.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 35b09975d6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

}
return !isFeedExpired && !isFeedConnectionBroken && (!!prevIsFeedExpired || refreshSuccessHandled);
}, [isRefreshConnectionFlow, feed, hasConnectionSource, shouldWaitForData, prevIsFeedExpired, isFeedExpired, isFeedConnectionBroken, refreshSuccessHandled]);
return !!prevIsFeedExpired && !isFeedExpired && !isFeedConnectionBroken;

Choose a reason for hiding this comment

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

P1 Badge Preserve completion for already-unexpired refresh feeds

This change makes isRefreshComplete depend entirely on prevIsFeedExpired, so refresh flows that render with an already-unexpired feed never reach completion. In the assign-new-cards refresh path (RefreshCardFeedConnectionPage), that means isRefreshComplete can remain false indefinitely and the native BankConnection screen keeps showing the loading indicator after connection completion instead of the success state. Please keep a completion path for the already-unexpired case rather than requiring an expired→unexpired transition.

Useful? React with 👍 / 👎.

@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.

Files with missing lines Coverage Δ
src/ROUTES.ts 15.93% <ø> (-0.08%) ⬇️
src/SCREENS.ts 100.00% <ø> (ø)
...gation/AppNavigator/ModalStackNavigators/index.tsx 7.31% <ø> (+<0.01%) ⬆️
src/libs/Navigation/linkingConfig/config.ts 75.00% <ø> (ø)
...pace/companyCards/BrokenCardFeedConnectionPage.tsx 0.00% <ø> (ø)
src/pages/workspace/withPolicy.tsx 100.00% <ø> (ø)
...companyCards/WorkspaceCompanyCardsSettingsPage.tsx 0.00% <0.00%> (ø)
...s/workspace/companyCards/addNew/AddNewCardPage.tsx 0.00% <0.00%> (ø)
...kspace/companyCards/addNew/PlaidConnectionStep.tsx 0.00% <0.00%> (ø)
...space/companyCards/BankConnection/index.native.tsx 0.00% <0.00%> (ø)
... and 1 more
... and 20 files with indirect coverage changes

@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

cristipaval added a commit that referenced this pull request Mar 19, 2026
…ign-card

[CP Staging] Revert "Fix : Assign new cards - Assign new cards tab with infinite spinner"

(cherry picked from commit beb1f88)

(cherry-picked to staging by cristipaval)

Made-with: Cursor
@github-actions
Copy link
Contributor

🚧 @cristipaval has triggered a test Expensify/App build. You can view the workflow run here.

@github-actions
Copy link
Contributor

🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
Built from App PR #85807.

Android 🤖 iOS 🍎
❌ FAILED ❌ https://ad-hoc-expensify-cash.s3.us-east-1.amazonaws.com/rock-artifacts/ad-hoc/rock-ios-device-AdHoc-beb1f88-d3345e3-6d74a85387ab550dc3a2f4d86c2010cd50190795/index.html
The QR code can't be generated, because the Android build failed iOS
Web 🕸️
https://85807.pr-testing.expensify.com
Web

👀 View the workflow run that generated this build 👀

carlosmiceli added a commit that referenced this pull request Mar 19, 2026
…299211354-1

🍒 Cherry pick PR #85807 to staging 🍒
@OSBotify
Copy link
Contributor

🚀 Cherry-picked to staging by https://github.com/cristipaval in version: 9.3.40-10 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

@OSBotify
Copy link
Contributor

🚀 Cherry-picked to staging by https://github.com/cristipaval in version: 9.3.41-0 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

Bundle Size Analysis (Sentry):

@OSBotify
Copy link
Contributor

🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.41-4 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CP Staging marks PRs that have been CP'd to staging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants