Closed izarutskaya closed 2 months ago
Triggered auto assignment to @jliexpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
We think this issue might be related to the #collect project.
Job added to Upwork: https://www.upwork.com/jobs/~01d2558fbd9a9d9b23
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 (External
)
Able to repro on v9.0.16-5 (staging)
Edited by proposal-police: This proposal was edited at 2024-08-06 06:56:45 UTC.
After creating a workspace from the "Workspace picker" page using the plus icon, the in-app back button fails to navigate to the workspace picker page, while the browser’s back button correctly returns the user to the "Workspace picker" page.
When going back here, we just dismissModal
, so it will only dismiss the workspace profile page and will not go back to the workspace switcher as it should do.
We should use the accepted approach of using backTo
route param to make sure the navigation is correct in these cases. (We use same approach in various scenarios, examples: there, there and there)
Update https://github.com/Expensify/App/blob/6c3dcc298cad62f69f7440ddec77dfbd647113d8/src/pages/workspace/WorkspaceInitialPage.tsx#L396 to go to the backTo
route if there's backTo
param defined.
onBackButtonPress={() => {
if (route.params?.backTo) {
Navigation.resetToHome();
Navigation.navigate(route.params.backTo);
} else {
Navigation.dismissModal();
}
}}
Update the route definition here to allow a backTo
param
getRoute: (policyID: string, backTo?: string) => getUrlWithBackToParam(`settings/workspaces/${policyID}`, backTo) as const,
Use the backTo
param here and in createWorkspaceWithPolicyDraftAndNavigateToIt
too
Then in here, pass the current route (or specifically ROUTES.WORKSPACE_SWITCHER
) as backTo
In step 1 above, to navigate to backTo
route we can use
Navigation.goBack(route.params.backTo, true);
Proposal updated to add an alternation solution
@nkdengineer 's proposal looks good to me. Coding details can be discussed in PR.
🎀👀🎀 C+ reviewed
Triggered auto assignment to @carlosmiceli, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
❌ There was an error making the offer to @eh2077 for the Reviewer role. The BZ member will need to manually hire the contributor.
❌ There was an error making the offer to @nkdengineer for the Contributor role. The BZ member will need to manually hire the contributor.
This issue has not been updated in over 15 days. @carlosmiceli, @jliexpensify, @eh2077, @nkdengineer 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!
Not sure what happened here... @jliexpensify did we end up manually hiring the contributors?
@parasharrajat sorry to bring you in here, but am I to understand that this issue will also fix this one?
I'll move this back to weekly since something seems broken.
Current assignee @eh2077 is eligible for the External assigner, not assigning anyone new.
Hmm looks like the automation broke, I'll manually hire.
Hired @eh2077 and @nkdengineer
Please hold off hiring anyone while I am checking the task.
@carlosmiceli, @jliexpensify, @eh2077, @nkdengineer Huh... This is 4 days overdue. Who can take care of this?
What's the status here @parasharrajat?
I noticed that the PR is merged for this issue so there is nothing we need to hold here.
Gotcha! Can we close this then @jliexpensify ?
Before I do, I just want to confirm: @parasharrajat you had a PR that fixed this, so there's no need to hire and pay anyone?
I notice @nkdengineer and @eh2077 were hired, so will need to cancel these contracts if so.
@jliexpensify I believe our work previously hired is legitimate for payment. And it's been overdue for quite a while
Sorry, let's take a step back here! I want to clarify exactly what needs to be done.
Firstly, I am trying to work out what @parasharrajat means by this: https://github.com/Expensify/App/issues/46816#issuecomment-2329178918
Rajat, can you clarify this comment please? Are you implying the PR was not needed to fix this issue?
Separately, @eh2077 - you and @nkdengineer worked on https://github.com/Expensify/App/pull/46939 that resolved this issue? cc @carlosmiceli
Yes, https://github.com/Expensify/App/pull/46939 is the PR we worked on to fix this issue.
Great, so it sounds like this is the Payment Summary and job:
https://www.upwork.com/jobs/~01d2558fbd9a9d9b23
So @parasharrajat - I'll wait for your explanation on this before making payment: https://github.com/Expensify/App/issues/46816#issuecomment-2329178918
Actually, the PR for this issue was already merged before I was tagged on this issue. That's why I suggested we don't need to hold this issue if the work is already done here. No PR has been created or reviewed by me for this issue yet.
Ok, thanks for clearing this one up! @eh2077 do we need a checklist here?
Everyone has been paid, just waiting on checklist.
Bump @eh2077 for checklist
Do you 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: 9.0.16-0 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): biruknew45+ees@gmail.com Logs: https://stackoverflow.com/c/expensify/questions/4856 Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
After creating a workspace from the "Workspace picker" page, the in-app back button should navigate the user back to the "Workspace picker" page, consistent with the behavior of the browser's back button.
Actual Result:
After creating a workspace from the "Workspace picker" page using the plus icon, the in-app back button fails to navigate to the workspace picker page, while the browser’s back button correctly returns the user to the "Workspace picker" page.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
https://github.com/user-attachments/assets/0c002825-6ed1-46d7-b408-65ff36640554
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @