-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[$500] [Wave 6: Tags] - Unable to unselect tag from created expense when the tag is disabled #30380
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01dfd87fd1cc34a215 |
Triggered auto assignment to @johncschuster ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Unable to unselect a previously set tag after it has been disabled by an admin. What is the root cause of that problem?The What changes do you think we should make in order to solve the problem?We need to make an exception in the We can read the value of the What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tag - Unable to unselect tag from created expense when the tag is disabled What is the root cause of that problem?When the tag is disabled, we don't show it in option list App/src/libs/OptionsListUtils.js Line 937 in 05ae4c4
What changes do you think we should make in order to solve the problem?Because we use In TagPicker, if Here's the sample code:
then pass What alternative solutions did you explore? (Optional)In the case we're creating the new request and select the enabled tag. But at that time, admin disable this tag, we should clear the tag in the in-processing request ResultScreen.Recording.2023-10-26.at.11.39.13.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.If we disable selected tag, this tag will hide in Tag list What is the root cause of that problem?Let's see the logic to get tags App/src/libs/OptionsListUtils.js Line 893 in 69119aa
If numberOfTag < 8, we return all enable tags (only enable tags) What changes do you think we should make in order to solve the problem?we should move this code App/src/libs/OptionsListUtils.js Lines 915 to 933 in 69119aa
to before App/src/libs/OptionsListUtils.js Line 893 in 69119aa
and in here App/src/libs/OptionsListUtils.js Line 899 in 69119aa
update to
to avoid dupe the selected tag. With this approach we also need to update App/src/components/TagPicker/index.js Line 39 in cd851f5
like we did in CategoryPicker What alternative solutions did you explore? (Optional) |
@robertKozik it looks like we've got a few proposals above. Can you take a look? |
Sure, I'm on it. |
@johncschuster, @robertKozik Whoops! This issue is 2 days overdue. Let's get this updated quick! |
eh... forgot the precious line: |
Triggered auto assignment to @johnmlee101, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
@tienifr @robertKozik Whats the status of this issue? has there been any regressions? |
This issue has not been updated in over 15 days. @johnmlee101, @johncschuster, @robertKozik, @tienifr 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! |
Triggered auto assignment to @slafortune ( |
I will be OOO starting Monday, December 18, and will return Tuesday, January 2. Current status: If this issue is open when I'm back from OOO, I'll take it back over. Thank you! |
Hey! PR for this issue caused one regression which was handled as different task by the time of merge (here but overally the issue should be resolved already. As for the regression steps, I think we can propose them here:
|
Thanks for the update! |
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: 1.3.91-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
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:
Expected Result:
User is able to unselect the tag
Actual Result:
User is unable to unselect the tag. It is disabled
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
Windows: Chrome
Bug6250597_1698253971783.bandicam_2023-10-25_19-21-42-699.mp4
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: