-
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-07-26] [$250] Features in Workspace LHN are not in the same order as in "More Features" #45549
Comments
Triggered auto assignment to @OfstadC ( |
Job added to Upwork: https://www.upwork.com/jobs/~019d9f00389c515c84 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Features in Workspace LHN are not in the same order as in "More Features" What is the root cause of that problem?Accounting field is placed before App/src/pages/workspace/WorkspaceInitialPage.tsx Lines 287 to 305 in 39e0f95
What changes do you think we should make in order to solve the problem?Place Accounting field is after
if (featureStates?.[CONST.POLICY.MORE_FEATURES.ARE_REPORT_FIELDS_ENABLED]) {
protectedCollectPolicyMenuItems.push({
translationKey: 'workspace.common.reportFields',
icon: Expensicons.Pencil,
action: singleExecution(waitForNavigate(() => Navigation.navigate(ROUTES.WORKSPACE_REPORT_FIELDS.getRoute(policyID)))),
routeName: SCREENS.WORKSPACE.REPORT_FIELDS,
});
}
if (featureStates?.[CONST.POLICY.MORE_FEATURES.ARE_CONNECTIONS_ENABLED]) {
protectedCollectPolicyMenuItems.push({
translationKey: 'workspace.common.accounting',
icon: Expensicons.Sync,
action: singleExecution(waitForNavigate(() => Navigation.navigate(ROUTES.POLICY_ACCOUNTING.getRoute(policyID)))),
// brickRoadIndicator should be set when API will be ready
brickRoadIndicator: undefined,
routeName: SCREENS.WORKSPACE.ACCOUNTING.ROOT,
});
} What alternative solutions did you explore? (Optional) |
Thanks @Krishna2323 looks good. |
❌ There was an error making the offer to @Krishna2323 for the Contributor role. The BZ member will need to manually hire the contributor. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The order of the items does not match the order in "More features" What is the root cause of that problem?We push the accounting option before the report field option
What changes do you think we should make in order to solve the problem?To make the code cleaner, we can create a
And then get
After that, we only need to re-order the feature here
What alternative solutions did you explore? (Optional) |
@yuwenmemon Sorry for the late, can you please take a look at my proposal here? That can make the code cleaner and we only need to re-order in |
@yuwenmemon I noticed that in my application currently "report field" feature not show as in you. Could you please guide me on how i get it |
@yuwenmemon @sobitneupane, PR ready for review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.9-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-07-26. 🎊 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:
|
Adding @CortneyOfstad in since this needs a manual offer and i'm out today |
@sobitneupane please complete the checklist as soon as possible, so there is no delay in payment — thank you! @Krishna2323 — I sent you an offer in Upwork, please let me know once you accept and I can get that paid ASAP. Thank you! |
@CortneyOfstad accepted, thanks. |
Thanks @Krishna2323 – contract paid! |
Payment Summary
BugZero Checklist (@CortneyOfstad)
|
#43896 (comment) and #43943 (comment)
Not required.
Yes.
|
Regression Test Proposal:
Do we agree 👍 or 👎 |
Looks great @sobitneupane |
@yuwenmemon, @CortneyOfstad, @OfstadC, @sobitneupane, @Krishna2323 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Thanks @sobitneupane ! |
https://github.com/Expensify/Expensify/issues/416301 @CortneyOfstad can you please finish the payment while i'm OoO today |
Payment Summary@Krishna2323 — paid $250 via Upwork |
$250 approved for @sobitneupane |
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: v9.0.5-12
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): All
Logs: N/A
Expensify/Expensify Issue URL:
Issue reported by: @zsgreenwald
Slack conversation: https://expensify.slack.com/archives/C06ML6X0W9L/p1721165288016089
Action Performed:
Expected Result:
The order of the items in the LHN should be in the same order as they are in "More features"
Actual Result:
The order of the items does not match the order in "More features"
Workaround:
Yes, this is a small polish bug.
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @OfstadCThe text was updated successfully, but these errors were encountered: