-
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-01] [$250] Workspace - The tag and category lists lack consistent alphabetical order #44922
Comments
Triggered auto assignment to @VictoriaExpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace - The tag and category lists lack consistent alphabetical order What is the root cause of that problem?We using different sort in two places: WorkspaceCategoriesPage and CategoryPicker App/src/libs/OptionsListUtils.ts Line 992 in 1f0a462
What changes do you think we should make in order to solve the problem?If you want to display uppercase letters first, use this method
If you want to display lowercase letters first, use this method
What alternative solutions did you explore? (Optional)Using Updated: Apply App/src/libs/OptionsListUtils.ts Line 992 in 1f0a462
App/src/libs/OptionsListUtils.ts Line 1042 in 1f0a462
The places mentioned are specifically for tag and category pages. If we want to expand the use of |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
|
I agree this is a bug that should be fixed, but I want to chat with the team about the desired behaviour here. I think Expensify Classic default everything to be capitalised and I have never come across anyone who wasn't happy with this, so I wonder if that is the best way to resolve the issue. |
Alright, tested this in OldDot and it is inconsistent there, too 😅 I think we should get some design input on this one. |
Personally, I can't think of any reason why you would have a need for upper and lower case categories and tags. I kind of think we should default these all to be capitalised and, that way, you won't end up with two with the same name. |
Hmm actually, I would sorry this would break something with our integrations since Tags and Categories can be imported from there. Generally, when listed alphabetically, the word with the capital letter comes first. So let's keep the platform consistent with that standard |
Job added to Upwork: https://www.upwork.com/jobs/~013f0c5d89e0679c03 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
Quoting TS style guide we should prefer native Array instance methods instead of lodash if we are ok with using lodash for sorting to maintain consistency with olddot, then we can assign @dominictb as they proposed it first otherwhise nothing wrong with @cretadn22's proposal and use 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @chiragsalian, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@chiragsalian This bug is about "The tag and category lists lack consistent alphabetical order", so I think we need to fix the tags list as well, not just category |
thanks for pointing that out @dominictb, you are correct! I have updated my recomendation 👍 |
@ishpaul777 This proposal was updated since 11hrs ago with the change that apply to tags list, that did not exist before. Can you help check again? |
yes, i did check that i recommended @cretadn22 as they are the only one that propose to use |
Thanks for the discussion, let's go with @dominictb's proposal and use |
📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR #45236 is ready |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.11-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 2024-08-01. 🎊 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:
|
Not overdue melvin, on hold for payment |
@ishpaul777 - I'll organise payment once you have complete the checklist |
[@ishpaul777] The PR that introduced the bug has been identified. Link to the PR: #37704 |
@chiragsalian, @VictoriaExpensify, @ishpaul777, @dominictb Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Payment Summary: Contributor: @dominictb paid $250 [via Upwork](Upwork job) Thanks for your work on this bug! |
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: 9.0.4-5
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Notice that categories are listed Alphabetically with Capital letters coming first and then small letters.
Notice that tags are also listed the same way as Categories are listed.
6.Before submitting the expense Click on the show more
Expected Result:
Consistent alphabetical order
Actual Result:
Inconsistent alphabetical order
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6533980_1720177825699.Ex_Alphabetical_Order_issue.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @VictoriaExpensifyThe text was updated successfully, but these errors were encountered: