-
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
[$250] Workspace - Single category and tag isn't auto selected when requesting money #40591
Comments
Triggered auto assignment to @zanyrenney ( |
@zanyrenney FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #wave-collect - Release 1 |
This comment was marked as outdated.
This comment was marked as outdated.
ProposalPlease re-state the problem that we are trying to solve in this issue.Single category and tags aren't auto selected when requesting money. What is the root cause of that problem?Here when we have only one tag / one category we have a check which sets the auto selected value, but here before that we have certain conditions as below: App/src/components/MoneyRequestConfirmationList.tsx Lines 489 to 491 in 8699315
For Tag: App/src/components/MoneyRequestConfirmationList.tsx Lines 501 to 504 in 8699315
When I debugged this I found out that Now coming to why values
This causes the values to be always set to What changes do you think we should make in order to solve the problem?We should remove the Result VideoScreen.Recording.2024-04-20.at.5.47.20.AM.movNow that I searched more, I think we should get rid of the
So I guess we should remove the use of hook from the page as the |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace - Single category and tag isn't auto selected when requesting money What is the root cause of that problem?This is a regression caused by #40217 and was suggested in #38744 (comment).
App/src/components/MoneyRequestConfirmationList.tsx Lines 515 to 523 in 1e510b5
The tag field does not have this issue because the dependencies are set properly. App/src/components/MoneyRequestConfirmationList.tsx Lines 537 to 539 in 1e510b5
This is why I only experienced this with the category field. I believe the category dependencies should not have the What changes do you think we should make in order to solve the problem?First, add
Finally, remove the
What alternative solutions did you explore? (Optional)Since NoteI noticed you can empty the tag and category for a brief moment before the backend reverts them. Hence, I recommend we prohibit the ability to change the tag or category in this situation on the edit pages in the PR. POC.-.Chrome.mov |
Proposal Updated
|
@Tony-MK, I don't think that it is a regression from my PR, can you pls explain why do you think that it is regression? |
Hey @krishna232, the |
adding external label |
Job added to Upwork: https://www.upwork.com/jobs/~01342dc85ef896c8e8 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
@ahmedGaber93 we have a few proposals now, please review them and let me know which we should go forward with. As this is related to release one so if you don't have capacity, please assign yourself and I will assign another C+. |
@zanyrenney Reviewing today. |
Thanks for the proposal every one! @Krishna2323 your proposal will work, but it will auto select the single item even if tags/categories isn't set as a required which not match the expected result. @GandalfGwaihir your RCA is correct, and your fix should work fine, but that's mean @Tony-MK your RCA is incorrect, if you have beta |
@ahmedGaber93, I misunderstood the issue here, I think auto-selection works fine when we have single tag/category and it is required. Can you pls tell me what I'm missing? |
📣 @ahmedGaber93 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@zanyrenney but this is open for external contributors right? |
Also we have a slack discussion pending on it: |
I think we can move forward with @GandalfGwaihir's proposal and discuss that with the internal engineer. Why choosing removing beta
🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @cristipaval, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @GandalfGwaihir 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@GandalfGwaihir please let me know how you get on here! |
@cristipaval @ahmedGaber93 @zanyrenney @GandalfGwaihir this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Chill Melvin!, PR would be ready in 1 hour :) |
PR ready for review c.c. @ahmedGaber93 , sorry got under the weather at the time of the above message, feeling better now 😃 |
I am not sure if we should have waited for @cristipaval to accept the proposal before move forward with PR, but as the contributor is assigned to the issue and the PR is already started, I am going to review the PR, and we can move any discussion there. |
|
I think this is ready for payment @zanyrenney , can you take a look once you find time 😄 Update: Their GH says they're OoO until June 9, so maybe lets hold this until then, have great vacation @zanyrenney 🏖️ |
Can you pay this out please @zanyrenney, hope you enjoyed your time out :) |
Hey @allgandalf thanks for checking the status, great thing to do :) I was also then at a conference so i appreciate your patience. |
not sure why @dukenv0307 is on the Upwork listingm because the payments should be @allgandalf as contributor paying out as per these assignments: |
paid @ahmedGaber93 $250 closing! |
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: 1.4.63.0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
Issue found when executing PR #40217
Action Performed:
Expected Result:
Category and tag fields should auto select the single entry
Actual Result:
Single category and tag isn't auto selected when requesting money
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6454173_1713468126792.OHYC4360.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: