[CP Staging] Revert "Fix : Assign new cards - Assign new cards tab with infinite spinner"#85807
Conversation
|
@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] |
|
straight revert |
|
@cristipaval looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
There was a problem hiding this comment.
💡 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; |
There was a problem hiding this comment.
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 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.
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…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
|
🚧 @cristipaval has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
…299211354-1 🍒 Cherry pick PR #85807 to staging 🍒
|
🚀 Cherry-picked to staging by https://github.com/cristipaval in version: 9.3.40-10 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/cristipaval in version: 9.3.41-0 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.41-4 🚀
|
Reverts #85717 and #84313
$ #85693