-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2023-12-29] [$500] Tag - Tag selected from another workspace is still preserved when switching workspace #33067
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0194acf0b0a5cd5e3a |
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tag selected from another workspace is still preserved when switching workspace What is the root cause of that problem?We are not resetting the tag/category on user changing different workspace as a participant or basically we are not resetting them while navigating to the confirmation page in the new refactored participant page App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js Lines 90 to 93 in 904cf56
What changes do you think we should make in order to solve the problem?We should reset tag and category when user changes workspace (participant) or the same as we did before we can reset them when always navigating to the confirmation page as we did here App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js Lines 90 to 93 in 904cf56
so change this App/src/pages/iou/request/step/IOURequestStepParticipants.js Lines 72 to 75 in 904cf56
and also reset here, here, here , here and here What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.The tag selected from Workspace A is still preserved when Workspace B is selected. What is the root cause of that problem?when re-select the participant we don't re-set tag and category What changes do you think we should make in order to solve the problem?We need to reset
Optional: We also should reset What alternative solutions did you explore? (Optional)NA |
Triggered auto assignment to @blimpich, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@FitseTLT's original proposal is invalid |
This comment was marked as outdated.
This comment was marked as outdated.
@DylanDylann this is not even the correct proposal because we shouldn't reset when the participant is not different from the previously selected one that's what @jjcoffee is mentioning in his review and also about my proposal I just commented a draft propsal first with the basic idea and cleaned it doesn't mean I copied from U. |
@FitseTLT My proposal has been posted after your proposal 2 minutes but It is correct and I tested it well. I think we should encourage contributors to create a correct proposal rather than a quick proposal with wrong logic and then edit that proposal. |
@DylanDylann U did the same thing You first commented
|
I edited my proposal to make it clearer but my original proposal is correct. Reset |
Both alternative solutions I gave U didn't. I still think I proposed the best solution let the other's (reviewers) do their job 👍 |
@DylanDylann Ah I'd actually missed that |
I said that "when the user re-selects participant by calling". I think it is enough for the proposal phase. we can implement detail in the PR phase cc @blimpich |
@jjcoffee Just to bring some attention to my alternative solution: because before the recent refactor of the request flow we used to reset tag and category whenever we navigate to confirmation page. To give u some background we introduced the resetting on this pr (but resetting on mount of the confirmation page) and then we changed the resetting to happen when we navigate to the confirmation page to deal with this issue 👍 So if we don't have a specific reason to change this previous behaviour we might need to stick to it. |
@FitseTLT @DylanDylann thank you both for your time and effort spent on this issue. I understand it can be frustrating to not have a proposal chosen, but please remain courteous throughout the proposal and review process. We try our best to be as fair as possible and I'm sure @jjcoffee tried their best to do that in this situation. Practicing inclusivity in our communication is also part of the Code of Conduct, and is a requirement for contributing. Please keep that in mind when commenting. That being said, because of the similarity in timing and proposals I'm going to go with @FitseTLT's proposal. I agree with @jjcoffee that the level of detail is the deciding factor. @DylanDylann if you would like I can spend time trying to find another issue for you to work on. |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@FitseTLT I'm not sure I fully understand what you're proposing, but if you're talking about always resetting when navigating to the confirmation page vs. only when the participant is changed, I don't feel too strongly about the latter. Once you navigate back to the participants page, the selection is reset anyway so it wouldn't be too jarring if tapping the same workspace would reset the tag (it's not quite the "back and forth" style UX I alluded to!). So, I'm fine to go with that if it works better for you! |
@alexpensify, @blimpich, @jjcoffee, @FitseTLT Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@FitseTLT Don't forget to let us know when we can expect a PR. |
PR ready |
Awesome, great to see we are making progress here! |
It looks like we need to wait for automation here. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.15-5 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 2023-12-29. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
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:
|
Here is the payment summary:
Upwork Job: https://www.upwork.com/jobs/~0194acf0b0a5cd5e3a Extra Notes regarding payment: Heads up, I'm OOO until January 4, but I will log in on Friday, December 29 to complete this payment process pending no regression. I've confirmed that @jjcoffee and @FitseTLT are a pending hire, so all set here for the payment date. @jjcoffee please complete the checklist when you can, thanks! |
Closing - Thank you everyone for your patience here. I've completed the payment process in Upwork and closed this job. Happy New Year! @jjcoffee - please complete the checklist when you get a chance, thanks! |
Regression Test Proposal
Do we agree 👍 or 👎 |
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: v1.4.12-2
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: Applause - Internal Team
Slack conversation:
Action Performed:
Precondition:
Expected Result:
The tag field in the confirmation page will reset when switching workspace.
Actual Result:
The tag selected from Workspace A is still preserved when Workspace B is selected.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6313137_1702563673701.bandicam_2023-12-14_15-51-20-958.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: