Skip to content

[HOLD for payment 2024-08-07] [$250] Web - Profile - Hovering over the zoom tool does not display a tooltip #44029

Closed

Description

@lanitochka17

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 1.4.85-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/a
Issue reported by: Applause - Internal Team

Action Performed:

Prerequisite: The user is logged in to the website.

  1. Navigate to account Settings > Profile
  2. Click on the avatar
  3. Click on upload photo and upload any JPEG image
  4. Hover over the zoom tool

Expected Result:

A tooltip is displayed indicating the zoom tool

Actual Result:

A tooltip is not displayed when the user hovers over the zoom tool

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6517909_1718758371346.No_tooltip.mp4

No_tooltip

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016a8bfe25d7d10e4d
  • Upwork Job ID: 1805408259060604733
  • Last Price Increase: 2024-06-25
  • Automatic offers:
    • ishpaul777 | Reviewer | 102948392
    • Krishna2323 | Contributor | 102948394
Issue OwnerCurrent Issue Owner: @ishpaul777

Activity

  1. added
    Daily
    Bug
    on Jun 19, 2024
  2. melvin-bot commented on Jun 19, 2024

    @melvin-bot

    Triggered auto assignment to @greg-schroeder (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. Krishna2323 commented on Jun 19, 2024

    @Krishna2323
    Contributor

    Proposal

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

    Web - Profile - Hovering over the zoom tool does not display a tooltip

    What is the root cause of that problem?

    The tooltip doesn't work because of styles.pointerEventsNone.

    <Tooltip
    text={translate('common.zoom')}
    shiftVertical={-2}
    >
    {/* pointerEventsNone is a workaround to make sure the pan gesture works correctly on mobile safari */}
    <View style={[styles.sliderKnobTooltipView, styles.pointerEventsNone]} />
    </Tooltip>

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

    Since the styles.pointerEventsNone style is applied for mobile safari and hover doesn't work on touch enabled devices, we can add a check to only add that style for mobile safari.

    <View style={[styles.sliderKnobTooltipView, Browser.isMobileSafari() && styles.pointerEventsNone]} />

    What alternative solutions did you explore? (Optional)

  4. truph01 commented on Jun 20, 2024

    @truph01
    Contributor

    Proposal

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

    A tooltip is not displayed when the user hovers over the zoom tool

    What is the root cause of that problem?

    • In this PR, we add a logic to display the Slider tooltip:

      {tooltipIsVisible && (
      <Tooltip
      text={translate('common.zoom')}
      shiftVertical={-2}
      >
      {/* pointerEventsNone is a workaround to make sure the pan gesture works correctly on mobile safari */}
      <View style={[styles.sliderKnobTooltipView, styles.pointerEventsNone]} />
      </Tooltip>
      )}

    • It will make sure when slider is panning, the tooltip does not display.

    • Then in this PR, we need to add the styles.pointerEventsNone to make sure the pan gesture works correctly on mobile safari.

    • And because of styles.pointerEventsNone, the tooltip is not displayed in desktop when hovering over the slider.

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

    • Because the tooltip only appears in the device that has hover support, so we can remove the:
      {tooltipIsVisible && (
      <Tooltip
      text={translate('common.zoom')}
      shiftVertical={-2}
      >
      {/* pointerEventsNone is a workaround to make sure the pan gesture works correctly on mobile safari */}
      <View style={[styles.sliderKnobTooltipView, styles.pointerEventsNone]} />
      </Tooltip>
      )}

      if DeviceCapabilities.hasHoverSupport() is false then remove styles.pointerEventsNone styles. Below is detail:
    {tooltipIsVisible && hasHoverSupport && (
                            <Tooltip
                                text={translate('common.zoom')}
                                shiftVertical={-2}
                            >
                                <View style={[styles.sliderKnobTooltipView]} />
                            </Tooltip>
                        )}
    

    What alternative solutions did you explore? (Optional)

  5. added
    External
    on Jun 25, 2024
  6. changed the title [-]Web - Profile - Hovering over the zoom tool does not display a tooltip[/-] [+][$250] Web - Profile - Hovering over the zoom tool does not display a tooltip[/+] on Jun 25, 2024
  7. greg-schroeder commented on Jun 25, 2024

    @greg-schroeder
    Contributor

    Sent through for proposal review

  8. melvin-bot commented on Jun 25, 2024

    @melvin-bot
  9. added
    Help Wanted
    and removed on Jun 25, 2024
  10. melvin-bot commented on Jun 25, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 (External)

  11. 42 remaining items

  12. melvin-bot commented on Jul 30, 2024

    @melvin-bot

    @neil-marcellini, @greg-schroeder, @Krishna2323, @ishpaul777 Eep! 4 days overdue now. Issues have feelings too...

  13. ishpaul777 commented on Jul 30, 2024

    @ishpaul777
    Contributor

    Sadly yes, the process is taking longer than expected, i'll wait for one more week otherwise will take the payment. Thanks for you patience 🙇

  14. added
    Weekly
    and removed
    Daily
    on Jul 31, 2024
  15. changed the title [-][HOLD for payment 2024-08-01] [$250] Web - Profile - Hovering over the zoom tool does not display a tooltip[/-] [+][HOLD for payment 2024-08-07] [$250] Web - Profile - Hovering over the zoom tool does not display a tooltip[/+] on Jul 31, 2024
  16. added
    Daily
    and removed
    Weekly
    on Jul 31, 2024
  17. greg-schroeder commented on Aug 5, 2024

    @greg-schroeder
    Contributor

    Hanging tight until @ishpaul777 can get his situation fixed up!

  18. ishpaul777 commented on Aug 5, 2024

    @ishpaul777
    Contributor

    Thanks for holding payment @greg-schroeder, feel free to release whenever you get chance. 🙇

  19. greg-schroeder commented on Aug 5, 2024

    @greg-schroeder
    Contributor

    Done!

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions