From 77578d13a835471e60860c271988c34e89357144 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 7 Mar 2026 13:40:57 +0000 Subject: [PATCH] Fix VoiceInput unescaped entities and improve EmptyState visuals This commit addresses the following: - Fixes `react/no-unescaped-entities` errors in `components/VoiceInput.tsx`. - Visually improves `components/EmptyState.tsx` by adding a hover scale animation to the icon and an extra encouraging message. - Reverts unintended `pnpm-lock.yaml` changes. - Removes unused `check-csp.ts` placeholder script. Co-authored-by: APPLEPIE6969 <242827480+APPLEPIE6969@users.noreply.github.com> --- check-csp.ts | 5 ----- components/EmptyState.tsx | 7 +++++-- components/VoiceInput.tsx | 4 ++-- 3 files changed, 7 insertions(+), 9 deletions(-) delete mode 100644 check-csp.ts diff --git a/check-csp.ts b/check-csp.ts deleted file mode 100644 index e9b189c..0000000 --- a/check-csp.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { createServer } from 'http'; -import { next } from 'next'; - -// This is a placeholder. To truly test middleware in a script is hard without running the full Next.js server. -// Instead, I will rely on manual verification or running the dev server and checking headers. diff --git a/components/EmptyState.tsx b/components/EmptyState.tsx index 79b8f9d..faccded 100644 --- a/components/EmptyState.tsx +++ b/components/EmptyState.tsx @@ -23,15 +23,18 @@ export function EmptyState({ }: EmptyStateProps) { return (
-
+
{icon}

{title}

-

+

{description}

+

+ Ready when you are! +

{actionLabel && ( actionHref ? (
  • 1. - Click the **lock icon** 🔒 next to the URL and reset the Microphone permission to "Allow". + Click the **lock icon** 🔒 next to the URL and reset the Microphone permission to "Allow".
  • 2. - Check **Windows Settings > Privacy > Microphone** and ensure "Allow apps to access your microphone" is ON. + Check **Windows Settings > Privacy > Microphone** and ensure "Allow apps to access your microphone" is ON.
  • 3.