-
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 2025-01-02] [$250] Workspace - Selected invited new user becomes unselected when returning online #53899
Comments
Triggered auto assignment to @NikkiWines ( |
Triggered auto assignment to @trjExpensify ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@NikkiWines I don't think this is severe enough to be a blocker, do you? |
No i think this is a pretty minor bug for a very edge case behavior - I don't think this needs to be a blocker but will look into what PR this originated from |
Job added to Upwork: https://www.upwork.com/jobs/~021866776898629564869 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @suneox ( |
Edited by proposal-police: This proposal was edited at 2024-12-11 10:10:53 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace - Selected invited new user becomes unselected when returning online What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?What alternative solutions did you explore? (Optional) |
rdeanda Your proposal will be dismissed because you did not follow the proposal template. |
@Krishna2323 I am curious here, |
@ChavdaSachin when
|
@Krishna2323 Thank you for your proposal, but the expected result for this issue is that Screen.Recording.2024-12-14.at.18.10.58.mp4 |
This comment was marked as resolved.
This comment was marked as resolved.
ProposalPlease re-state the problem that we are trying to solve in this issue.Selected invited new user becomes unselected when returning online What is the root cause of that problem?When a member is added offline and transitions to online, filter the previously selected employees based on the new personal details, as unknown or new user IDs may change during the transition
The prevPersonalDetails will have the data type OnyxEntry. For example: {
1153713: {accountID: 1153713, avatar: 'https://d2k5nsl2zxldvw.cloudfront.net/images/avatars/default-avatar_10.png', firstName: '', lastName: ''}
1951440: {accountID: 1951440, avatar: 'https://d2k5nsl2zxldvw.cloudfront.net/images/avatars/default-avatar_1.png', firstName: '', lastName: ''}
360920167: {login: '[email protected]', accountID: 360920167, displayName: '[email protected]', isOptimisticPersonalDetail: true} // This is the member added in offline mode
} We use prevPersonalDetails = {
1153713: {accountID: 1153713, avatar: 'https://d2k5nsl2zxldvw.cloudfront.net/images/avatars/default-avatar_10.png', firstName: '', lastName: ''}
1951440: {accountID: 1951440, avatar: 'https://d2k5nsl2zxldvw.cloudfront.net/images/avatars/default-avatar_1.png', firstName: '', lastName: ''}
360920167: {login: '[email protected]', accountID: 360920167, displayName: '[email protected]', isOptimisticPersonalDetail: true} // This is the member added in offline mode
}
prevPersonalDetails?.id => undefined App/src/pages/workspace/WorkspaceMembersPage.tsx Lines 177 to 181 in 00f2fb2
we received
What changes do you think we should make in order to solve the problem?To resolve this issue, we should update the way to get
update to:
POCScreen.Recording.2024-12-15.at.00.54.33.mp4What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
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. |
@huult Thank you for your proposal has pointing out the outdated 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @chiragsalian, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Proposal LGTM, feel free to create the PR @huult. |
📣 @suneox 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @huult 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.78-6 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 2025-01-02. 🎊 For reference, here are some details about the assignees on this issue:
|
@suneox @trjExpensify @suneox The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.74-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp #52173
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The invited new user should remain selected.
Actual Result:
The invited new user becomes unselected.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6690438_1733875593955.20241211_080414.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: