Skip to content
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

[$500] [HOLD for payment 2025-02-04] Make clicking an onboarding tooltip do the action that the tooltip is pointing to #55371

Closed
puneetlath opened this issue Jan 16, 2025 · 25 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@puneetlath
Copy link
Contributor

puneetlath commented Jan 16, 2025

Right now, clicking on our onboarding tooltips does nothing. Let's update this so that clicking on the tooltip does the action that the tooltip is pointing to that would cause it to be dismissed. For example, if the tooltip is pointing at the workspace chat and someone clicks on the tooltip, let's open the workspace chat. Or if the tooltip is pointing to the Global Create button and someone clicks on the tooltip, let's open the Global Create dialog.

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021886912858247277719
  • Upwork Job ID: 1886912858247277719
  • Last Price Increase: 2025-02-05
@puneetlath puneetlath added Daily KSv2 NewFeature Something to build that is a new item. labels Jan 16, 2025
@puneetlath puneetlath self-assigned this Jan 16, 2025
Copy link

melvin-bot bot commented Jan 16, 2025

Triggered auto assignment to @kadiealexander (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jan 16, 2025
Copy link

melvin-bot bot commented Jan 16, 2025

⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️

Copy link

melvin-bot bot commented Jan 16, 2025

Triggered auto assignment to Design team member for new feature review - @dannymcclain (NewFeature)

@daledah
Copy link
Contributor

daledah commented Jan 17, 2025

🚨 Edited by proposal-police: This proposal was edited at 2025-01-17 00:34:19 UTC.

Proposal

Please re-state the problem that we are trying to solve in this issue.

Make clicking an onboarding tooltip do the action that the tooltip is pointing to

What is the root cause of that problem?

It is new feature. Don't need root cause.

What changes do you think we should make in order to solve the problem?

  1. In here introduce an additional param, onPress = () => {}.

Then we wrap the renderProductTrainingTooltip here by

            <PressableWithFeedback
                onPress={() => {
                    onPress?.();
                    hideProductTrainingTooltip();
                }}
            >
  1. When using the EducationalTooltip, for example, in:
    <EducationalTooltip
    , pass the 3rd param to the useProductTrainingContext. In this case it is toggleFabAction:
    const toggleFabAction = (event: GestureResponderEvent | KeyboardEvent | undefined) => {
        // Drop focus to avoid blue focus ring.
        fabPressable.current?.blur();
        onPress();
    };
    const {renderProductTrainingTooltip, shouldShowProductTrainingTooltip, hideProductTrainingTooltip} = useProductTrainingContext(
        CONST.PRODUCT_TRAINING_TOOLTIP_NAMES.GLOBAL_CREATE_TOOLTIP,
        // On Home screen, We need to wait for the sidebar to load before showing the tooltip because there is the Concierge tooltip which is higher priority
        isFocused && (!isActiveRouteHome || isSidebarLoaded),
        toggleFabAction,
    );

Note: In the toggleFabAction above, I removed hideProductTrainingTooltip() since we already called it in step 1, after onPress?.(). But we still need to call that function in here.

  1. We need to disable these styles if isEducationTooltip is true to make sure user can click on tooltip content.

  2. Apply the similar logic to other EducationTooltip.

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

None

What alternative solutions did you explore? (Optional)

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jan 17, 2025
Copy link
Contributor

⚠️ @daledah Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format (note the mandatory sections).

Copy link

melvin-bot bot commented Jan 20, 2025

@puneetlath, @dannymcclain, @kadiealexander, @ishpaul777 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@ishpaul777
Copy link
Contributor

Draft PR is up #55454 just need some testing then i'll open up for review

@melvin-bot melvin-bot bot removed the Overdue label Jan 20, 2025
@rayane-d
Copy link
Contributor

@puneetlath I can review this PR as I worked on this project with @ishpaul777 Could you please assign me?

@flaviadefaria flaviadefaria moved this to First Cohort - HIGH in [#whatsnext] #migrate Jan 21, 2025
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 Weekly KSv2 labels Jan 21, 2025
@melvin-bot melvin-bot bot added the Awaiting Payment Auto-added when associated PR is deployed to production label Jan 28, 2025
@melvin-bot melvin-bot bot changed the title Make clicking an onboarding tooltip do the action that the tooltip is pointing to [HOLD for payment 2025-02-04] Make clicking an onboarding tooltip do the action that the tooltip is pointing to Jan 28, 2025
Copy link

melvin-bot bot commented Jan 28, 2025

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 28, 2025
Copy link

melvin-bot bot commented Jan 28, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.89-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2025-02-04. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jan 28, 2025

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 3, 2025
@rayane-d
Copy link
Contributor

rayane-d commented Feb 3, 2025

Regression Test Proposal

#### Precondition:

- Sign in with a new account and complete the onboarding flow.

#### Test:

### For all product training tooltips (Concierge chat, FAB, QAB, Workspace chat, Filters button, Inbox Icon, Saved search three dots, "+" button tooltip in invited workspace chat):

1. Click the tooltip.
2. Verify that:
- The tooltip is dismissed after clicking.
- The action associated with the element the tooltip is pointing to is performed.
- The tooltip does not reappear.



1. Sign in with a new account and complete the onboarding flow. 
2. Verify that the tooltip appears on the FAB.
3. Click the tooltip and verify the FAB menu opens. Close the menu.
4. Verify that a tooltip appears on the concierge. Click the tooltip and verify the concierge chat opens. Close the chat.
5. Create a workspace and go to the inbox. Verify that a tooltip appears on the workspace chat. Click the tooltip and verify the workspace chat opens. Close the chat.
6. Open the FAB. Verify that a tooltip appears on the QAB. Click the tooltip and verify you are redirected to the "Submit Expense" flow.
7. Open the search page. Verify that a tooltip appears on the filter button. Click the tooltip and verify the filter page opens.


Do we agree 👍 or 👎

Copy link

melvin-bot bot commented Feb 3, 2025

📣 @rayane-d! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Make sure you've read and understood the contributing guidelines.
  2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@rayane-d
Copy link
Contributor

rayane-d commented Feb 3, 2025

Contributor details
Your Expensify account email: [email protected]
Upwork Profile Link: https://www.upwork.com/freelancers/~01af33a55f4988a74b

Copy link

melvin-bot bot commented Feb 3, 2025

⚠️ Unable to store contributor details.

Copy link

melvin-bot bot commented Feb 4, 2025

Payment Summary

Upwork Job

BugZero Checklist (@kadiealexander)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@rayane-d
Copy link
Contributor

rayane-d commented Feb 4, 2025

Requested in NewDot

@kadiealexander kadiealexander added the External Added to denote the issue can be worked on by a contributor label Feb 4, 2025
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2025-02-04] Make clicking an onboarding tooltip do the action that the tooltip is pointing to [$250] [HOLD for payment 2025-02-04] Make clicking an onboarding tooltip do the action that the tooltip is pointing to Feb 4, 2025
Copy link

melvin-bot bot commented Feb 4, 2025

Job added to Upwork: https://www.upwork.com/jobs/~021886912858247277719

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 4, 2025
Copy link

melvin-bot bot commented Feb 4, 2025

Current assignees @rayane-d and @ishpaul777 are eligible for the External assigner, not assigning anyone new.

@kadiealexander kadiealexander removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 4, 2025
@kadiealexander
Copy link
Contributor

@ishpaul777 please accept the offer!

@ishpaul777
Copy link
Contributor

hey @kadiealexander! can we please adjust the pricing to $500 there were many changes in PR and also there was another follow-up PR (#55663) with kind of unrelated to this which also took some effort. so I feel the amount to be justified. Thanks for your consideration!

cc @puneetlath

@kadiealexander kadiealexander changed the title [$250] [HOLD for payment 2025-02-04] Make clicking an onboarding tooltip do the action that the tooltip is pointing to [$500] [HOLD for payment 2025-02-04] Make clicking an onboarding tooltip do the action that the tooltip is pointing to Feb 5, 2025
Copy link

melvin-bot bot commented Feb 5, 2025

Upwork job price has been updated to $500

@kadiealexander
Copy link
Contributor

@ishpaul777 updated the offer!

@ishpaul777
Copy link
Contributor

Thanks you! Accepted!

@kadiealexander
Copy link
Contributor

Payment summary here.

@github-project-automation github-project-automation bot moved this from Second Cohort - HIGH to Done in [#whatsnext] #migrate Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
Development

No branches or pull requests

6 participants