"use client"; import { useState } from "react"; import { Button } from "@mosaic/ui"; import { useRouter } from "next/navigation"; import { ComingSoon } from "@/components/ui/ComingSoon"; /** * Check if we're in development mode (runtime check for testability) */ function isDevelopment(): boolean { return process.env.NODE_ENV === "development"; } /** * Internal Quick Capture Widget implementation */ function QuickCaptureWidgetInternal(): React.JSX.Element { const [idea, setIdea] = useState(""); const router = useRouter(); const handleSubmit = (e: React.SyntheticEvent): void => { e.preventDefault(); if (!idea.trim()) return; // TODO: Implement quick capture API call // For now, just show a success indicator console.log("Quick capture:", idea); setIdea(""); }; const goToTasks = (): void => { router.push("/tasks"); }; return (

Quick Capture

Quickly jot down ideas or brain dumps