How raktim-yoddha/taskmaster works
This is a Tauri desktop to-do and focus-timer app: the main window manages tasks, history, notes, settings, and timer modes, while a sticky widget provides a compact companion view. The React UI invokes Rust commands for shared overlay state, which is persisted and broadcast across windows; timer state is synchronized separately through events. The README is only a generic Tauri template and documents no product capabilities. Rust storage and several frontend integrations were not excerpted, so uncertain relationships are omitted.
Main entry points: AppDashboard.tsx Task Dashboard · lib.rs Tauri Commands · App.tsx Window App · SettingsModal.tsx Settings
Components 21
Desktop UI
- React Entry
src/main.tsx - Window App
src/App.tsx - Task Dashboard
src/components/AppDashboard.tsx - Sticky Widget
src/components/StickyWidget.tsx - Settings
src/components/SettingsModal.tsx - Appearance Settings
src/components/AppearanceSettings.tsx - Themed Select
src/components/ThemedSelect.tsx - Segmented Control
src/components/SegmentedControl.tsx
Focus and Planning
- Timer Controls
src/components/FocusTimer.tsx - Timer Engine
src/hooks/useTimer.ts - Timer Sounds
src/utils/sound.ts - Task History
src/components/HistoryView.tsx - Notes
src/components/NotesView.tsx - Shared Models
src/types.ts
Native State
- Tauri Commands
src-tauri/src/lib.rs - Rust Models
src-tauri/src/models.rs - State Store
src-tauri/src/store.rs
App Updates
- Update Service
src/utils/updater.ts - Update Dialog
src/components/UpdateNotificationModal.tsx
Other components
- User
- GitHub Releases
Connections 24
- User → React Entry: opens app
src/main.tsx - React Entry → Window App: renders
src/main.tsx - Window App → Timer Engine: creates timer
src/App.tsx - Window App → Task Dashboard: renders
src/App.tsx - Task Dashboard → Sticky Widget: opens widget
src/components/AppDashboard.tsx - Task Dashboard → Task History: renders
src/components/AppDashboard.tsx - Task Dashboard → Notes: renders
src/components/AppDashboard.tsx - Task Dashboard → Timer Controls: renders
src/components/AppDashboard.tsx - Task Dashboard → Settings: renders
src/components/AppDashboard.tsx - Task Dashboard → Update Service: checks updates
src/components/AppDashboard.tsx - Task Dashboard → Update Dialog: shows dialog
src/components/AppDashboard.tsx - Settings → Appearance Settings: renders
- Settings → Themed Select: uses
src/components/SettingsModal.tsx - Settings → Segmented Control: uses
src/components/SettingsModal.tsx - Appearance Settings → Themed Select: uses
src/components/AppearanceSettings.tsx - Timer Controls → Timer Engine: uses
- Sticky Widget → Timer Engine: uses
src/components/StickyWidget.tsx - Timer Engine → Timer Sounds: plays sounds
src/hooks/useTimer.ts - Window App → Tauri Commands: invokes commands
src/App.tsx - Sticky Widget → Tauri Commands: invokes commands
src/components/StickyWidget.tsx - Tauri Commands → State Store: persists state
src-tauri/src/lib.rs - Tauri Commands → Rust Models: uses models
src-tauri/src/lib.rs - Update Service → GitHub Releases: fetches releases
src/utils/updater.ts - Update Service → Tauri Commands: requests update
src/utils/updater.ts