From be3bbea7aaa21b0102451242d811e913c91ad57c Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Tue, 9 Jun 2026 17:13:18 +0000 Subject: [PATCH] Refine coaching UI and add audio recording --- frontend/src/layouts/Authenticated.tsx | 28 +-- frontend/src/pages/client-portal.tsx | 67 ++++--- frontend/src/pages/clients.tsx | 89 +++++---- frontend/src/pages/dashboard.tsx | 56 +++--- frontend/src/pages/how-it-works.tsx | 89 ++++----- frontend/src/pages/index.tsx | 80 ++++---- frontend/src/pages/intake-leads.tsx | 39 ++-- frontend/src/pages/intake.tsx | 27 +-- frontend/src/pages/login.tsx | 33 ++-- frontend/src/pages/profile.tsx | 18 +- frontend/src/pages/register.tsx | 27 ++- frontend/src/pages/session-memory.tsx | 248 +++++++++++++++++++----- frontend/src/pages/users/users-list.tsx | 12 +- 13 files changed, 481 insertions(+), 332 deletions(-) diff --git a/frontend/src/layouts/Authenticated.tsx b/frontend/src/layouts/Authenticated.tsx index e3b4c98..8a4bbeb 100644 --- a/frontend/src/layouts/Authenticated.tsx +++ b/frontend/src/layouts/Authenticated.tsx @@ -170,11 +170,11 @@ export default function LayoutAuthenticated({ children, permission }: Props) { >
- + CW - + AppWizzy @@ -184,15 +184,15 @@ export default function LayoutAuthenticated({ children, permission }: Props) {
-
-

+

+

Today

@@ -211,10 +211,10 @@ export default function LayoutAuthenticated({ children, permission }: Props) { @@ -224,8 +224,8 @@ export default function LayoutAuthenticated({ children, permission }: Props) { })} -

-

+

+

Signed in

@@ -233,7 +233,7 @@ export default function LayoutAuthenticated({ children, permission }: Props) {

-

+

Workspace status

@@ -276,7 +276,7 @@ export default function LayoutAuthenticated({ children, permission }: Props) {

Public site diff --git a/frontend/src/pages/client-portal.tsx b/frontend/src/pages/client-portal.tsx index 37c1cb7..851f4ea 100644 --- a/frontend/src/pages/client-portal.tsx +++ b/frontend/src/pages/client-portal.tsx @@ -48,7 +48,7 @@ function Panel({ }) { return (
{children}
@@ -180,9 +180,9 @@ const ClientPortal = () => { const openItems = (portalClient?.action_items || []).filter((item) => { return item.status !== 'done'; }); - const finishedCount = - (portalClient?.action_items || []).filter((item) => item.status === 'done') - .length; + const finishedCount = (portalClient?.action_items || []).filter( + (item) => item.status === 'done', + ).length; const latestSession = portalClient?.sessions?.[0]; return ( @@ -193,14 +193,14 @@ const ClientPortal = () => {
{!isClientUser && ( - -
-
+
updateValue('goal', event.target.value)} + onChange={(event) => + updateValue('goal', event.target.value) + } className={fieldClass} /> @@ -197,7 +198,7 @@ export default function Intake() { /> -