-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2024-08-09] [$250] Categorizing - Page blinks after selecting a category during categorization #46063
Comments
Triggered auto assignment to @roryabraham ( |
👋 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:
|
We think that this bug might be related to #vip-vsp |
The flicker is barely noticeable, not sure it's worth blocking on this. There's also this open issue about the chat view flickering - not sure it's related but could be. |
Job added to Upwork: https://www.upwork.com/jobs/~01f0f7b8664b135266 |
Triggered auto assignment to @jliexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The page blinks when selecting category in categorize track expense flow. What is the root cause of that problem?When we don't have a workspace and trying to categorize an expense, it will open a category page first. Selecting a category will:
App/src/pages/iou/request/step/IOURequestStepCategory.tsx Lines 147 to 151 in 2bb1d00
We go back to close the category selector page. But because the category page is last RHP page at the moment, going back means closing the RHP modal. Then, it's followed by a navigation to a confirmation page, which is an RHP too, so both RHP overlay "conflicting" each other. What changes do you think we should make in order to solve the problem?When the category page is the only route in the navigator, instead of performing a go back and navigate action, we can just replace it with a REPLACE action, which will replace the category page with the confirmation page.
Using OR We can use To make it reusable, we can create a new function in
|
@bernhardoj Thanks for the proposal.
Is it possible to explore a holistic approach? So that we can optimize this typical issue app wide. Maybe we can do some improvements for the navigation manager, wdyt? |
Hmm, can you explain more in what thing should we improve? There is 2 navigation action happen in this issue, are you suggesting that if there is a 'back' action followed by a 'navigate' action, then the navigation manager should convert them to 'replace' automatically instead of the developer needs to do it? |
I think so. Does it make sense to you? |
@eh2077 My proposal has the holistic approach you're looking for! ProposalPlease re-state the problem that we are trying to solve in this issue.Page blinks after selecting a category during categorization What is the root cause of that problem?When we go back and navigate here App/src/pages/iou/request/step/IOURequestStepCategory.tsx Lines 147 to 151 in 2bb1d00
What changes do you think we should make in order to solve the problem?Create a method
Similar approach to search for a screen in RHN is used here. Please note in case the route being replaced is not the only one in RHN, we must still use Then we can replace App/src/pages/iou/request/step/IOURequestStepCategory.tsx Lines 148 to 149 in 2bb1d00
The What alternative solutions did you explore? (Optional)Some enhancements to the above check:
|
Updated proposal for more details |
Current assignee @roryabraham is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
My 2 cents:
@eh2077 Just to clarify @bernhardoj 's initial proposal causes regressions (the updated proposal has similar approach to mine).
I agree reusable part could be reached during PR review although it will still cause regressions, the approach suggested in my proposal
is the only one that's regression free, and is first. My proposal also has correct RCA too. And the difference between the approaches are major, not minor (my approach involves the first-route-in-RHN check which is not straight-forward or intuitive to figure out). Looking forward to the final decision from @roryabraham 🙏 |
Well this is a tough call, because both proposals are good and multiple contributors brought value to the issue:
I hope you both can appreciate that I feel like there's no clear answer for which proposal to select; I'm not a perfect judge, and I have to just do my best to consider what's most fair and best for the end-result. In this case I'm going to select @bernhardoj's proposal. Thank you all for working together to come to a good solution. 🙇🏼 |
📣 @eh2077 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
Thanks! 🙇 cc: @eh2077 |
I can provide reproducible steps to show that the previous solution has regressions if necessary.
TBH I don't think such a difference is significant in proposal stage, and can be polished in PR phase. So it can be said that the final solution used is mostly influenced from my solution.
@roryabraham @eh2077 Would it be more fair if we split the compensation here? It's fine if not 👍 , I'm just thinking if an alternate arrangement might work better for everyone here, considering the value and efforts both contributors put into helping resolve this are mostly equal. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.15-9 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 2024-08-09. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Checklist
Regression testPrecondition:
|
Payment Summary
|
Requested in ND. |
$250 approved for @bernhardoj |
Apologies for the delay @eh2077 - paid and job closed! |
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: 9.0.11-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
Page will not blink after selecting a category during categorization
Actual Result:
Page blinks after selecting a category during categorization
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6550721_1721752108588.bandicam_2024-07-24_00-25-27-455.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @jliexpensifyThe text was updated successfully, but these errors were encountered: