rspace-online/shared
Jeff Emmett 4a54e6af16 fix: enforce subdomain routing — spaces are subdomains, never path segments
Audit and fix ~60 violations across 47 files where URLs were constructed
as /{space}/moduleId instead of /moduleId (subdomain provides the space).

- Add getModuleApiBase() helper to shared/url-helpers.ts
- Fix client components: use getModuleApiBase() for fetch URLs,
  rspaceNavUrl() for navigation
- Fix server routes: use c.get("isSubdomain") for redirects and
  JSON response URLs
- Fix OAuth callbacks (notion, google, clickup): subdomain-aware redirects
- Fix email notification URLs (rvote): use {space}.rspace.online format
- Fix webhook registration (rtasks/clickup): subdomain-aware endpoint URL
- Replace broken #getSpaceSlug() methods in folk-feed, folk-splat
- Replace NODE_ENV checks with proper isSubdomain checks (rdata, rnetwork)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 14:09:53 -07:00
..
components fix: enforce subdomain routing — spaces are subdomains, never path segments 2026-04-03 14:09:53 -07:00
db feat: Phase 5 — remove PostgreSQL from rForum, rSpace now fully PG-free 2026-03-02 16:25:26 -08:00
local-first fix: collab overlay stuck on 'Connecting' — init race + timeout 2026-03-30 20:16:01 -07:00
x402 feat(x402): bridge on-chain USDC payments with CRDT token ledger 2026-03-21 14:23:24 -07:00
auth-fetch.ts feat: auth-fetch, shape registry, and data pipes (TASK-13, TASK-41, TASK-42) 2026-03-11 15:59:51 -07:00
collab-presence.ts fix(rnotes): resolve anonymous identity in comments, suggestions, and cursors 2026-03-28 16:34:08 -07:00
comment-pin-types.ts feat(canvas): simplify comment pins — optional notes + link rNotes 2026-03-22 19:13:58 -07:00
compat.ts fix(compat): improve cross-browser support for Firefox, Safari, and older browsers 2026-03-20 10:43:38 -07:00
draggable.ts feat: async 3D gen, calendar reminder widget, cross-module drag, subdomain URL fixes 2026-03-16 22:18:51 +00:00
ecosystem-manifest.ts feat(ecosystem): implement cross-app embedding protocol (TASK-46) 2026-03-11 18:32:28 -07:00
markdown-tiptap.ts feat(rinbox): add markdown rendering + TipTap collaborative editing 2026-03-30 20:40:49 -07:00
module.ts feat(canvas): module-aware canvas architecture — shapes, tools, and toolbar gated by module 2026-04-01 15:19:12 -07:00
moonpay.ts feat(rcart): add MoonPay integration with Transak fallback 2026-04-03 06:23:14 +00:00
scope-resolver.ts feat: scope system, cross-space navigation, and spaces-as-layers 2026-03-09 06:33:32 +00:00
shortcut-config.ts feat(shell): cross-tab sync via BroadcastChannel + keyboard shortcuts & swipe gestures 2026-03-20 13:04:31 -07:00
tab-cache.ts fix(layout): restore flex chain for tab panes after TabCache.init() 2026-03-31 11:57:47 -07:00
tour-engine.ts feat(tours+solo): add tours to remaining modules and solo mode toggle 2026-03-21 17:26:57 -07:00
transak.ts fix: try gateway for Transak token refresh before legacy API 2026-04-03 03:58:09 +00:00
url-helpers.ts fix: enforce subdomain routing — spaces are subdomains, never path segments 2026-04-03 14:09:53 -07:00
view-history.ts feat: add ViewHistory for in-app back navigation, rename rWork to rTasks 2026-03-11 14:04:13 -07:00
yjs-ws-provider.ts feat(rinbox): add markdown rendering + TipTap collaborative editing 2026-03-30 20:40:49 -07:00