How dushu2006/dropzone works
DropZone is an event-scoped community and operations app: members authenticate, load trusted event memberships, enter a role-appropriate workspace, and use event workflows backed by Supabase operations. Its major branches cover community posts and safety, private messaging, staff and roster management, zones, attachments, and notifications. The sampled API invokes database RPCs; documented policies and storage behavior come from the README. Hosted integration is explicitly unverified, so external service links describe the documented design, not a verified deployment.
Main entry points: Workbench.tsx Workflow hub · api.ts Event RPC client · Feed.tsx Feed and threads · App.tsx App routing
Components 24
Identity and access
- App routing
src/App.tsx - Auth pages
src/auth/AuthPages.tsx - Auth session
src/auth/AuthProvider.tsx - Membership access
src/phase1/AccessProvider.tsx
Event workspace
- Event workspaces
src/phase1/Workspaces.tsx - Workflow hub
src/phase2/Workbench.tsx - Development preview
src/PrototypePreview.tsx
Community workflows
- Feed and threads
src/phase2/Feed.tsx - Reports and safety
src/phase2/Safety.tsx - Private messaging
src/phase2/Messaging.tsx - Post templates
src/phase2/templates.ts - Private attachments
src/phase2/Attachments.tsx
Staff and event operations
- Staff management
src/phase2/Staff.tsx - Roster imports
src/phase2/roster.ts - Interactive zones
src/phase2/ZoneMap.tsx - Location checks
src/phase2/location.ts - In-app notifications
src/phase2/Workbench.tsx
Supabase services
- Event RPC client
src/phase2/api.ts - Postgres and PostGIS
supabase/migrations - Private Storage
supabase/migrations - Attachment verification
supabase/functions/verify-attachment/index.ts - Image signature check
supabase/functions/_shared/image.ts - File cleanup
supabase/functions/maintenance/index.ts
Other components
- Event member
Connections 32
- Event member → App routing: opens app
src/App.tsx - App routing → Auth pages: routes auth
src/App.tsx - App routing → Auth session: provides session
src/App.tsx - App routing → Membership access: guards private pages
src/App.tsx - Auth pages → Auth session: uses auth state
src/auth/AuthPages.tsx - Membership access → Auth session: reads session
src/phase1/AccessProvider.tsx - Membership access → Postgres and PostGIS: loads trusted access
README.md - Event workspaces → Workflow hub: opens event tools
src/phase1/Workspaces.tsx - Workflow hub → Feed and threads: renders feed
README.md - Workflow hub → Private messaging: renders conversations
README.md - Workflow hub → Reports and safety: renders safety tools
README.md - Workflow hub → Staff management: renders staff tools
README.md - Workflow hub → Interactive zones: renders zones
README.md - Feed and threads → Event RPC client: reads and commands
src/phase2/Feed.tsx - Feed and threads → Post templates: validates templates
src/phase2/Feed.tsx - Feed and threads → Private attachments: uses attachments
src/phase2/Feed.tsx - Feed and threads → Reports and safety: shows revision history
src/phase2/Feed.tsx - Private messaging → Event RPC client: reads and commands
README.md - Reports and safety → Event RPC client: reads and commands
README.md - Staff management → Event RPC client: reads and commands
README.md - Staff management → Roster imports: parses roster files
src/phase2/Staff.tsx - Interactive zones → Event RPC client: reads and commands
README.md - Interactive zones → Location checks: checks device location
README.md - Event RPC client → Postgres and PostGIS: calls event RPCs
src/phase2/api.ts - Postgres and PostGIS → Private Storage: stores private images
README.md - Private attachments → Event RPC client: uses event operations
src/phase2/Attachments.tsx - Private attachments → Attachment verification: requests verification
src/phase2/Attachments.tsx - Attachment verification → Image signature check: checks image signature
supabase/functions/verify-attachment/index.ts - Attachment verification → Private Storage: verifies stored image
README.md - File cleanup → Private Storage: cleans expired files
README.md - Workflow hub → In-app notifications: provides notifications
README.md - Event member → Development preview: opts into preview
README.md