From 802a77b568d8d53f1d17040dbd2f9dd838bc2263 Mon Sep 17 00:00:00 2001 From: NicolasCantu Date: Thu, 23 Oct 2025 20:18:05 +0200 Subject: [PATCH] refactor: Simplify pairing interface with direct WebAuthn flow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Motivations :** - Simplify user experience with single authentication flow - Remove confusing mode selection interface - Hide 4 words display (will be used later in interface) - Direct WebAuthn authentication for both new and existing pairings **Modifications :** - Replaced mode selection with single pairing interface - Added logic to detect existing credentials vs new pairing - Removed 4 words display from pairing process - Simplified HTML structure with single main interface - Updated JavaScript logic for direct WebAuthn flow **Pages affectΓ©es :** - src/pages/home/home.html - Simplified to single interface - src/pages/home/home.ts - Added direct WebAuthn flow logic - src/utils/sp-address.utils.ts - Removed 4 words display --- src/pages/home/home.html | 76 ++------------------ src/pages/home/home.ts | 126 +++++++++++++++++++--------------- src/utils/sp-address.utils.ts | 4 -- 3 files changed, 78 insertions(+), 128 deletions(-) diff --git a/src/pages/home/home.html b/src/pages/home/home.html index bdf3323..6cc37aa 100755 --- a/src/pages/home/home.html +++ b/src/pages/home/home.html @@ -1,85 +1,21 @@
- -
+ +

πŸ” 4NK Pairing

-

Choose your role in the pairing process

-
- -
- - - -
-
- - -