The web app is a local UI for inspecting Node-RED flow exports. It shows what context would be sent to an assistant after redaction and risk analysis.
bun run devOpen http://localhost:5173 and drag drop a Node-RED export (flows.json).
The UI follows the Flow Profile UX spec in docs/UX_SPEC.md:
- Empty state with drop zone and quick explanation.
- Loading state with progress and cancel.
- Parsed view with a three-column layout for summary, context preview, and findings.
- Error state with a readable message and remediation tips.
The three-column layout supports resizable panels for the flow summary and controls columns.
Typical flow:
- Drop a
flows.jsonexport. - Review the summary and token meter.
- Inspect the context preview and risk findings.
- Adjust selection and redaction settings as needed.
- Export or copy the resulting bundle/prompt context.
The UI is designed for keyboard use and accessible navigation:
- Use Tab and Shift+Tab to move between controls.
- Use Enter or Space to activate focused controls.
- Focus states are visible and severity is not conveyed by color alone.
Keyboard shortcuts:
Mod+Kopen command paletteMod+Shift+Ccopy prompt contextMod+Shift+Ddownload prompt contextMod+Shift+Bdownload support bundleMod+Shift+Xreset flowAlt+1switch to Flow panelAlt+2switch to Preview panelAlt+3switch to Controls panel
The user-facing docs expect screenshots for key states. Capture and place images in a docs/assets/screenshots/ folder if you add them:
- Empty state
- Parsed view (three columns)
- Risk findings expanded
- Export options
Optional automation (run on a machine that can launch Chromium):
DOCS_CAPTURE=1 DOCS_CAPTURE_URL=http://127.0.0.1:5173 bun run test:e2e -- --config playwright.docs.config.ts --project=chromium -g "docs capture"