-
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
fix missing style in thread subheader, tooltip issues #22500
Conversation
@aldo-expensify 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] |
cc: @grgia for review |
This comment was marked as outdated.
This comment was marked as outdated.
I'm working on something locally, will need a bit of time to wrap that up before I test / screenshots |
Should we add a C+ as reviewer? |
That's good! |
Can we pls hold this merge till this conversation comes to a conclusion. |
I've addressed the above slack conversation and decided to move forward with merging this patch for now |
When I hover over the avatar of a newly searched user, only the avatar appears in the tooltip. I think we should also be showing the email like we normally do? Screen.Recording.2023-07-12.at.2.53.29.PM.movcc: @0xmiroslav @grgia |
@@ -802,7 +802,7 @@ function getOptions( | |||
userToInvite.icons = [ | |||
{ | |||
source: UserUtils.getAvatar('', optimisticAccountID), | |||
login: searchValue, | |||
name: searchValue, |
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.
This key was wrong. avatar object expects {source, name, id, type}
, not login
Fixed! |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-12.at.6.09.37.PM.movScreen.Recording.2023-07-12.at.5.52.06.PM.movMobile Web - ChromeScreen.Recording.2023-07-12.at.5.59.31.PM.movMobile Web - SafariScreen.Recording.2023-07-12.at.6.13.18.PM.movDesktopScreen.Recording.2023-07-12.at.6.19.31.PM.moviOSScreen.Recording.2023-07-12.at.6.10.18.PM.movAndroidScreen.Recording.2023-07-12.at.5.57.08.PM.mov |
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.
Tests well!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/grgia in version: 1.3.40-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.40-5 🚀
|
Can an Expensify employee please provide a payment summary so that I can pay @thesahindia? |
Default C+ review payment @JmillsExpensify |
Because this issue was created before 25. Aug, that should be $1,000 right? Sorry I need confirmation on the exact amount. |
yes, correct. Old price |
Yes, $1000 |
$1,000 payment approved for @thesahindia based on the comment immediately above. |
yes, I believe you just approved @thesahindia's payment. Let's just leave this closed for now. |
Ok thanks, yes thanks for clearing that up. Please reach out in Slack btw, I think that'll be a better way to confirm rather than commenting on a closed GH issue. |
Details
Fix reverted codes while fixing conflicts
@chiragsalian will you please review & merge this?
Fixed Issues
$ Follow-up of #21092, #20512
Tests
Same as QA step
Offline tests
Same as QA step
QA Steps
Follow QA step in Hotfix search tooltip #21696
Follow QA step in Fix: Different sections opened clicking on empty space in thread header #21776
Verify that no errors appear in the JS console
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
Screen.Recording.2023-07-08.at.10.13.04.PM.mov
Screen.Recording.2023-07-12.at.1.26.42.PM.mov
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android