Commit Graph

3 Commits

Author SHA1 Message Date
rob b084e9e30a Fix goals audit to preserve prose and support partial goals
GoalsSaver changes:
- Now preserves prose content (Vision, Principles, etc.) before goal sections
- Only rewrites ## Active, ## Future, ## Non-Goals sections
- Extracts and reinserts prose content between frontmatter and goals

Audit handler changes:
- Supports new status field: "met", "partial", "not_met"
- Maintains backward compatibility with old "checked" boolean format
- Sets Goal.partial=True for partially achieved goals
- Report shows partial count in summary

This fixes a bug where the audit button would delete all prose content
from goals.md files that had philosophy/context sections.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 01:55:35 -04:00
rob 69ec7df308 fix: Dashboard bug fixes and improvements
Critical bug fixes:
- Fix edit undo crash (5-tuple vs 4-tuple handling)
- Fix milestone tag lost on undo (store todo.milestone in undo data)
- Fix global mode null safety (guards for 8 functions)
- Fix ideas priority not saved/loaded
- Fix goal deletion for all sections (active/future/non_goals)
- Fix goal partial-state undo/redo (widget now emits previous state)
- Fix non-goals without checkboxes being dropped on save

New features:
- Add undo/redo support for goals and ideas (toggle, delete, edit)
- Add atomic_write() for non-destructive file saves
- Add round-trip tests for parsers

Improvements:
- Consolidate duplicated milestone todo handlers (delegate to main handlers)
- Milestones now save with Active/Completed sections
- Global dashboard shows milestone completion ratio

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 20:13:59 -04:00
rob 8a5bd8db03 Project auto-discovery, dashboard improvements, progress bar percentages
Features:
- Auto-discover projects from configurable search paths (Settings UI)
- Projects detected by .git folder presence
- Ignore patterns for trash, project-docs, etc.
- Progress bars now show percentages on all sections
- Individual milestone progress bars also show percentages

Files:
- settings.py: New project_search_paths and project_ignore_folders settings
- project_discovery.py: Rewritten for auto-discovery with metadata merge
- dialogs.py: Settings dialog with search path management
- views/dashboard.py: Progress bars with percentage text
- widgets/collapsible_section.py: Milestone progress bars with percentages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:00:19 -04:00