From 17c72a020e8a17bb446bb402930c761da6fcf25a Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Mon, 15 Dec 2025 14:28:39 +0200 Subject: [PATCH] refactor(auth): redesign session authentication form --- .../src/components/auth/SessionAuthGate.tsx | 108 +++++++++--------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/packages/ui/src/components/auth/SessionAuthGate.tsx b/packages/ui/src/components/auth/SessionAuthGate.tsx index 8de6c434..4ab44208 100644 --- a/packages/ui/src/components/auth/SessionAuthGate.tsx +++ b/packages/ui/src/components/auth/SessionAuthGate.tsx @@ -1,7 +1,7 @@ import React from 'react'; +import { RiLockLine, RiLockUnlockLine, RiLoader4Line } from '@remixicon/react'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; -import { OpenCodeIcon } from '@/components/ui/OpenCodeIcon'; import { isDesktopRuntime, isVSCodeRuntime } from '@/lib/desktop'; import { syncDesktopSettings, initializeAppearancePreferences } from '@/lib/persistence'; import { applyPersistedDirectoryPreferences } from '@/lib/directoryPersistence'; @@ -64,19 +64,16 @@ const LoadingScreen: React.FC<{ message?: string }> = ({ message = 'Preparing wo const ErrorScreen: React.FC<{ onRetry: () => void }> = ({ onRetry }) => ( -
-
-
- -
+
+

Unable to reach server

-

+

We couldn't verify the UI session. Check that the service is running and try again.

-
+
); @@ -202,54 +199,57 @@ export const SessionAuthGate: React.FC = ({ children }) => if (state === 'locked') { return ( -
-
-
- -
-
-

Unlock OpenChamber

-

- Enter the password configured for this web session. -

-
+
+
+

+ Unlock OpenChamber +

+

+ This session is password-protected. +

-
-
-