-
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
CRITICAL: [$500] Inviting a member to a user created room does not add them until page is refreshed #32712
Comments
Triggered auto assignment to @jliexpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~01b17b3e302b4beccb |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Inviting a member to a user created room does not add them until page is refreshed What is the root cause of that problem?We are not adding personal details for new user in optimistic data when we invite them to the room App/src/libs/actions/Report.js Line 2124 in c96718a
What changes do you think we should make in order to solve the problem?We should add optimistic personal details for new user in optimistic data if the user isn't present in personal details list. App/src/libs/actions/Report.js Line 2124 in c96718a
We can do it in the same way we do in App/src/libs/actions/Report.js Lines 582 to 584 in c96718a
What alternative solutions did you explore? (Optional) |
@dukenv0307 Thanks for your proposal. Your RCA is correct and your solution, overall is correct. I only suggest that we can do the same as we did when we invite a member to a workspace here App/src/libs/actions/Policy.js Line 541 in 632c5c6
Link to proposal #32712 (comment) |
Triggered auto assignment to @roryabraham, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @hoangzinh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@hoangzinh The PR is ready for review. |
bump @hoangzinh 🙏 |
I'm going to review the PR today |
@hoangzinh any update? |
ah sorry @dylanexpensify I reviewed and approved the PR yesterday. Waiting @roryabraham for final review. |
Pr merged |
Am I blind? What is the PR for this? Why is this issue still open if this was merged last week? |
The PR is deployed to production but bot doesn't update. |
Lame! Will update today! |
Payment summary:
|
paid! @hoangzinh can you propose Regression Test steps please? |
Regression Test Proposal
Do we agree 👍 or 👎 |
This comment was marked as off-topic.
This comment was marked as off-topic.
The BZ member will need to manually hire applausebot for the Contributor role. Please store your Upwork details and apply to our Upwork job so this process is automatic in the future! |
Hmmm ... that's not right. |
Created https://github.com/Expensify/Expensify/issues/356696 to update regression tests, closing this out |
Problem
Originally reported by @quinthar here
Reproduction steps:
Why is this important?
Ideally the member would be displayed immediately.
Solution
@jasperhuangg I think maybe we need to add an optimistic personal detail for the user being added? Or something is wrong with the
accountID
logic in the front end. When we add a new member to a room we are using an optimistic accountID generated in the options. But we do not add optimistic personal details for them here. So this logic here is hit.Confirmed with this log:
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: