How hamzaelmanzari/docket works
Docket is a React task workspace whose main flow runs from a user action through App state and task views, then persists workspace data locally or through Firestore when signed in. Its domain capabilities include task lifecycle and reminders, focus and archive views, analytics, team collaboration and chat, and administration. The graph preserves the major README features and core modules named in the source index. Some view-to-storage and authentication details are documented but not fully sampled, so those links cite the README rather than implying inspected implementation.
Main entry points: App.tsx App state and routing · taskLogic.ts Task rules and metrics · firestoreService.ts Firestore operations · task.ts Task and chat types
Components 24
Workspace orchestration
- App state and routing
src/App.tsx - Workspace navigation
src/components/Sidebar.tsx - Account menu
src/components/AccountMenu.tsx - Landing view
src/components/LandingPage.tsx
Task management
- Task entry
src/components/TaskComposer.tsx - Task actions
src/components/TaskRow.tsx - Task editing
src/components/EditTaskModal.tsx - Task filtering
src/components/TaskToolbar.tsx - Focus mode
src/components/FocusModeView.tsx - Archived tasks
src/components/ArchivePanel.tsx - Task analytics
src/components/AnalyticsPanel.tsx - Task rules and metrics
src/utils/taskLogic.ts - Task and chat types
src/types/task.ts
Team collaboration
- Team workspace
src/components/TeamPanel.tsx - Team chat
src/components/ChatPanel.tsx - Admin controls
src/components/AdminPanel.tsx - User and audit types
src/types/admin.ts
Persistence and platform
- Local workspace storage
src/utils/storage.ts - Firestore operations
src/services/firestoreService.ts - Payload sanitization
src/utils/blueprintSanitizer.ts - Firebase auth and setup
src/firebase.ts - Firebase services
- Speech input hook
src/hooks/useSpeechToText.ts
Other components
- Workspace user
Connections 33
- Workspace user → App state and routing: uses workspace
README.md - App state and routing → Workspace navigation: renders navigation
src/App.tsx - App state and routing → Landing view: renders view
src/App.tsx - App state and routing → Task entry: renders entry
src/App.tsx - App state and routing → Task actions: renders tasks
src/App.tsx - App state and routing → Task editing: renders editor
src/App.tsx - App state and routing → Task filtering: renders toolbar
src/App.tsx - App state and routing → Focus mode: renders view
src/App.tsx - App state and routing → Archived tasks: renders view
src/App.tsx - App state and routing → Task analytics: renders view
src/App.tsx - App state and routing → Team workspace: renders panel
src/App.tsx - App state and routing → Team chat: renders panel
src/App.tsx - App state and routing → Admin controls: renders panel
src/App.tsx - App state and routing → Local workspace storage: loads local data
src/App.tsx - App state and routing → Firestore operations: creates cloud records
src/App.tsx - Task entry → Speech input hook: uses speech input
src/components/TaskComposer.tsx - Task actions → Task rules and metrics: formats task details
src/components/TaskRow.tsx - Task entry → Task rules and metrics: validates task entry
src/components/TaskComposer.tsx - Task editing → Task rules and metrics: uses task rules
src/components/EditTaskModal.tsx - Archived tasks → Task rules and metrics: uses task rules
src/components/ArchivePanel.tsx - Task analytics → Task rules and metrics: calculates metrics
src/components/AnalyticsPanel.tsx - Task rules and metrics → Task and chat types: uses task types
src/utils/taskLogic.ts - Local workspace storage → Task rules and metrics: uses categories
src/utils/storage.ts - Local workspace storage → Task and chat types: stores workspace records
src/utils/storage.ts - Team workspace → Task and chat types: uses collaboration types
src/components/TeamPanel.tsx - Team chat → Task and chat types: uses chat types
src/components/ChatPanel.tsx - Admin controls → User and audit types: uses admin types
src/components/AdminPanel.tsx - Admin controls → Firestore operations: manages users
- Firestore operations → Firebase auth and setup: uses Firebase setup
src/services/firestoreService.ts - Firestore operations → Payload sanitization: sanitizes payloads
src/services/firestoreService.ts - Firestore operations → Firebase services: reads and writes
README.md - Firebase auth and setup → Firebase services: configures auth and database
README.md - App state and routing → Firebase auth and setup: uses cloud auth
src/App.tsx