rspace-online/modules
Jeff Emmett 91d414fc88 feat: refactor rSocials from monolith to full rApp
Decompose the 2,116-line mod.ts into a canonical rApp matching the
rFlows/rBooks pattern with Automerge sync, web components, and
extracted CSS.

New files:
- schemas.ts: SocialsDoc, ThreadData, Campaign types + Automerge schema
- local-first-client.ts: browser-side sync client
- lib/types.ts: shared types, DEMO_FEED, PLATFORM_LIMITS
- lib/image-gen.ts: server-only fal.ai + file upload helpers
- components/folk-thread-builder.ts: compose/preview/readonly component
- components/folk-thread-gallery.ts: thread listing grid component
- components/folk-campaign-manager.ts: campaign viewer with import modal
- components/socials.css: all extracted CSS (~550 lines)

mod.ts slimmed to ~616 lines: ensureDoc, image APIs, page routes
injecting <folk-*> web components, file→Automerge migration, seed
template, and module export. Thread/campaign CRUD moved from REST
to Automerge local-first sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 20:44:17 -08:00
..
rbooks feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rcal feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rcart feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rchoices feat: workflow template, choice components, space settings, EncryptID vault, UI polish 2026-03-03 13:15:13 -08:00
rdata refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
rdesign feat: add feeds/acceptsFeeds to rsplat, rdesign, rdocs, rschedule 2026-03-03 14:41:55 -08:00
rdocs feat: add feeds/acceptsFeeds to rsplat, rdesign, rdocs, rschedule 2026-03-03 14:41:55 -08:00
rfiles feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rflows feat: canvas-first rFlows with flow storage, retrieval, and management 2026-03-04 19:19:57 -08:00
rforum feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rinbox feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rmaps fix: getApiBase() across all 16 rApp modules for subdomain routing 2026-03-02 21:01:06 -08:00
rnetwork feat: add interactive canvas to rNetwork + rSocials canvas view 2026-03-04 19:16:46 -08:00
rnotes feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rphotos feat: bare-domain sub-pages show info/marketing pages + save-gate 2026-03-04 12:16:17 -08:00
rpubs feat: workflow template, choice components, space settings, EncryptID vault, UI polish 2026-03-03 13:15:13 -08:00
rschedule feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rsocials feat: refactor rSocials from monolith to full rApp 2026-03-04 20:44:17 -08:00
rspace fix: layer flows drag-to-connect, notification 401 spam, /api/meta 404 2026-03-04 11:12:19 -08:00
rsplat feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rswag feat: workflow template, choice components, space settings, EncryptID vault, UI polish 2026-03-03 13:15:13 -08:00
rtrips feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rtube feat: unified space lifecycle & module scoping contract (Phase 0+1) 2026-03-02 13:35:41 -08:00
rvote feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00
rwallet refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
rwork feat: wire offline-first Automerge sync to all 13 rSpace modules 2026-03-04 19:07:59 -08:00