Rebuild the vault as a lensed orrery with an inbound capture meteor

This commit is contained in:
Tessera Agent
2026-11-09 14:08:49 +00:00
parent 0ee32fcf8f
commit e95d1553ff
5 changed files with 344 additions and 883 deletions

View File

@@ -30,6 +30,7 @@ export default function App() {
const [selectedSnap, setSelectedSnap] = useState<string | null>(null);
const [pairing, setPairing] = useState<{ code: string; expires_at: string } | null>(null);
const [galaxyFlowing, setGalaxyFlowing] = useState(true);
const [capturePulse, setCapturePulse] = useState(0);
const qc = useQueryClient();
const health = useQuery({
@@ -88,6 +89,7 @@ export default function App() {
flowing={galaxyFlowing}
onToggleFlow={() => setGalaxyFlowing((f) => !f)}
capturing={capturing || capture.isPending}
capturePulse={capturePulse}
selectedSnapshotId={selectedSnap}
onSelect={(id) => setSelectedSnap(id)}
onSelectOrbit={() => {
@@ -116,7 +118,10 @@ export default function App() {
disabled={capture.isPending}
onClick={() => {
if (!(orbits.data?.length ?? 0)) setMode("orbits");
else capture.mutate();
else {
setCapturePulse((n) => n + 1);
capture.mutate();
}
}}
/>
</div>