rspace-online/backlog/tasks/task-medium.6 - Platform-Co...

26 lines
1.3 KiB
Markdown

---
id: TASK-MEDIUM.6
title: Platform Connections dashboard in space settings
status: Done
assignee: []
created_date: '2026-03-31 20:25'
updated_date: '2026-03-31 22:54'
labels: []
dependencies: []
parent_task_id: TASK-MEDIUM
---
## Description
<!-- SECTION:DESCRIPTION:BEGIN -->
Add 5th 'Connections' tab to space settings modal with n8n-style visual dashboard. Shows platform cards (Google, Notion, ClickUp live + 7 coming soon) connected via SVG bezier lines to central rSpace hub node. Includes OAuth connect/disconnect flows and GET /api/oauth/status endpoint. Files: server/oauth/index.ts, server/index.ts, shared/components/rstack-space-switcher.ts.
<!-- SECTION:DESCRIPTION:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
Implemented and deployed 2026-03-31. Commit 26aa643. Live at rspace.online — open any space gear icon → Connections tab.
Refactored 2026-03-31 (commit 32093a0): Moved connections dashboard from space settings 5th tab to My Account modal as collapsible section. Added selective sharing — users connect platforms to personal data store, then pick which community spaces to share data into via per-provider space checkboxes. New endpoints: GET/POST /api/oauth/sharing. Sharing config in Automerge doc {userSpace}:oauth:sharing.
<!-- SECTION:NOTES:END -->