-
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-10] [HOLD for payment 2024-07-02] [$250] Workspace - Unable to open Workspace setting when open member chat page #43462
Comments
Triggered auto assignment to @trjExpensify ( |
@trjExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
How bizarre! I'm able to reproduce, moving it on. |
Job added to Upwork: https://www.upwork.com/jobs/~0134016f887e04d471 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
Waiting on proposals |
1 similar comment
Waiting on proposals |
I am Michał from Callstack - expert contributor group. I’d like to work on this job. |
@trjExpensify We can assign @MrMuzyk from callstack. @MrMuzyk after assigning, please post your findings here daily and propose how to fix it to weigh in before creating a PR. thanks! |
ProposalPlease re-state the problem that we are trying to solve in this issue.App not navigating user to selected screen What is the root cause of that problem?In this scenario, in many of many checks before navigating user, we check if desired state is different from current state. App/src/libs/Navigation/linkTo/index.ts Lines 125 to 131 in b278b8f
In this function we are checking not only if screen name is different but also if params are different. Because that wasn't the case here - params are the same as before - user wasn't getting redirected to proper screen App/src/libs/Navigation/AppNavigator/getPartialStateDiff.ts Lines 70 to 79 in b278b8f
What changes do you think we should make in order to solve the problem?
Update the condition to check for differences separately. So we would navigate user if:
This should cover all the cases that were uncovered before What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@MrMuzyk I think we need for that because in nested navigation state, params will contain screen name |
@ahmedGaber93 I don't think it matters anyway. All parts of this condition have to be true because of logical AND. If it was the case that params would have different name but screen name stored in I still believe that checking only for name difference should be sufficient to navigate the user
|
@MrMuzyk I think if we remove const stateTopmostFullScreen = {
name: 'ScreenA',
params: {},
}
const templateStateTopmostFullScreen = {
name: 'ScreenA',
params: {
screen: 'ScreenB',
params: {
screen: 'ScreenC',
},
},
} |
I think it wouldn't open anyway because
|
Yeah, that is correct, so I think the condition should be
// stateTopmostFullScreen.name !== templateStateTopmostFullScreen.name && !shallowCompare
stateTopmostFullScreen.name !== templateStateTopmostFullScreen.name || !shallowCompare What do you think? |
Ahh I get it now 😅 I agree - if screen name can come inside params then it would make sense to change the condition like on the line above you've posted |
I think this part of the code affected in many places. Could you please test it through the app and update your proposal? |
Yes, will do! |
📣 @ahmedGaber93 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
Opened a PR, tomorrow Im OOO. If anything comes up I will take care of this on friday |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.1-19 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-02. 🎊 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:
|
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:
Regression Test Proposal
Do we agree 👍 or 👎 |
Can you provide a bit more context on all the "N/As" in the checklist, please @ahmedGaber93? |
@trjExpensify updated. |
Cool, thanks. Paid! |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 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-10. 🎊 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:
|
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: 1.4.81-1
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
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Workspace settings page should open
Actual Result:
Workspace settings page can not be open, nothing happens when click on workspace
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6508586_1718049253343.Recording__3152.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: