Genesis

Packages

@marktiderman/genesis-forms-devtools

0.1.7Primitive · Forms

Developer tools for Genesis Forms: an inspector with live state, a time-travel event timeline and a server-check panel with tamper mode, a flow map, a logic trace and path coverage. Mount it in a playground or in an app during development. Part of the Genesis framework.

Developer tools for Genesis Forms. Mount the inspector next to a form in a playground, or in your app during development, to see exactly what the engine and the server see.

const engine = useForm(afterClass, { hidden: context }); <Form form={afterClass} engine={engine} /> <Inspector engine={engine} context={context} onFork={(events) => restartWith(events)} /> ```

pnpm add @marktiderman/genesis-forms-devtools

READMEChangelognpm

@marktiderman/genesis-forms-devtools

Components (3)

  • CoveragePanel

    Symbolic path coverage of the definition: unreachable blocks, rules that never fire, and for each ending whether a response can reach it, with a witness to load into the playground.

  • ErrorBoundary

    Catches a render error below it and shows a readable message instead of unmounting the whole page. React 19 still needs a class for this.

  • Inspector

    The Genesis Forms inspector: state, event timeline with time travel, and the server check. Answers to sensitive and identifying fields are masked until "Reveal sensitive values" is switched on. Each tab renders inside an error boundary, ...

Other exports (17)

buildFlowGraph · ContextEditor · decodeShare · encodeShare · endingNodeId · FLOW_NODE_HEIGHT · FLOW_NODE_WIDTH · FlowMapPanel · JsonView · layoutFlowGraph · LogicTracePanel · MAX_SHARE_BYTES · pretty · ServerPanel · StatePanel · TimelinePanel · witnessEvents

And 10 types.