f3e80f10ec
PluginShell over the kit router (flat routes, console deep-link bridge), standalone header only outside the iframe. Every subscription renders through a shared Gate (kit ResultGate + colocated PageSkeleton + retry error EmptyState). Overview: first-run hero, tone-coded StatCards, sync button that tracks engine state, warnings accordion, live EventFeed. Library: @container-responsive cover grid with whileInView stagger, include Switches saving gameOverrides immediately, skipped/excluded card with re-include. Sources: PathListEditor over draft.roots with platform Select + excludes globs. Emulators: detected roster with via/ contested/cores badges + re-detect, per-platform launch overrides. Settings: artwork/sync/files groups over resolved defaults, sticky SaveBar (motion slide-up on dirty; entry variants neutralized inside the object-form motion wrapper so the button isn't stuck at opacity 0). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
717 B
TypeScript
22 lines
717 B
TypeScript
import "./styles.css";
|
|
import { RegistryProvider } from "@effect/atom-react";
|
|
import { StrictMode } from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
import { App } from "./App";
|
|
import { defaultApiMode } from "./mocks/scenario";
|
|
|
|
// Zero-host dev loop: install the mock transport BEFORE the first render so the very
|
|
// first atom reads hit fixtures. The whole branch is dead-code-eliminated from
|
|
// production builds (import.meta.env.DEV is false), so no fixture code ships.
|
|
if (import.meta.env.DEV && defaultApiMode === "mock") {
|
|
await import("./mocks/http");
|
|
}
|
|
|
|
createRoot(document.getElementById("root")!).render(
|
|
<StrictMode>
|
|
<RegistryProvider>
|
|
<App />
|
|
</RegistryProvider>
|
|
</StrictMode>,
|
|
);
|