-
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
[Awaiting Payment][$1000] Web - Workspace - Concierge opens and #admin with WS settings close after coming from OD #23566
Comments
Triggered auto assignment to @garrettmknight ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~01c12a52f499c32c9c |
Current assignee @garrettmknight is eligible for the External assigner, not assigning anyone new. |
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.When a new user is creating a new group on staging.expensify.com (Settings > Policies > Group), we want them to be redirected to #admins page report and open workspace details instead of just showing the Concierge chat. What is the root cause of that problem?The root cause of the problem is that for new users the function App/src/libs/actions/Welcome.js Lines 121 to 129 in 975146f
This chat ( App/src/libs/actions/Policy.js Lines 1012 to 1021 in 975146f
When actually opening the workspace chat, the user is "redirected" to the Concierge chat as the App/src/pages/home/ReportScreen.js Lines 171 to 183 in 975146f
So the current navigation for newly logged in users is: What changes do you think we should make in order to solve the problem?Within the const openOnAdminRoom = lodashGet(topRoute, 'params.openOnAdminRoom', false);
// If we already opened the workspace settings or want the admin room to stay open, do not
// navigate to another report
const shouldNavigateToWorkspaceChat = !isWorkspaceRoute && !exitingToWorkspaceRoute && !openOnAdminRoom;
if (workspaceChatReport && shouldNavigateToWorkspaceChat) {
// ... Find workspace chat and navigate (see above)
} That way the user stays on the admin report page and the workspace details won't close if the Additionally, we will have to change the Lines 501 to 524 in cf4e837
What alternative solutions did you explore? (Optional)As an alternative we could check whether the user is already on a report page and not redirect if that is the case. Removing the workspace chat from the optimistic data might be an option, but that could lead to other issues. |
📣 @StefanNemeth! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Thanks for the proposal @StefanNemeth. Can you please add permalinks to reference the code in our App. Also, more explanation of the solution and root cause analysis will be appreciated. |
@sobitneupane Sure, I updated the proposal. I hope it is reasonable. |
@sobitneupane can you give the updated proposal a look when you get the chance? |
Thanks for the update @StefanNemeth. Were you able to reproduce the issue? I cannot reproduce the issue on my end. Screen.Recording.2023-08-02.at.13.08.33.movDid you test the solution of the issue? |
@sobitneupane just tested and it's still happening. You've got to signup with a brand new gmail account on OD for it to happen. |
@sobitneupane I could reproduce the issue. It can only be reproduced when you create a new account on staging.expensify.com and follow the steps from above without ever going to new.staging.expensify.com so that I tested the solution and it worked. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thanks for the updated @StefanNemeth.
I am having some issues while trying to test it. When I open a new policy from staging.expensify.com, it redirects to staging.new.expensify.com. So, I was unable to test the local change. How did you test it? |
@sobitneupane I went to Kapture.2023-08-02.at.19.48.08.mp4 |
Okay great! That's helpful to confirm we did the right thing. Sorry to bother you while you were OOO! |
@garrettmknight double check my math but I believe we're ready to go for payment here (Melvin is not cooperating) since this was deployed to prod on 8/23 |
Yep, just noticed a rash of this type of issues where Melv missed them. On it! |
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:
|
Summary of payments for this issue: #urgency bonus? No Upwork job: https://www.upwork.com/jobs/~01c12a52f499c32c9c |
@StefanNemeth can you accept the new Upwork job and I'll pay? Thanks! |
Paid! |
This is an old issue and was probably introduced by this PR
yes
|
Regression Test Proposal
Do we agree 👍 or 👎 |
I might modify very slightly:
Just to make that last bit a little more clear |
Requested payment on newDot. |
$1,000 payment approved via NewDot based on BZ summary. |
Leaving this issue open for the regression test. |
Done! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue found when executing PR #22619
Action Performed:
Expected Result:
User is navigated to #admins page report and also to the workspace details on the right.
Actual Result:
User is navigated to #admins page report and also to the workspace details on the right for a few seconds, then Concierge chat opens and workspace details panel closes.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.45-3
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation
Bug6141132_20230725_220442.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: