How sindhu-mandabhada/procastination_tracker works
Procrastination Tracker is a browser-based productivity app. Users run focus and break sessions, manage tasks, and log distractions; the app tracks focus time and daily streaks, saves activity in browser storage, and displays motivational quotes. The sampled JavaScript shows these capabilities in one file, so the components below are logical responsibilities, not separate modules. The README describes identifying delays and building habits, but no distinct analysis or recommendation subsystem is evidenced in the sampled source.
Main entry points: script.js Dashboard controls
Components 8
Focus workflows
- Focus timer
script.js - Task list
script.js
Activity tracking
- Distraction log
script.js - Focus and streak stats
script.js
App state and display
- Dashboard controls
script.js - Motivational quotes
script.js - Browser local storage
Other components
- User
Connections 9
- User → Dashboard controls: uses
script.js - Dashboard controls → Focus timer: starts, pauses, resets
script.js - Dashboard controls → Task list: adds tasks
script.js - Dashboard controls → Distraction log: logs distractions
script.js - Focus timer → Focus and streak stats: records focus time
script.js - Focus timer → Motivational quotes: shows quote
script.js - Task list → Browser local storage: saves and loads
script.js - Distraction log → Browser local storage: saves and loads
script.js - Focus and streak stats → Browser local storage: saves and loads
script.js