-
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
fix avatar tooltip issues across the app #21026
Conversation
@0xmiroslav Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@0xmiroslav do you think you'll be able to review & test soon? Also @situchan did you make sure this would work for all of the issues listed here? #20822 (comment) |
yes I already tested and added in Tests step. Each step is each issue. Linking those issues right now |
#20800 is already fixed and not happen on main. |
Fantastic, thanks @situchan - @0xmiroslav let's get to testing ASAP please - I will start in a few minutes if you haven't |
I will test in 20 min |
Sounds good @0xmiroslav I can wait for that long 👍 |
|
Worrkspace avatar tooltip doesn't look good but this already happens on production and will be discussed in #19264 which gets rid of all room-specific avatars. |
Reviewer Checklist
Screenshots/VideosWeb
web1.mov
web2.movMobile Web - ChromeMobile Web - SafariDesktopdesktop.moviOSAndroid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested both main and this branch and confirmed all linked issues are reproducible on main, not reproducible on this branch.
Also, there was another new issue happening on main: "Hmm... it's not here" not found page shows when click user on money request confirmation page.
Confirmed that this is fixed as well.
@flodnv not sure why you were requested to review - maybe GH was way late? 🤷 anyway, I'm reviewing this one so I removed you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
fix avatar tooltip issues across the app (cherry picked from commit 84a2048)
…-21026 🍒 Cherry pick PR #21026 to staging 🍒
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 1.3.29-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.29-11 🚀
|
🚀 Deployed to staging by https://github.com/Beamanator in version: 1.3.32-1 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.32-5 🚀
|
Details
introduce id in avatar object
Fixed Issues
$ #20801
$ #20813
$ #20820
$ #20822
$ #20971
$ #20934
$ #20981
PROPOSAL: #20822 (comment)
Tests
Verify that all hover tooltips show correct avatar, login and display name (if exists)
Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
web1.mov
web2.mov
web3.mov
Mobile Web - Chrome
Mobile Web - Safari
Desktop
desktop.mov
iOS
Android