rspace-online/modules/rflows
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
..
components feat(rbudgets): multiplayer sync, interactive pie chart, flow integration 2026-03-15 17:04:02 -07:00
db feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
lib feat(rflows): add rBudgets collective budget allocation sub-view 2026-03-15 16:11:32 -07:00
landing.ts feat: fix tab duplication, add info popover, add rFlows guided tour 2026-03-11 11:04:33 -07:00
local-first-client.ts feat(rbudgets): multiplayer sync, interactive pie chart, flow integration 2026-03-15 17:04:02 -07:00
mod.ts feat(rflows): add rBudgets collective budget allocation sub-view 2026-03-15 16:11:32 -07:00
schemas.ts feat(rflows): add rBudgets collective budget allocation sub-view 2026-03-15 16:11:32 -07:00