How srtdio/app works
Sorted is a social-media operations platform for agencies. Users enter through the React application, authenticate, and work in a selected workspace; the pipeline supports finding posts and moving them through stages. Other major product areas visible in the repository include chat, planning, briefs, comments, assets, and notifications. The graph highlights those domain areas and the shared Supabase and workspace layers. Source evidence is incomplete, so unsampled features are represented without speculative call relationships.
Main entry points: PipelinePage.tsx Post pipeline · App.tsx Application routes · src Post workflows · workspace-context.tsx Workspace context
Components 19
App and access
- Application routes
src/App.tsx - Authentication
src/components/auth
Content operations
- Post pipeline
src/components/pages/PipelinePage.tsx - Stage board
src/components/pages/pipeline/PipelineBoard.tsx - Pipeline post reads
src/lib/pipeline-posts.ts - Post workflows
packages/posts/src - Brief management
packages/briefs/src - Asset handling
packages/storage/src/storage.ts
Team collaboration
- Chat experience
src/components/chat - Chat tasks
src/components/chat/tasks/useChatTasks.ts - Chat operations
src/lib/chat/tasks.ts - Plans and scheduling
src/components/pages/plan-tab - Comments and mentions
packages/comments/src - Inbox notifications
packages/inbox/src
Shared platform
- Workspace context
src/lib/workspace-context.tsx - Data schemas
packages/schemas/src/zod - Supabase client
src/lib/supabase.ts
Other components
- Agency user
- Supabase service
Connections 11
- Agency user → Application routes: opens
- Application routes → Authentication: routes to
src/App.tsx - Application routes → Post pipeline: routes to
src/App.tsx - Post pipeline → Pipeline post reads: reads posts
src/components/pages/PipelinePage.tsx - Post pipeline → Post workflows: loads and transitions
src/components/pages/PipelinePage.tsx - Post pipeline → Stage board: renders board
src/components/pages/PipelinePage.tsx - Stage board → Post workflows: checks stage actions
src/components/pages/pipeline/PipelineBoard.tsx - Chat tasks → Chat operations: reads and saves
src/components/chat/tasks/useChatTasks.ts - Workspace context → Supabase client: uses client
src/lib/workspace-context.tsx - Workspace context → Post workflows: lists workspaces
src/lib/workspace-context.tsx - Supabase client → Supabase service: sends requests
src/lib/supabase.ts