Commit Graph

15 Commits

Author SHA1 Message Date
Jeff Emmett 3ca157a588 Merge branch 'dev'
# Conflicts:
#	app/layout.tsx
#	app/page.tsx
#	components/AppSwitcher.tsx
#	docker-compose.yml
2026-02-25 13:37:24 -08:00
Jeff Emmett bdebf5cda7 refactor: migrate EncryptID URLs from encryptid.jeffemmett.com to auth.ridentity.online
Part of the ridentity.online branding migration. The EncryptID auth
server is now accessible at auth.ridentity.online (with the legacy
encryptid.jeffemmett.com kept as a backward-compatible alias).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 22:20:08 -08:00
Jeff Emmett 4264ac9be2 feat: add dynamic enoughness layer to Budget River
Funnels can now declare a sufficientThreshold and dynamicOverflow.
When dynamicOverflow is true, surplus routes to the most underfunded
targets by need-weight instead of fixed percentages. Visual layer adds
golden glow on sufficient funnels, sufficiency progress bar, ENOUGH
status pill, and a system-wide Enoughness Score badge.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 21:38:23 +00:00
Jeff Emmett 0afb85e9f7 feat: sankey-proportional waterfalls + multi-chain Safe support
Rewrite budget river waterfalls with bezier-curved tapered shapes where
width encodes flow magnitude (inflows flare into river, outflows taper
out). Add Ethereum, Base, Polygon, Arbitrum to Safe chain detection.
Fetch real transaction history for live inflow rates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 10:32:07 +00:00
Jeff Emmett e683175c65 feat: add Budget River waterfall visualization view
New /river page showing funding flows as an animated river with waterfalls
cascading in (inflows) and out (spending). SVG-based with CSS animations
for water effects, ripples, and current lines. Supports demo mode with
simulated data and live mode via Safe Global API for real on-chain balances.
Also includes source node type and landing page nav links.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 10:02:49 +00:00
Jeff Emmett 42942cc962 feat: add real-time flow simulation engine and clickable rVote proposal links
Replace random-noise simulation with actual flow logic: inflow accumulation,
threshold-gated overflow distribution to downstream funnels, spending drain
to outcomes, and auto status transitions. Outcomes linked to rVote proposals
are now clickable links opening the live proposal on rvote.online.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 13:59:13 -07:00
Jeff Emmett 216df8c06a feat: add live demo page with rSpace data via useDemoSync
Replace /demo redirect with full expense tracking demo powered by
real-time WebSocket connection to the shared demo community. Budget
overview, expense editing, balance calculations, and settle-up all
sync across the r* ecosystem in real-time.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 09:39:15 -07:00
Jeff Emmett 57f3caf8aa feat: migrate auth to EncryptID SDK client
Replace duplicated WebAuthn ceremony code with SDK EncryptIDClient.
Add cookie persistence for server-side token access.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 09:35:59 -07:00
Jeff Emmett 6411604852 feat: add funding sources — card payments via Transak and funding source management
- FundingSource types: card, crypto_wallet, safe_treasury, bank_transfer
- TransakWidget component with iframe postMessage handling
- FundingSourcesPanel with CRUD, config forms per type, and Fund Now action
- FunnelNode edit modal: new Funding Sources section
- Space page: Fund dropdown with Deposit (Crypto) + Pay with Card options

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 09:21:44 -07:00
Jeff Emmett a6190636a8 feat: add EncryptID passkey authentication to space editor
Requires authentication via EncryptID before accessing the flow
editor. Adds AuthButton component, auth store, and middleware.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 11:47:25 -07:00
Jeff Emmett d5d5be3fa6 feat: integrate flow-service backend API for live TBFF deployment
Add Deploy/Sync/Deposit buttons to space editor that connect to the
flow-service backend at rfunds.online/api/flows. Visual designs can
now be deployed as live flows with real threshold logic and overflow
distribution.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 11:14:54 -07:00
Jeff Emmett 8c3baed4b8 feat: add Superfluid stream edges, 0xSplits view, and rVote API client
- StreamEdge component with animated dash pattern for Superfluid flow visualization
  (planned/active/paused status, flow rate + token labels)
- SplitsView component showing recipient addresses, percentage bars, and export config
- rVote API client module (fetchSpace, fetchPassedProposals) via CORS proxy
- Stream-out handle on FunnelNode for creating stream connections
- Splits and streams display in FunnelNode edit modal
- Edge type system refactored to support allocation + stream edge data

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 10:20:51 -07:00
Jeff Emmett f012502133 feat: add cross-app integration panel for Safe wallets and rVote proposals
Link external data sources to rFunds spaces:
- Safe Global API client (Gnosis + Optimism) for wallet balances → Funnel nodes
- rVote CORS proxy + client for passed proposals → Outcome nodes
- Integration panel UI with preview/import workflow
- Source badges on nodes (chain icon for Safe, rVote score for proposals)
- State persistence for integrations in save/load/share

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 10:08:19 -07:00
Jeff Emmett 6b29141d1a feat: add +/- buttons on flow edges for inline allocation adjustment
Custom AllocationEdge component renders clickable +/- controls at each
edge's midpoint, allowing users to increment/decrement allocation
percentages by 5% without opening the funnel edit modal. Sibling
allocations are automatically renormalized to sum to 100%.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 09:25:11 -07:00
Jeff Emmett 1f40ab57cf feat: initial rfunds.online with TBFF interactive platform
Landing page explaining threshold-based flow funding, interactive demo at /tbff
with the full Treasury → sub-funnels → outcomes preset, and user-created spaces
at /space with save/load/share functionality via localStorage and URL hash state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 08:09:16 -07:00