Commit Graph

3 Commits

Author SHA1 Message Date
rob b60af09922 Add tests for M4 workspace files and wizard
- test_settings.py: Add TestDocsModeSettings and TestWorkspaceExportImport
- test_paths.py: Comprehensive PathResolver tests with proper isolation
- test_wizard.py: Wizard structure and settings integration tests

All 71 tests pass.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 05:57:59 -04:00
rob 10d7baff81 Add terminal search, project filter, and refactor dashboard
Terminal improvements:
- Add Ctrl+Shift+F search with match highlighting and navigation
- Add 10,000 line scrollback buffer with Shift+PageUp/Down
- Add graceful error handling for PTY failures and shell crashes
- Press Enter to restart shell after exit

Workspace improvements:
- Add cross-pane tab dragging support
- Empty panes now get welcome tab when splitting
- Add project filter box at top of project list

Dashboard refactoring:
- Extract UndoManager for undo/redo functionality
- Extract DashboardDataStore for data persistence
- Add file watching for external changes (auto-reload)
- Fix file watching to monitor all parent directories
- Use dynamic date instead of hardcoded value in ideas

New test coverage:
- test_data_store.py - file watching and date handling
- test_draggable_tabs.py - cross-pane tab operations
- test_parser_edge_cases.py - parser robustness
- test_project_discovery.py - project discovery logic
- test_settings.py - settings persistence
- test_terminal_error_handling.py - terminal robustness
- test_terminal_search.py - search and project filter
- test_undo_manager.py - undo/redo operations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 16:48:08 -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