Skip to content

Conversation

@maryia-deriv
Copy link
Contributor

Changes:

  • Fix information tooltips in responsive that currently require holding i button. Information tooltips should remain open after releasing i button after clicking it.
  • Ensure that all icons in mobile header of 'Trader's hub' open links (if they have any) upon the 1st click on all mobile devices including iOS because this task also includes partial reversion of changes from chore:Fix tap twice for manage account #9562

Screenshots:

Please provide some screenshots of the change.

@vercel
Copy link

vercel bot commented Oct 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
deriv-app ✅ Ready (Inspect) Visit Preview Nov 2, 2023 10:43am

}
};
}
return undefined;
Copy link
Contributor Author

@maryia-deriv maryia-deriv Oct 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reversion of changes from #9562 that caused all popovers (tooltips) in DTrader to require a long tap instead of a single tap.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine.
@suisin-deriv Please take note. The touch events handler should be on its own hook. It should not be related to the use-hover hook.

<Popover
alignment='bottom'
classNameBubble='account-settings-toggle__tooltip'
message={<Localize i18n_default_text='Manage account settings' />}
Copy link
Contributor Author

@maryia-deriv maryia-deriv Oct 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This DefaultMobileLinks component is rendered for mobile only, and we don't need this popover tooltip for binary link to Account Settings in mobile since there is no hover in mobile, and it should redirect immediately as per requirements.
*Note: Even with this popover, it was always working for Android but not for iOS. Hence, removing to have consistent behavior across devices.

classNameBubble='account-settings-toggle__tooltip'
alignment='bottom'
message={<Localize i18n_default_text='View onboarding' />}
message={!is_mobile && <Localize i18n_default_text='View onboarding' />}
Copy link
Contributor Author

@maryia-deriv maryia-deriv Oct 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In mobile, we don't need a popover tooltip for this icon that redirects to Onboarding since there is no hover in mobile, and it should redirect immediately as per requirements.
*Note: Even with this popover, it was always working for Android but not for iOS. Hence, removing to have consistent behavior across devices.

@coveralls
Copy link

coveralls commented Oct 29, 2023

Coverage Status

coverage: 26.45% (+0.009%) from 26.441% when pulling c0043c3 on maryia-deriv:maryia/dtra-453-2/popovers-fix into e6f5568 on binary-com:master.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 29, 2023

A production App ID was automatically generated for this PR. (log)

Click here to copy & paste above information.
- **PR**: [https://github.com/binary-com/deriv-app/pull/11027](https://github.com/binary-com/deriv-app/pull/11027)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-maryia-deriv-maryia-dtra-453-2popovers-fix.binary.sx?qa_server=red.derivws.com&app_id=30366
    - **Original**: https://deriv-app-git-fork-maryia-deriv-maryia-dtra-453-2popovers-fix.binary.sx
- **App ID**: `30366`

@github-actions
Copy link
Contributor

github-actions bot commented Oct 29, 2023

🚨 Lighthouse report for the changes in this PR:

Category Score
🔺 Performance 15
🟧 Accessibility 75
🟢 Best practices 92
🟧 SEO 85
🟧 PWA 80

Lighthouse ran with https://deriv-app-git-fork-maryia-deriv-maryia-dtra-453-2popovers-fix.binary.sx/

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@maryia-deriv maryia-deriv merged commit c501f78 into deriv-com:master Nov 2, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Nov 2, 2023

🚀 Smoke test run (2) passed successfully!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants