feat: session sharing frontend #76

Merged
chihlasm merged 14 commits from feat/session-sharing-frontend into main 2026-02-15 04:08:17 +00:00
chihlasm commented 2026-02-15 00:00:09 +00:00 (Migrated from github.com)

Summary

  • Add session share creation/management modal with visibility control (public/account-only), optional naming, and expiration presets
  • Add Share Progress popover on active TreeNavigationPage for quick share link copying mid-session
  • Add public shared session viewer at /share/:token with decision timeline and tree preview (outside auth layout)
  • Add My Shares management page at /shares with copy/revoke actions
  • Extract reusable SessionTimeline and ActionMenu components
  • Add share types, API client methods, and utility helpers
  • 10 focused tests for utilities and API layer

Test plan

  • Create account-only share from session detail page, copy link, open while logged in same account
  • Create public share and open in incognito/logged-out browser
  • Verify account-only share redirects to login when accessed logged out, then returns to share after login
  • Revoke a share and confirm link returns not-found state
  • Test Share Progress popover actions in an active session (Copy Progress Summary, Copy Share Link, Manage Share Links)
  • Verify public share page renders timeline + tree preview correctly
  • Verify My Shares page lists all shares with correct metadata
  • Test expiration presets (1 day, 7 days, 30 days, custom, never)
  • Verify organization public-share policy denial shows clear error

🤖 Generated with Claude Code

## Summary - Add session share creation/management modal with visibility control (public/account-only), optional naming, and expiration presets - Add Share Progress popover on active TreeNavigationPage for quick share link copying mid-session - Add public shared session viewer at `/share/:token` with decision timeline and tree preview (outside auth layout) - Add My Shares management page at `/shares` with copy/revoke actions - Extract reusable SessionTimeline and ActionMenu components - Add share types, API client methods, and utility helpers - 10 focused tests for utilities and API layer ## Test plan - [ ] Create account-only share from session detail page, copy link, open while logged in same account - [ ] Create public share and open in incognito/logged-out browser - [ ] Verify account-only share redirects to login when accessed logged out, then returns to share after login - [ ] Revoke a share and confirm link returns not-found state - [ ] Test Share Progress popover actions in an active session (Copy Progress Summary, Copy Share Link, Manage Share Links) - [ ] Verify public share page renders timeline + tree preview correctly - [ ] Verify My Shares page lists all shares with correct metadata - [ ] Test expiration presets (1 day, 7 days, 30 days, custom, never) - [ ] Verify organization public-share policy denial shows clear error 🤖 Generated with [Claude Code](https://claude.com/claude-code)
railway-app[bot] commented 2026-02-15 00:00:42 +00:00 (Migrated from github.com)

🚅 Deployed to the patherly-pr-76 environment in selfless-grace

Service Status Web Updated (UTC)
hopeful-liberation Success (View Logs) Web Feb 15, 2026 at 3:22 am
patherly Success (View Logs) Web Feb 15, 2026 at 3:21 am
<!-- railway-bot-comment-version=2 --> <!-- railway-project-id="22b9b58c-271b-42e5-a10e-6fdec8d00134" railway-project-name="selfless-grace" --> 🚅 Deployed to the [patherly-pr-76](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134?environmentId=67b6fff0-1ff5-456d-b082-a012b3814016) environment in **[selfless-grace](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134)** | **Service** | **Status** | **Web** | **Updated** (UTC) | | :--- | :--- | :--- | :--- | | hopeful-liberation | ✅ Success ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/e1db2ee3-d241-4f45-abe4-c9c5fdf483d5?id=39a774ce-163c-40d7-a11c-ae5cc33f7049&environmentId=67b6fff0-1ff5-456d-b082-a012b3814016)) | [Web](https://hopeful-liberation-patherly-pr-76.up.railway.app) | Feb 15, 2026 at 3:22 am | | patherly | ✅ Success ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/95f556ff-5264-4116-a0c2-618a2fc53ba4?id=14d933b6-b488-4714-a168-ec74324a0cad&environmentId=67b6fff0-1ff5-456d-b082-a012b3814016)) | [Web](https://patherly-patherly-pr-76.up.railway.app) | Feb 15, 2026 at 3:21 am |
Sign in to join this conversation.