From 1ec63e3b2078909d53103956f0643367c0a625c4 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Mon, 15 Sep 2025 14:08:51 +0530 Subject: [PATCH 1/2] Improve we call experience and add tooltips --- ui/Dockerfile | 1 + ui/src/app/create-workflow/layout.tsx | 14 -- ui/src/app/create-workflow/page.tsx | 14 +- ui/src/app/layout.tsx | 9 +- .../components/WorkflowHeader.tsx | 28 +++- .../[workflowId]/run/[runId]/BrowserCall.tsx | 150 ++++++++++++++++++ .../[workflowId]/run/[runId]/Pipecat.tsx | 114 ------------- .../run/[runId]/components/AudioControls.tsx | 121 +++++++------- .../[runId]/components/ConnectionStatus.tsx | 48 ++++-- .../run/[runId]/components/index.ts | 1 - .../run/[runId]/hooks/useWebRTC.tsx | 27 ++-- .../[workflowId]/run/[runId]/page.tsx | 12 +- ui/src/components/header/BaseHeader.tsx | 14 +- .../onboarding/OnboardingTooltip.tsx | 139 ++++++++++++++++ ui/src/context/OnboardingContext.tsx | 83 ++++++++++ 15 files changed, 535 insertions(+), 240 deletions(-) delete mode 100644 ui/src/app/create-workflow/layout.tsx create mode 100644 ui/src/app/workflow/[workflowId]/run/[runId]/BrowserCall.tsx delete mode 100644 ui/src/app/workflow/[workflowId]/run/[runId]/Pipecat.tsx create mode 100644 ui/src/components/onboarding/OnboardingTooltip.tsx create mode 100644 ui/src/context/OnboardingContext.tsx diff --git a/ui/Dockerfile b/ui/Dockerfile index 126c7cc..3d0b757 100644 --- a/ui/Dockerfile +++ b/ui/Dockerfile @@ -4,6 +4,7 @@ WORKDIR /app ENV NEXT_PUBLIC_NODE_ENV=local ENV NEXT_PUBLIC_AUTH_PROVIDER=local +ENV NEXT_PUBLIC_DEPLOYMENT_MODE=oss ENV NEXT_PUBLIC_BACKEND_URL="http://localhost:8000" ENV BACKEND_URL="http://api:8000" diff --git a/ui/src/app/create-workflow/layout.tsx b/ui/src/app/create-workflow/layout.tsx deleted file mode 100644 index b4c0657..0000000 --- a/ui/src/app/create-workflow/layout.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import BaseHeader from "@/components/header/BaseHeader" - -export default function CreateWorkflowLayout({ - children, -}: { - children: React.ReactNode -}) { - return ( - <> - - {children} - - ) -} diff --git a/ui/src/app/create-workflow/page.tsx b/ui/src/app/create-workflow/page.tsx index e043459..91a4acb 100644 --- a/ui/src/app/create-workflow/page.tsx +++ b/ui/src/app/create-workflow/page.tsx @@ -79,7 +79,7 @@ export default function CreateWorkflowPage() { }; return ( -
+

@@ -115,11 +115,8 @@ export default function CreateWorkflowPage() {

-
- Which serves the use case: + For the use case of
-
- Which can: + Which can