This repository was archived by the owner on Jul 31, 2026. It is now read-only.
Commit 6462558
[UPM] evgeniy/suisin/utkarsha/upm-393/ add Passkeys for responsive (#12587)
* feat: Passkeys init commit
* trigger build
* fix: resolve conflicts, update package lock
* chore: test for useIsPasskeySupported hook
* chore: restore jest config
* chore: remove unneccesary comment
* chore: hook code refactor
* chore: upm-405,upm-407,upm-408: not set screen, lern more screen, fetch hook
* chore: review comments, fix for jest config
* fix: types error
* refactor: review comments
* refactor: move get passkeys key hook to hooks from api
* refactor: remove quill
* chore: register passkey, passkeys-list
* fix: publicKeyCredential type
* chore: added passkey icons
* chore: learnmore back button, passkey list css
* chore: refactor flow, added status content, styles fix
* chore: added name to passkey_register
* chore: register request fix
* chore: update not-set page
* chore: success page content update
* chore: added console logs
* chore: update icons
* chore: code refactor, updates with design
* chore: tests for components, code refactor
* chore: useregister refactor
* fix: unnecessary fragment remove
* fix: mock passkey remove
* refactor: status handling, test cases
* fix: time calculation, consolelog remove
* fix: last_used name field
* chore: added console log for tracking registration errors
* chore: initial test for useRegisterPasskey
* chore: passkey modal for errors add
* chore: added modal to status component
* chore: new icon
* chore: effortless login page content
* chore: status wrapper refactor
* chore: error content config init
* chore: removed modal from status component
* chore: remove route function refactor, context value removed
* chore: error flow and show in modal
* chore: style fix for error content
* chore: useregister passkey refactor
* refactor: content change, hook refactor
* chore: never used passkey
* chore: implement reload logic
* refactor: remove usequery for registration
* chore: is passkey_supported fix
* chore: test fix, udpate content
* Suisin/chore: create effortless login modal (#40)
* chore: create effortless login modal
* chore: update test case for effortless login modal
* chore: learn more effortless login, useshowmodal refactor
* chore: fix tests, removed test for useregister
* chore: first login modal logic refactor
* chore: show effortless page tests
* refactor: register hook new logic with additional step, tests
* chore: new creation flow
* chore: update design
* fix: test cases
* chore: unnesesary code line remove
* chore: review comments
* chore: add feature flag for passkeys using growthbook (#41)
* chore: add feature flag for passkeys using growthbook
* feat: add growthbook feature flag handling
* test: modify testcases for useIsPasskeySupported hook
* feat: add a condition to check if growthbook feature i loaded and then trigger checkPaaskeySupport
* fix: remove comment
* fix: remove typecasting and use git add . instead
* fix: typo
* chore: review comments part 1
* chore: review comments part 2
* fix: growthbook fetching value
* chore: null case for passkey feature flag
* chore: review comments
* chore: review comments
* chore: remove isPasskeySupported hook, added logic to client store
* fix: test cases
* fix: show modal hook test
* fix: load passkey list when the feature is off on BE
* fix: modal text blinckig, css full height
* chore: switch off feature flag, add delay for closing modal
* fix: close reminder modal before creation
* fix: failing test
* chore: feature flag fetching
* fix: bullets color for darkmode
* chore: exclude errors coming from terminating process by user side
* chore: separate root for effortless modal, added network status pop up
* chore: trigger build
* fix: tests, modal opening
* fix: effortless modal in signup, tests
* chore: fix modal appearing
* fix: analytics connection trigger
* fix: move effortless ,odal logic to client store
* fix: test for effortless modal
* chore: well-known files update
---------
Co-authored-by: Sui Sin <103026762+suisin-deriv@users.noreply.github.com>
Co-authored-by: utkarsha-deriv <125863995+utkarsha-deriv@users.noreply.github.com>1 parent e7c12ed commit 6462558
79 files changed
Lines changed: 2733 additions & 164 deletions
File tree
- packages
- account/src
- Constants
- Containers
- Account
- Helpers
- Sections
- Security/Passkeys
- __tests__
- components
- __tests__
- Types
- api
- components
- src/components/icon
- common
- stories/icon
- core
- src
- App
- Components/Layout/Header
- Constants
- Containers
- EffortlessLoginModal
- __test__
- Modals
- Stores
- public/.well-known
- hooks
- src
- __tests__
- p2p
- stores
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
120 | 127 | | |
121 | 128 | | |
122 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
9 | | - | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| 39 | + | |
33 | 40 | | |
34 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
35 | 55 | | |
36 | | - | |
| 56 | + | |
37 | 57 | | |
38 | 58 | | |
39 | 59 | | |
40 | 60 | | |
41 | 61 | | |
42 | 62 | | |
43 | | - | |
| 63 | + | |
44 | 64 | | |
45 | 65 | | |
46 | 66 | | |
| |||
81 | 101 | | |
82 | 102 | | |
83 | 103 | | |
84 | | - | |
| 104 | + | |
85 | 105 | | |
86 | 106 | | |
87 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | 202 | | |
206 | 203 | | |
207 | 204 | | |
| |||
0 commit comments