feat(web): annotations + mode banner (NF-UI-6) #364
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!364
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/336-nfui6-annotations-mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
title-attribute tooltips explaining the concern.live/dry-run/replay/dry-run-local/offstate from a new mockedflowsApi.getMode()endpoint (replaced byGET /flows/modewhen NF-7 lands) with support for client-local overrides (replay / test-fire).nodeRegistry[type].ui.annotationsso every node type opts in without touching the canvas;layoutGraph+spawnNodeboth wire it in.Test plan
bun x vitest run src/features/flows/— 114 tests, all green (16 new acrossModeBanner.test.tsx+FlowCanvas.annotations.test.tsx).bun x turbo run typecheck— clean across all 4 packages.bun x biome check .— 359 files, no issues./flows/default.review-requested, confirm banner + annotations render.Out of scope
?run=<id>route-level wiring → NF-UI-7 (parallel branch — feedsbannerOverride="replay"+bannerRunIdinto the already-addedFlowCanvasProps).dry-run-local→ NF-UI-8.GET /flows/modeendpoint → NF-7.File-conflict note
NF-UI-7 is running in parallel on
feat/337-nfui7-replay-runsand will also touchFlowCanvas.tsx+flowsApi.ts. This patch kept both edits minimal (annotation render + banner mount on FlowCanvas;getMode()only on flowsApi) so the rebase surface is small.Closes #336
🤖 Generated with Claude Code
0384013a438c7ad61de3