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

[UPM-1474]/evgeniy/passkey remove without verification #16764

Merged

Conversation

yauheni-deriv
Copy link
Contributor

@yauheni-deriv yauheni-deriv commented Sep 6, 2024

Changes:

  1. Implemented the flow for removing passkey without verification: components and API hook.
  2. Refactored register and rename hooks to accept onSuccess function. It allowed to refactor passkeys.tsx and remove unnecessary useEffects.
  3. removed import React from 'react'
  4. tracking error moved outside of API hooks
  5. added tracking events
  6. added lazyl oading for passkeys menu to reduce the initial loaded account package size
  7. translation changed to @deriv-com/translations

Screenshots:

Screenshot 2024-09-09 at 13 01 01 Screenshot 2024-09-09 at 13 00 55

Copy link

vercel bot commented Sep 6, 2024

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

Name Status Preview Updated (UTC)
deriv-app ✅ Ready (Inspect) Visit Preview Sep 18, 2024 5:59am

Copy link
Contributor

github-actions bot commented Sep 6, 2024

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/16764](https://github.com/binary-com/deriv-app/pull/16764)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-yauheni-deriv-passkey-remove-without-6ded4c.binary.sx?qa_server=red.derivws.com&app_id=32820
    - **Original**: https://deriv-app-git-fork-yauheni-deriv-passkey-remove-without-6ded4c.binary.sx
- **App ID**: `32820`

Copy link
Contributor

github-actions bot commented Sep 6, 2024

🚨 Lighthouse report for the changes in this PR:

Category Score
🔺 Performance 31
🟧 Accessibility 70
🟢 Best practices 92
🟧 SEO 77
🟧 PWA 78

Lighthouse ran with https://deriv-app-git-fork-yauheni-deriv-passkey-remove-without-6ded4c.binary.sx/

@coveralls
Copy link

coveralls commented Sep 9, 2024

Coverage Status

coverage: 52.229% (-0.01%) from 52.242%
when pulling 2ed39d0 on yauheni-deriv:passkey-remove-without-verification
into 388e5ee on binary-com:master.

amina-deriv
amina-deriv previously approved these changes Sep 9, 2024
Copy link
Contributor

@amina-deriv amina-deriv left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

sonarcloud bot commented Sep 18, 2024

Copy link
Contributor

Generating Lighthouse report...

@amina-deriv amina-deriv merged commit 97eb8c6 into binary-com:master Sep 18, 2024
8 checks passed
amina-deriv added a commit that referenced this pull request Sep 18, 2024
* [UPM-1474]/evgeniy/passkey remove without verification (#16764)

* chore: [UPM-1474]/evgeniy/passkey remove without verification

* fix: import and typo

* fix: error modal overlapping, no paskey page show when no passkey after removing

* chore: test cases

* refactor: remove usequery from getpasskeys

* fix: failing test

* fix: failing tests

* fix: test

* fix: wrong condition to save empty passkey array

* feat(cashier): ✨ support crypto withdrawal transaction redirection from deriv go (#16802)

---------

Co-authored-by: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com>
Co-authored-by: George Usynin <103181646+heorhi-deriv@users.noreply.github.com>
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.

4 participants