Repository navigation
v0.1.1 - Critical Bugfix
v0.1.1 - Critical Bugfix
🐛 Critical Fix
Fixed TUI showing TODOs from all projects instead of current directory
Issue
The todo tui command was loading ALL TODOs from the global database (~/.todo-tracker/todos.db) instead of scanning the current directory first. This meant users would see TODOs from completely different projects.
Example: User in /project-a would see TODOs from /project-b, /project-c, etc.
Root Cause
runTUI() was calling st.List() directly without scanning the current directory, unlike runList() which scans before querying the database.
Fix
- TUI now scans current directory before launching (same behavior as
listcommand) - Enriches TODOs with metadata (parser + git blame)
- Filters database query to only show TODOs from scanned files
- TUI behavior now matches
listcommand - shows only TODOs from current project
Upgrade
go install github.com/joel-pcg/todo-tracker-cli/cmd/todo@latestOr rebuild from source:
git pull
go build -o todo ./cmd/todoChanges
- fix(tui): scan current directory instead of showing global DB (bdeb1cc)
v0.1.0 → v0.1.1
All tests passing ✅