-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Due for payment 2025-03-17] [$400] Cards - In company cards settings page, on refresh entered details are not shown #56746
Comments
Triggered auto assignment to @mallenexpensify ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-02-12 10:12:09 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.In company cards settings page, on refresh entered details are not shown What is the root cause of that problem?We do not have
Which causes the selectedFeed to the undefined and we do not get the values
What changes do you think we should make in order to solve the problem?We need to add What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?This is just a dependency addition and i don't think that we need a test for this, the values are not fetched on the update in onyx, so i think we can skip test for this issue What alternative solutions did you explore? (Optional) |
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Company card settings page shows empty name after refresh. What is the root cause of that problem?The card data is intentionally memoized once only. App/src/pages/workspace/companyCards/WorkspaceCompanyCardsSettingsPage.tsx Lines 42 to 44 in 5ddef34
However, after refresh, the onyx data is still loading, so the data is undefined. What changes do you think we should make in order to solve the problem?Add loading state to the memo deps.
We can show loading indicator when it's loading if needed. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A |
Job added to Upwork: https://www.upwork.com/jobs/~021890532491432510986 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @brunovjk ( |
@brunovjk 👀 plz on the proposals above. Thx |
Sure! Im on it :D |
🚨 Edited by proposal-police: This proposal was edited at 2025-02-18 02:31:42 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.In company cards settings page, on refresh entered details are not shown but displayed in preview and while revisiting the page. What is the root cause of that problem?After we refresh the page, both App/src/pages/workspace/companyCards/WorkspaceCompanyCardsSettingsPage.tsx Lines 41 to 44 in fbcd7dd
What changes do you think we should make in order to solve the problem?Add the loading status of
App/src/pages/workspace/companyCards/WorkspaceCompanyCardsSettingsPage.tsx Lines 41 to 44 in fbcd7dd
The reason we need to add both of them is when we reset cache or login again, Line 401 in fbcd7dd
OPTIONAL: We can show the loading page while the feed data is still loading To fix the deeplink case, I think we need to use
and also add
App/src/pages/workspace/companyCards/WorkspaceCompanyCardsSettingsPage.tsx Lines 41 to 44 in fbcd7dd
We can add only the
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)We can add App/src/pages/workspace/companyCards/WorkspaceCompanyCardsSettingsPage.tsx Lines 41 to 44 in fbcd7dd
And to fix the minor issue here, we can delay the API call instead of delaying the navigation logic because the problem of the minor issue is
App/src/pages/workspace/companyCards/WorkspaceCompanyCardsSettingsPage.tsx Lines 55 to 65 in 1eb00b0
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. |
ProposalPlease re-state the problem that we are trying to solve in this issue.In company cards settings page, on refresh entered details are not shown What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?To resolve this issue, we just remove
const selectedFeed = getSelectedFeed(lastSelectedFeed, cardFeeds); Ran the pipeline to test ESLint and saw that it passed, so we don’t add useMemo here." 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)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. |
Reviewing proposals. |
Current assignee @brunovjk is eligible for the External assigner, not assigning anyone new. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thanks @nkdengineer, I believe we can go with your proposal then, what do you think @danieldoglas? thanks a lot. 🎀👀🎀 C+ reviewed |
Current assignee @danieldoglas is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @brunovjk 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Assigned nkdengineer. Adjusting the issue price. |
Upwork job price has been updated to $400 |
@VickyStash We're using
|
@nkdengineer I see that there were some updates lately with removing |
You let me know when it's ready for review @nkdengineer? Thanks. |
@brunovjk It's ready for review. |
Great, thanks. I'll finish reviewing another PR and get back here tomorrow at the latest. |
Update: Reviewing |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.10-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-03-17. 🎊 For reference, here are some details about the assignees on this issue:
|
@brunovjk @mallenexpensify @brunovjk The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: V9.0.97-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
Issue reported by: Applause Internal Team
Device used: Redmi note 10s android 13
App Component: Workspace Settings
Action Performed:
Expected Result:
In company cards settings page, on refresh entered details are not shown similarly it must not be displayed in preview and while revisiting the page.
Actual Result:
In company cards settings page, on refresh entered details are not shown but displayed in preview and while revisiting the page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6740346_1739345791710.Screenrecorder-2025-02-12-12-55-05-817.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @mallenexpensifyThe text was updated successfully, but these errors were encountered: