-
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
[Internal] Room - Room chat avatar is different for user who creates room & who has been invited to room #33470
Comments
Job added to Upwork: https://www.upwork.com/jobs/~013499a52b4634b0ed |
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha ( |
Proposalfrom: @unicorndev-727 Please re-state the problem that we are trying to solve in this issue.Room chat avatar is different for user who creates room & who has been invited to room What is the root cause of that problem?The root cause is that the user who has been invited to room doesn't have the policy data about workspace in Onyx so that the default workspace avatar will be showed. Lines 1247 to 1249 in 8970aa3
It is a screen shot of the room owner. What changes do you think we should make in order to solve the problem?We can send the policy update request if What alternative solutions did you explore? (Optional)Backend need to send the workspace data to the users who has been invited to the room and isn't the member of the workspace. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Room chat avatar is different for user who creates room and for user who has been invited to room What is the root cause of that problem?We're using the workspace avatar as the policy room avatar. But when the user is invited to a policy room, but the user is not a member of that workspace, they don't have access to that information. That's expected because if user is not in the workspace, they shouldn't have access to the What changes do you think we should make in order to solve the problem?We had the same issue before with the workspace name, and fixed it by adding the We should do the same here for the workspace avatar, we need to add a Then in front-end we'll use that field as a fallback in case the policy avatar is not found. If even that This way, even though the user doesn't have any access to the workspace data, they can still access the What alternative solutions did you explore? (Optional)NA |
@getusha - - when you get a chance, can you review if this proposal will fix this issue? Thanks! Heads up, I will be offline from Friday, December 22, to Thursday, January 4, 2024. I will not be actively watching over this GitHub during that period. If anything urgent is needed here, please ask for help in the #expensify-open-source Slack Room-- thanks! |
@unicorndev-727 do you mind adding more details to the solution you mentioned in your proposal? |
In fact, this is the best place to call the backend API to allow workspace data to invited users who are not members of the workspace. App/src/libs/actions/Report.ts Lines 2165 to 2175 in 595bf40
Frontend is subscribted to policy data properly to get workspace icons here
and here Line 1270 in 595bf40
But it doesn't work because we don't have the workspace data in ONYXKEYS.COLLECTION.POLICY .So we need to update inviteToRoom API to share workspace data with the invited users who aren't member of the workspace by setting role to guest in policy so that the guest can only read policy data like name, avatar and so on, I think.
|
@getusha what do you think about my proposal? We already do the same with the |
@alexpensify, @getusha Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@alexpensify, @getusha Still overdue 6 days?! Let's take care of this! |
Reviewing proposals. |
@getusha - I'm back online again. Any update regarding the proposals? |
🎀 👀 🎀 |
Triggered auto assignment to @grgia, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@getusha looking into this |
Next Steps@isabelastisser the discussion is ongoing here. I reassigned the Heads up, I will be offline until Tuesday, September 3, 2024, and will not actively watch over this GitHub during that period.If anything urgent is needed here, please ask for help in the #expensify-open-source Slack Room-- thanks! |
Not overdue. |
Not overdue, @dukenv0307 @getusha let's not forget this #37003 (comment), it is still broken on mweb? |
Bump @dukenv0307 @getusha |
Thanks, @isabelastisser, for your help! I'm online and taking this GH back. |
@techievivek I checked again and the bug is fixed on mweb on the latest main. Can the QA team check again? Correct me if I missed something. ios-mweb-resize.mp4android-mweb-resize.mp4 |
@techievivek - we need your follow-up here. Thanks! |
Issue not reproducible during KI retests. (Second week) |
QA team just confirmed that this is fixed so we can move forward with the payment here. @alexpensify |
Payouts due: 2024-09-09
Upwork job is here. |
@dukenv0307 - I sent an offer in Upwork. Please accept and I can complete the payment process. Thanks! |
@alexpensify Done, thank you |
@alexpensify i should get paid on Upwork as well since the issue was created before my ND payment eligibility date. |
@getusha - thanks for flagging, I sent over an offer in Upwork. |
@dukenv0307 - thanks, I completed the payment process in Upwork! |
@alexpensify accepted the offer. ty! |
Awesome, everyone has been paid via Upwork. |
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: 1.4.15-4
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
9 .Navigate to LHN and note avatar of room chat
Expected Result:
Room chat avatar must be same for user who creates room and for user who has been invited to room
Actual Result:
Room chat avatar is different for user who creates room and for user who has been invited to room
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6323221_1703194294854.full.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @grgiaThe text was updated successfully, but these errors were encountered: