From f3bae8ae0ccfac57220d4837594516a44427bf1b Mon Sep 17 00:00:00 2001 From: Alvaro Parker Date: Wed, 7 Oct 2026 09:58:51 -0300 Subject: [PATCH] refactor(frontend): migrate page layout and transcripts to Tailwind --- vocero-frontend/src/App.tsx | 128 ++++++++++-------- vocero-frontend/src/components/Bubbles.tsx | 18 ++- .../src/components/Conversation.tsx | 125 +++++++++++------ .../src/components/ReportsPanel.tsx | 18 ++- .../src/components/WakeWordControl.tsx | 10 +- vocero-frontend/src/styles.css | 1 + vocero-frontend/src/styles/surfaces.css | 64 +++++++++ vocero-frontend/src/styles/theme.css | 27 ++++ 8 files changed, 279 insertions(+), 112 deletions(-) create mode 100644 vocero-frontend/src/styles/surfaces.css diff --git a/vocero-frontend/src/App.tsx b/vocero-frontend/src/App.tsx index 4df3617..4fd4200 100644 --- a/vocero-frontend/src/App.tsx +++ b/vocero-frontend/src/App.tsx @@ -8,6 +8,7 @@ import { ReportsPanel } from "./components/ReportsPanel"; import { AboutDialog, ProfileDialog, RagDialog, SettingsDialog, ToolsDialog } from "./components/SettingsDialogs"; import { VoiceStage } from "./components/VoiceStage"; import { WakeWordControl } from "./components/WakeWordControl"; +import { Button, DialogFooter, DialogIntro, IconButton } from "./components/ui"; import { useMediaQuery } from "./hooks/use-media-query"; import { initials, profileName } from "./lib/context"; import { isDebug } from "./lib/settings"; @@ -59,26 +60,28 @@ export default function App() { }; if (state.loading) { return ( -
+
Preparando Vocero…
); } if (!state.configReady) { return ( -
-
+
+

No pudimos preparar Vocero

{state.configError}

- +
); @@ -92,49 +95,53 @@ export default function App() { controller.dismissUnlock(); }} > -

+ Activa el micrófono para hablar con Vocero. Puedes detener la conversación en cualquier momento. -

-
- - -
+ + )} -
-
-
-
-
+
+
+
+
+

- + Vocero

- {white &&

Agente conversacional

} + {white && ( +

+ Agente conversacional +

+ )}
{white && name && ( + )} {debug && ( -
- - - - +
)}
{state.error && ( -
+
{state.error} - +
)} @@ -251,11 +257,21 @@ export default function App() { {modal === "rag" && } {modal === "profile" && } {modal === "about" && } -