-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[HOLD for payment 2025-05-05] Cards - Adding a card & refreshing page displays learn more page briefly #60533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Triggered auto assignment to @VictoriaExpensify ( |
Triggered auto assignment to @arosiclair ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
💬 A slack conversation has been started in #expensify-open-source |
ProposalPlease re-state the problem that we are trying to solve in this issue.Adding a card & refreshing page displays learn more page briefly before updating to cards page. What is the root cause of that problem?This comes from #60261 They forgot to pass App/src/hooks/useCardFeeds.tsx Line 34 in b8b86db
So
So instead of displaying App/src/pages/workspace/companyCards/WorkspaceCompanyCardsPage.tsx Lines 144 to 150 in b8b86db
Empty state here will be displayed instead:
What changes do you think we should make in order to solve the problem?Pass App/src/hooks/useCardFeeds.tsx Line 35 in b8b86db
acc.isLoading = feed?.isLoading ?? !feed; What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)NA Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Looks like a new feature so I'll just demote this |
Yes, I agree it doesn't need to be a deploy blocker. @VickyStash mind taking a look? |
I'll take a look at it today! |
ProposalPlease re-state the problem that we are trying to solve in this issue.Adding a card & refreshing page displays learn more page briefly before updating to cards page. What is the root cause of that problem?Recently, we migated to use useCardFeeds, but we forget to pass isLoading to result of useCardFeeds What changes do you think we should make in order to solve the problem?In useCardFeeds hook, we need to ensure to return isLoading is true if there is at lease one feed has isLoading is true
And then adding isLoading to initial acc What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA What alternative solutions did you explore? (Optional)NA Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
@puneetlath One more issue I've found: |
The PR was opened for review. cc @DylanDylann |
Looks like the automation didn't work but this is ready for payment @VictoriaExpensify |
This issue has not been updated in over 15 days. @puneetlath, @VickyStash, @VictoriaExpensify eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: V9.1.30-0
Reproducible in staging?: Yes
Reproducible in production?: No
Email or phone of affected tester (no customers): Slottwo1 [email protected]
Issue reported by: Applause Internal Team
Device used: Redminote 10s android 13
App Component: Workspace Settings
Action Performed:
Expected Result:
Adding a card & refreshing page must not display learn more page briefly.
Actual Result:
Adding a card & refreshing page displays learn more page briefly before updating to cards page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6806886_1745036499692.Screenrecorder-2025-04-19-09-43-21-595.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @VictoriaExpensifyThe text was updated successfully, but these errors were encountered: