-
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
[$250] [Advanced Approval Workflows]: Implement Sorting #47698
Comments
Hey! I’m Błażej Kustra from Software Mansion, an expert agency, and I’d like to work on this issue! |
Job added to Upwork: https://www.upwork.com/jobs/~01078457d0b3153dad |
Current assignee @DylanDylann is eligible for the External assigner, not assigning anyone new. |
Hi @blazejkustra! It's all yours! |
ProposalPlease re-state the problem that we are trying to solve in this issue.During workflow configuration, when the Approver is being selected the list of the members shown for selections is not sorted alphabetically. What is the root cause of that problem?There is no sorting applied to the items in the list therefore they have the default ordering from the BE. What changes do you think we should make in order to solve the problem?In WorkspaceWorkflowsApprovalsApproverPage.tsx we need to sort the list of the items before they are passed to the Section. App/src/pages/workspace/workflows/approvals/WorkspaceWorkflowsApprovalsApproverPage.tsx Line 152 in c9954ad
Should be replaced with this: data: OptionsListUtils.sortItemsAlphabetically(filteredApprovers) App/src/pages/workspace/workflows/approvals/WorkspaceWorkflowsApprovalsApproverPage.tsx Line 357 in c9954ad
Should be replaced with this:
App/src/pages/workspace/workflows/approvals/WorkspaceWorkflowsApprovalsApproverPage.tsx Line 363 in c9954ad
Should be replaced with this:
What alternative solutions did you explore? (Optional)We could introduce sorting as a capability of the SelectionList component to have ordering built into it, so that when we pass sections to the component we can choose if the section items should be ordered ASC or DESC. That sounds like over engineering to me though. |
📣 @klajdipaja! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
PR is ready for your review @DylanDylann |
This issue has not been updated in over 15 days. @blazejkustra, @DylanDylann 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! |
@dylanexpensify Please help process the payment for me. Thanks |
Payment summary: Contributor+: @DylanDylann $250 via Upwork Please apply/request! |
@dylanexpensify The Upwork job is no longer available, could you create a new job and send the offer to my profile here? https://www.upwork.com/freelancers/~010c6310ab55f3d17d Thanks |
@dylanexpensify Bump on above comment |
Done! |
Coming from this project, we have this follow-up polish issue we need to complete where we implement the ability to sort. More details here.
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: