-
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
Feat: Make it possible to click the element the product training tooltip is pointing to #54710
Conversation
…oduct-training-tooltip-is-pointing-to-2
…oduct-training-tooltip-is-pointing-to-pr
…oduct-training-tooltip-is-pointing-to-pr
Screen.Recording.2025-01-02.at.5.59.49.PM.mov |
@ishpaul777 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-01-06.at.4.47.14.PM.movAndroid: mWeb ChromeScreen.Recording.2025-01-04.at.12.33.04.AM.moviOS: NativeScreen.Recording.2025-01-06.at.4.32.32.PM.moviOS: mWeb SafariScreen.Recording.2025-01-04.at.12.07.49.AM.movMacOS: Chrome / SafariScreen.Recording.2025-01-03.at.12.29.28.AM.movScreen.Recording.2025-01-04.at.12.24.14.AM.movMacOS: DesktopScreen.Recording.2025-01-06.at.5.12.06.PM.mov |
Bug on filter tooltip, position feels tooo low (may not related) and also it does not disapper when clicking on it Screen.Recording.2025-01-03.at.1.10.27.AM.mov |
Hmm, It seems that the concierge tooltip (unrelated to the filter button tooltip) does not disappear when navigating away for the first time but it disappears when navigating away for the second time: Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-01-02.at.21.12.09.mp4I need to look into this. |
filter button toopltip not visible on small screen Screen.Recording.2025-01-03.at.1.50.02.AM.mov |
same with the other workspace chat tooltip on same page on small screen |
Fixed hiding the tooltip for "rename saved search" tooltip here: 06f1b75 |
…ent-the-product-training-tooltip-is-pointing-to-pr
Updated |
src/components/Tooltip/EducationalTooltip/BaseEducationalTooltip.tsx
Outdated
Show resolved
Hide resolved
Updated |
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! All yours @puneetlath
@@ -69,9 +70,11 @@ function FloatingActionButton({onPress, isActive, accessibilityLabel, role}: Flo | |||
const isNarrowScreenOnWeb = shouldUseNarrowLayout && platform === CONST.PLATFORM.WEB; | |||
const isFocused = useBottomTabIsFocused(); | |||
const [isSidebarLoaded] = useOnyx(ONYXKEYS.IS_SIDEBAR_LOADED, {initialValue: false}); | |||
const isActiveRouteHome = useIsCurrentRouteHome(); |
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.
NAB, but could we use the same terminology here? Either active route or current route.
const isActiveRouteHome = useIsCurrentRouteHome(); | |
const isActiveRouteHome = useIsCurrentRouteHome(); |
@puneetlath looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
I left one NAB and merged with the lint check failing because this PR is already very large and we don't want to add more changes. We can handle those in follow-up. Thanks for the good work y'all! |
✋ 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/puneetlath in version: 9.0.81-0 🚀
|
Explanation of Change
Fixed Issues
$ #54068
$ #54701
PROPOSAL: #54068 (comment)
Tests
Sign in with a new account and complete the onboarding flow.
Concierge Chat Tooltip
FAB (Floating Action Button) Tooltip
QAB (Quick Action Button) Tooltip
Workspace Chat Tooltip
Filter Button Tooltip
Inbox Icon Tooltip
Saved search tooltip
"+" Button Tooltip in Invited Workspace
For all tooltips:
You should be able to interact with any element on the screen. The presence of a tooltip should not restrict interactions.
You should be able to click the element the tooltip is pointing to.
The tooltip should remain visible until you click the element it is pointing to. Interacting with other elements should not dismiss the tooltip except for modals.
Verify that no errors appear in the JS console
Offline 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
Screen.Recording.2025-01-06.at.1.04.25.PM.mov
Screen.Recording.2025-01-06.at.1.00.45.PM.mov
Android: mWeb Chrome
Screen.Recording.2025-01-04.at.10.50.30.PM.mov
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-01-04.at.22.46.57.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-01-04.at.22.49.34.mp4
MacOS: Chrome / Safari
Screen.Recording.2025-01-02.at.5.59.49.PM.mov
MacOS: Desktop
Screen.Recording.2025-01-04.at.10.44.40.PM.mov