How usrdefault/tally works
Tally is a task-list app for Windows and the web. Users add, categorize, date, filter, complete, and manually reorder tasks; local changes persist automatically. Optional accounts add Discord sign-in, cross-device synchronization, invitations, and shared-task state. The frontend also provides settings and localized desktop behavior. The graph includes documented product branches whose detailed implementations were not sampled; those links are cited to the README rather than implying source inspection.
Main entry points: App.tsx App shell · index.php API router · SettingsPanel.tsx Settings panel · useTasks.ts Task state
Components 24
Task experience
- App shell
src/App.tsx - Task interface
src/components/TaskList.tsx - Task row
src/components/TaskRow.tsx - Task composer
src/components/TaskComposer.tsx - Filters and progress
src/components/FilterBar.tsx - Settings panel
src/components/SettingsPanel.tsx - Sharing interface
src/components/Sharing.tsx
Local data and account
- Task state
src/hooks/useTasks.ts - Task operations
src/lib/tasks.ts - Browser storage
src/lib/storage.ts - Category state
src/lib/categories.ts - Account and sync state
src/hooks/useAccount.ts - Account API client
src/lib/account.ts
Web service
- API router
api/index.php - Authentication
api/lib/auth.php - Discord login
api/lib/discord.php - Synchronization
api/lib/sync.php - Sharing service
api/lib/share.php - Server data store
api/lib/store.php
Desktop runtime
- Tauri desktop shell
src-tauri/src/lib.rs - Desktop preferences
src-tauri/src/autostart.rs - Update checker
src-tauri/src/updates/update_checker.rs
Other components
- User
- Discord
Connections 25
- User → App shell: uses
- App shell → Task state: loads
src/App.tsx - App shell → Task interface: shows
src/App.tsx - App shell → Task composer: offers
src/App.tsx - App shell → Filters and progress: offers
src/App.tsx - App shell → Settings panel: offers
src/App.tsx - Task interface → Task row: renders
- Task row → Sharing interface: renders
src/components/TaskRow.tsx - Task state → Task operations: updates with
src/hooks/useTasks.ts - Task state → Browser storage: reads and writes
src/hooks/useTasks.ts - App shell → Category state: loads
src/App.tsx - App shell → Account and sync state: loads
src/App.tsx - Account and sync state → Account API client: calls
src/hooks/useAccount.ts - Settings panel → Account and sync state: configures
src/components/SettingsPanel.tsx - Sharing interface → Account API client: uses
src/components/Sharing.tsx - Account API client → API router: requests
src/lib/account.ts - API router → Authentication: dispatches to
api/index.php - API router → Discord login: dispatches to
api/index.php - API router → Synchronization: dispatches to
api/index.php - API router → Sharing service: dispatches to
api/index.php - API router → Server data store: uses
api/index.php - Discord login → Discord: authenticates with
- App shell → Tauri desktop shell: runs in
- Settings panel → Desktop preferences: sets autostart
src/components/SettingsPanel.tsx - App shell → Update checker: checks updates
src/App.tsx