How edfloreshz/tasks works
Tasks is a COSMIC desktop task manager. Users navigate lists, create and edit tasks (including subtasks and details), and manage favorites, reminders, search, and trash; local task data is persisted by the store. The app also exposes settings and account-backed provider synchronization. Sampled source confirms app routing, search reads, trash operations, and sync/store behavior; other feature links are shown only where wiring is established by the documented feature structure, with unsampled details kept at module level.
Main entry points: app.rs App router · store.rs Store API · sync.rs Provider sync · lists Lists
Components 19
App interface
- App router
src/app.rs - Navigation
src/shared/navigation - Dialogs
src/shared/dialogs/dialog.rs - Settings
src/features/settings
Task workflows
- Lists
src/features/lists - Task content
src/features/lists/content.rs - Task details
src/features/tasks/details.rs - Favorites
src/features/favorites - Task search
src/features/search/search.rs - Reminders
src/features/reminders - Trash
src/features/trash/trash.rs
Local persistence
- Store API
src/shared/store/store.rs - RON data files
Accounts and sync
- Accounts UI
src/features/accounts - Provider sync
src/shared/providers/sync.rs - Provider adapters
src/shared/providers
Other components
- Desktop user
- Accounts service
- Remote task services
Connections 21
- Desktop user → App router: uses
- App router → Navigation: routes through
- App router → Dialogs: dispatches
- App router → Lists: routes list actions
- App router → Favorites: routes favorites
- App router → Trash: routes trash
- App router → Task details: routes details
- App router → Task search: renders search
- App router → Accounts UI: routes accounts
- App router → Settings: shows settings
- Lists → Task content: renders tasks
- Task content → Store API: reads and writes
- Task search → Store API: loads lists and tasks
- App router → Store API: loads task details
- Trash → Store API: reads and mutates
- Accounts UI → Accounts service: manages accounts
- Provider sync → Accounts service: lists enabled accounts
- Provider sync → Provider adapters: syncs tasks
- Provider adapters → Remote task services: requests remote data
- Provider sync → Store API: pulls and pushes
- Store API → RON data files: serializes and reads