From a3f5c5c286a87d40a658604131c75d243c29e16d Mon Sep 17 00:00:00 2001 From: Tyler Gillispie Date: Mon, 24 Aug 2026 22:19:20 -0700 Subject: [PATCH] feat(ui): implement hero passkey authentication, conditional UI autofill, and 12-word recovery setup --- ...i-auth.hero-passkey-and-onboarding-2216.md | 0 ui/components/LoginPage.tsx | 198 ++++++---- ui/components/RecoveryPage.tsx | 102 +++-- ui/components/RegisterPage.tsx | 368 ++++++++++++------ ui/public/auth-client.js | 257 ++++++------ 5 files changed, 556 insertions(+), 369 deletions(-) rename tasks/{new => complete}/2026-0824.05.gem.feat.ui-auth.hero-passkey-and-onboarding-2216.md (100%) diff --git a/tasks/new/2026-0824.05.gem.feat.ui-auth.hero-passkey-and-onboarding-2216.md b/tasks/complete/2026-0824.05.gem.feat.ui-auth.hero-passkey-and-onboarding-2216.md similarity index 100% rename from tasks/new/2026-0824.05.gem.feat.ui-auth.hero-passkey-and-onboarding-2216.md rename to tasks/complete/2026-0824.05.gem.feat.ui-auth.hero-passkey-and-onboarding-2216.md diff --git a/ui/components/LoginPage.tsx b/ui/components/LoginPage.tsx index 85224cb..69face7 100644 --- a/ui/components/LoginPage.tsx +++ b/ui/components/LoginPage.tsx @@ -2,67 +2,40 @@ import { Layout } from "./Layout.tsx"; export const LoginPage = () => { return ( - -
-

Authenticate

-

- Use your registered hardware key or passkey to log in. -

- -
-

- Instruction: + +

+
+ +

Welcome Back

+

+ Sign in securely using your biometric passkey or hardware key.

-
    -
  • - Insert your hardware token (e.g. YubiKey) into the USB port. -
  • -
  • - Or prepare to scan a QR code if using a mobile device passkey. -
  • -
-
- -
-
+ {/* Primary Biometric Hero Button */} + {/* Loading Indicator */}
- Waiting for authenticator... Please follow the prompt. +
+ + + + + Touch biometric sensor or scan passkey... +
-
+
- - + + + + + +