-
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
Show Product tooltip for Workspace participant on create expense #56041
base: main
Are you sure you want to change the base?
Conversation
@hoangzinh 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] |
@hoangzinh Looks like we don't need to manage the first-time submitter logic based on the discussion on the issue. Also, When you scroll the page, the tooltip does not move along. I think there was an issue for this already on the app. So that should solve it too. But I believe that is out of scope of this PR as we will have to make change to the tooltips which will affect all tooltips in the app. #54924 What do you think? |
Yes, I agree @parasharrajat |
selectCircleStyles={styles.ml0} | ||
/> | ||
</PressableWithFeedback> | ||
<View> |
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.
Hi @parasharrajat is it necessary to wrap existing into a View
component here?
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.
Yes, otherwise tooltip does not render.
@@ -122,6 +122,7 @@ function BaseSelectionList<TItem extends ListItem>( | |||
listItemTitleStyles, | |||
initialNumToRender = 12, | |||
listItemTitleContainerStyles, | |||
shouldShowEducationalTooltip = () => false, |
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.
shouldShowEducationalTooltip = () => false, | |
getShouldShowEducationalTooltip = () => false, |
should we name it as getShouldShowEducationalTooltip
? Atm, when I read the code, sometimes shouldShowEducationalTooltip
is a func, sometimes it's a boolean.
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.
Not necessarily needed. I can rename it if needed but we can't use two verbs get
or should
together.
I think we should auto-dismiss the tooltip if a user submits an expense after seeing it. So next times, it won't show again. What do you think? Screen.Recording.2025-01-31.at.15.09.27.mov |
@parasharrajat can you also put a link into this PR checklist? Thank you
|
I was OOO. I will catch up soon with this one. |
@parasharrajat Do you have a timeframe on when PR is ready for next review? Thank you. |
May be today or tomorrow. |
Can you confirm this on the issue with the team? |
This needs a backend change. cc: @stitesExpensify |
👍 Just put a backend PR here. I'll update here when it's deployed |
Explanation of Change
Fixed Issues
$ #55558
PROPOSAL: #55558 (comment)
Tests
Offline tests
Same as tests
QA Steps
same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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
Android: Native
30.01.2025_19.29.07_REC.mp4
Android: mWeb Chrome
30.01.2025_19.30.13_REC.mp4
iOS: Native
30.01.2025_19.18.09_REC.mp4
iOS: mWeb Safari
30.01.2025_19.19.25_REC.mp4
MacOS: Chrome / Safari
30.01.2025_19.08.49_REC.mp4
MacOS: Desktop
30.01.2025_19.31.01_REC.mp4