Skip to content

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

Closed

Description

@puneetlath

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
Issue OwnerCurrent Issue Owner: @kadiealexander

Activity

  1. self-assigned this
    on Jan 16, 2025
  2. melvin-bot commented on Jan 16, 2025

    @melvin-bot

    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.

  3. melvin-bot commented on Jan 16, 2025

    @melvin-bot

    ⚠️ 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 ⚠️

  4. melvin-bot commented on Jan 16, 2025

    @melvin-bot

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

  5. daledah commented on Jan 17, 2025

    @daledah
    Contributor

    🚨 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)

  6. 35 remaining items

  7. ishpaul777 commented on Feb 5, 2025

    @ishpaul777
    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

  8. 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[/+] on Feb 5, 2025
  9. melvin-bot commented on Feb 5, 2025

    @melvin-bot

    Upwork job price has been updated to $500

  10. kadiealexander commented on Feb 5, 2025

    @kadiealexander
    Contributor

    @ishpaul777 updated the offer!

  11. ishpaul777 commented on Feb 5, 2025

    @ishpaul777
    Contributor

    Thanks you! Accepted!

  12. kadiealexander commented on Feb 5, 2025

    @kadiealexander
    Contributor

    Payment summary here.

  13. moved this from Second Cohort - HIGH to Done in [#whatsnext] #migrateon Feb 5, 2025
  14. garrettmknight commented on Feb 11, 2025

    @garrettmknight
    Contributor

    @kadiealexander can you update the payment summary too?

  15. kadiealexander commented on Feb 17, 2025

    @kadiealexander
    Contributor

    Updated, sorry @garrettmknight!

  16. garrettmknight commented on Feb 19, 2025

    @garrettmknight
    Contributor

    $500 approved for @rayane-d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2ExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions