-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$500] Workspace - Avatar in chat header does not revert to default avatar after deleting workspace #30724
Comments
Triggered auto assignment to @MitchExpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~0190689335322f5021 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Avatar in chat header does not revert to default avatar after deleting workspace What is the root cause of that problem?We use this App/src/pages/home/HeaderView.js Line 274 in 3db5ff4
Because What changes do you think we should make in order to solve the problem?We should subscribe policy from Onyx in
OPTION: we can only get some necessary field of policy to make this component doesn't re-render many times. Because we use memo on the outer component, we should get What alternative solutions did you explore? (Optional)We can pass ResultScreen.Recording.2023-11-02.at.00.27.49.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Avatar in chat header does not revert to default avatar after deleting workspace What is the root cause of that problem?I think this is not relative with The root cause of this problem is that we don't use App/src/pages/home/HeaderView.js Line 274 in a31933a
What changes do you think we should make in order to solve the problem?We need to correct memo here App/src/pages/home/HeaderView.js Line 274 in a31933a
What alternative solutions did you explore? (Optional)Screen.Recording.2023-11-02.at.12.09.38.AM.mov |
@robertKozik How do these proposals look to you? |
Friendly bump on a review of these proposals @robertKozik 🚀 |
Sorry for the delay, I'll look into the proposals today 👀 |
@yh-0218 Your proposal looks promising. Could you check the performance of your change? I saw that this memo was added due to performance reason and I would not like to degradate this metric |
hello, @robertKozik my Proposal is updated. |
@robertKozik Tested the proposal above and it doesn't work. I think we should subscribe policy from Onyx or if we move the memo to the below, we still need to pass the policy from web1.movI think the |
@MitchExpensify, @robertKozik Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Sorry for delay, on it 👀 |
hi, @robertKozik How about my proposal? |
@MitchExpensify @robertKozik this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@yh-0218 your updated proposal doesn't work on my end. I've checked once more previous version of it, and I can encounter some unnecessary re-renders, for example when admin changed the default currency of the workspace. This info is not used inside HeaderView so shouldn't cause re-renders |
@robertKozik The PR is ready for review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.5-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 2023-12-07. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
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:
|
|
Payment summary:
|
Created an Upwork job for payment as the old one is dust: https://www.upwork.com/jobs/~01ed8ba36b00a44817 |
Let me know when you've accepted the offer there please @dukenv0307 |
@MitchExpensify, @roryabraham, @robertKozik, @dukenv0307 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Looks like we're just waiting for @dukenv0307 to accept the offer of payment so that we can close this out |
Tried DMing @dukenv0307 in slack to get this closed out. I also don't appear to have access to @MitchExpensify's view in Upwork, so I can see they're hired but it's not clear to me if they've been paid yet |
@MitchExpensify As payment is the last todo here, I'm making you the issue owner for K2 purposes |
Thanks @roryabraham for the ping, I've accepted the offer some time ago so we're good to proceed here |
Sorry for the delay! Paid and contract ended |
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.3.94-0
**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:
Issue found when executing PR #29554
Action Performed:
Note that
Expected Result:
The workspace avatar in all part of the app will revert to the default avatar
Actual Result:
The custom workspace avatar in LHN and chat as well as room details page is reverted to the default avatar, except the custom avatar in the room chat header
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6259691_1698858724755.20231101_104908__1_.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @MitchExpensifyThe text was updated successfully, but these errors were encountered: