How ishtiaqsifat2009-arch/dashboardapp works
StudySpace is a student study dashboard for managing tasks, notes, planned sessions, and focus sessions. The principal workflow is to use the dashboard views to update study data, which the shared state hook reduces and persists locally; the overview summarizes that data, including focus-time logs. A Tauri shell provides the desktop runtime. The README is empty, and the excerpts omit some UI wiring, so the graph shows only the visible app-to-state and state-to-storage relationships rather than inferred page-level dispatches.
Main entry points: App.tsx Dashboard views · studyData.ts Study data hook · main.tsx React entry · lib.rs Tauri runtime
Components 15
Dashboard experience
- React entry
dashboard/src/main.tsx - Dashboard views
dashboard/src/App.tsx - Study overview
dashboard/src/App.tsx - Task management
dashboard/src/App.tsx - Study planning
dashboard/src/App.tsx - Study notes
dashboard/src/App.tsx - Focus timer
dashboard/src/App.tsx
Study state
- Study data hook
dashboard/src/studyData.ts - Study reducer
dashboard/src/studyData.ts - Study records
dashboard/src/studyData.ts - Focus logs
dashboard/src/studyData.ts
Local persistence
- Browser local storage
dashboard/src/storage.ts
Desktop runtime
- Tauri main
dashboard/src-tauri/src/main.rs - Tauri runtime
dashboard/src-tauri/src/lib.rs
Other components
- Student
Connections 14
- Student → React entry: uses
- React entry → Dashboard views: renders
- Dashboard views → Study overview: renders
- Dashboard views → Task management: renders
- Dashboard views → Study planning: renders
- Dashboard views → Study notes: renders
- Dashboard views → Focus timer: renders
- Dashboard views → Study data hook: uses
- Study data hook → Study reducer: dispatches
- Study reducer → Study records: updates
- Study reducer → Focus logs: records
- Study data hook → Browser local storage: loads and saves
- Tauri main → Tauri runtime: runs
- Tauri runtime → React entry: loads frontend