rspace-online/modules/rflows/components
Jeff Emmett 246b51b2e0 feat(rbudgets): multiplayer sync, interactive pie chart, flow integration
- Add budget CRUD methods to FlowsLocalFirstClient (saveBudgetAllocation,
  addBudgetSegment, removeBudgetSegment, setBudgetTotalAmount)
- Init local-first client in budget view with real-time onChange sync
- extractBudgetState() recomputes collective averages from Automerge doc
- Debounced auto-save (1s) via scheduleBudgetSave() on slider/pie changes
- Interactive pie chart: click wedges to select, drag boundaries between
  segments to adjust allocation percentages with angle-to-pct geometry
- Selected segment highlighting (scaled wedge, white border, detail panel,
  slider row highlight, legend/table row click-to-select)
- "Apply to Flow" button pushes collective budget into canvas flow as
  funnel node with spending allocations mapped to outcome nodes
- LIVE indicator when WebSocket connected
- Falls back to API for demo/unauthenticated users

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 17:04:02 -07:00
..
flows-demo.ts refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
flows.css feat(rflows): Sankey-consistent edge widths, split controls, vessel path fixes 2026-03-15 15:44:14 -07:00
folk-flow-river.ts feat(rflows): animated flow effects on waterfalls and connections 2026-03-15 05:56:30 +00:00
folk-flows-app.ts feat(rbudgets): multiplayer sync, interactive pie chart, flow integration 2026-03-15 17:04:02 -07:00