Signal/signal-ui/src/main.jsx
Kisa ca65185ba2 feat(signal-ui): Clerk redirect fix, stoplight colors, Clear to Ship checkmark, tab counts
- ClerkProvider now sets signInUrl/afterSignInUrl to signal-ui-xi.vercel.app so
  invitation emails and sign-in links land on the webapp not Clerk's hosted page
- Stoplight colors on status badges (red/amber/teal/green)
- Clear to Ship shows checkmark instead of dot
- Filter tabs include count + percentage
- EmptyState V2: "Drop your file here" heading
- Legend bar removed from worklist header (redundant with tabs)
- Pilot readiness at 13/13 (100%) as of 2026-06-16
- Signal Intelligence spec added to docs

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-16 15:01:39 -04:00

27 lines
No EOL
728 B
JavaScript

import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { ClerkProvider } from "@clerk/react";
import App from "./App.jsx";
import "./index.css";
const PUBLISHABLE_KEY = import.meta.env.VITE_CLERK_PUBLISHABLE_KEY;
if (!PUBLISHABLE_KEY) {
throw new Error("Missing VITE_CLERK_PUBLISHABLE_KEY — add it to signal-ui/.env");
}
const WEBAPP_URL = "https://signal-ui-xi.vercel.app";
createRoot(document.getElementById("root")).render(
<StrictMode>
<ClerkProvider
publishableKey={PUBLISHABLE_KEY}
signInUrl={WEBAPP_URL}
signUpUrl={WEBAPP_URL}
afterSignInUrl={WEBAPP_URL}
afterSignUpUrl={WEBAPP_URL}
>
<App />
</ClerkProvider>
</StrictMode>
);