-
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
Workspace - Workspace image is disappearing when navigating to the Workspace settings page - Reported by: @thesahindia #6590
Comments
Triggered auto assignment to @ctkochan22 ( |
Logging the policy in the props within the render. Its there, and then its re-rendered without policy info. This would explain the flash where there is an avatar, then it goes missing. |
Okay, got it.
cc @marcaaron for helping point me in the right direction |
Suggested Solution: So lets just do the same for |
Hum.... the fix for this went in the opposite direction from where we're trying to go: https://github.com/Expensify/Expensify/issues/183673 Why couldn't we just look in the |
I just realized that the PR is in code below a giant comment about why we put this in alphabetical order but is not in alphabetical order. |
Ahh, I didn't know about that. Based on no context, it seemed like we were supposed to pass in avatarURL not in the values. Do you guys want me to make another PR to handle it on the App side? |
I think the App (and for that matter, all of our API consumers) should look in |
@flodnv should I revert my changes in Auth? Or can I just get away with grabbing the URL from the values now. Part of the issue is that, in Are we going to make the change to |
Ideally yes The 2 APIs return different things and need to be handled separately, like PHP does, for example here: https://github.com/Expensify/Web-Expensify/blob/6603eaf6d33eed299ef16a6080b54311dda0b7f8/lib/Policy.php#L1375-L1388 |
@ctkochan22, should we keep this issue open as no job is created for reporting the issue yet. |
Triggered auto assignment to @puneetlath ( |
@thesahindia I sent you an offer in Upwork for reporting the issue. Thanks! |
Paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Workspace image should be displayed.
Actual Result:
Default workspace image is displayed instead of the uploaded avatar.
Workaround:
None needed, visual issue.
Platform:
Where is this issue occurring?
Version Number: 1.1.17-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2021-12-02.at.11.48.39.PM.mov
Expensify/Expensify Issue URL:
Issue reported by: @thesahindia
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1638470766142000
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: