Skip to content

Commit afe0ac6

Browse files
Update key documentation files.
1 parent 5855336 commit afe0ac6

3 files changed

Lines changed: 91 additions & 26 deletions

File tree

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,38 @@
22

33
## [Unreleased]
44

5+
### Added - Navigation & Search Excellence (Aug 28, 2025)
6+
7+
- **Tree Search with Navigation**: Comprehensive search functionality for finding nodes
8+
- Forward and backward navigation through search results
9+
- Visual highlighting of found nodes with persistent search state
10+
- Search field integrated into tree view for seamless user experience
11+
- Result navigation with keyboard shortcuts and visual indicators
12+
13+
- **Navigation History System**: Professional back/forward navigation
14+
- Back and forward buttons for intuitive project exploration
15+
- Navigation history persistence throughout session
16+
- Seamless integration with search and selection workflows
17+
- Visual feedback for navigation state changes
18+
19+
- **Click-to-Focus Integration**: Enhanced canvas interactivity
20+
- Click canvas elements to automatically focus corresponding tree nodes
21+
- Bidirectional synchronization between canvas and tree view
22+
- Improved workflow for large projects with complex hierarchies
23+
- Visual feedback for focused elements across both views
24+
25+
- **Enhanced Tree UI Organization**: Improved component layout
26+
- Action bar relocated within tree view container for better association
27+
- Clear visual separation between tree and canvas controls
28+
- Consistent styling and interaction patterns
29+
- Better component organization for user experience
30+
31+
- **Comprehensive CI Infrastructure**: Robust testing automation
32+
- Enhanced headless testing with proper JavaFX initialization
33+
- Platform-compatible CI configuration for reliable builds
34+
- Comprehensive test suite with 451 tests passing
35+
- Cross-platform compatibility validation
36+
537
### Added - Canvas Excellence (Aug 15, 2025)
638

739
- **Perfect Fit-to-Window Algorithm**: Revolutionary fit functionality that eliminates all scrolling

README.md

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# FDD Tools
22

3-
Last Updated: 2025-08-15
3+
Last Updated: 2025-08-28
44

55
A modern Feature-Driven Development (FDD) project management tool built with Java and JavaFX.
66

@@ -64,6 +64,10 @@ FDD ## Quick smoke te## Project Structuret Structureuild: `mvn -DskipTests -Pmac
6464
- **Context Menus**: Right-click operations for all node types (styled)
6565
- **Recent Files (MRU)**: Persistent list of recently opened projects
6666
- **Layout Persistence**: SplitPane divider positions remembered across sessions
67+
- **Search Functionality**: Find tree nodes with forward/backward navigation and highlighting
68+
- **Navigation History**: Back/forward buttons for seamless project exploration
69+
- **Click-to-Focus**: Click on canvas elements to focus corresponding tree nodes
70+
- **Enhanced Tree Actions**: Action bar integrated within tree view for better UX
6771
- **Centralized Project Service**: `ProjectService` manages current root, file path, and dirty state
6872
- **Centralized Dialog Handling**: `DialogService` unifies error, confirmation, about & preferences dialogs
6973
- **Background Task Overlay**: `BusyService` provides non-blocking async open/save with visual overlay (open/save now wrapped; further IO to follow)
@@ -94,7 +98,7 @@ FDD ## Quick smoke te## Project Structuret Structureuild: `mvn -DskipTests -Pmac
9498
- Status bar previews next undo/redo
9599
- Extensible pattern for future operations
96100

97-
### ✅ Recent Highlights (Aug 2025) - Canvas Excellence
101+
### ✅ Recent Highlights (Aug 2025) - Canvas Excellence & Enhanced Navigation
98102

99103
- **Perfect Fit-to-Window**: Advanced algorithm that calculates optimal layout and eliminates all scrolling
100104
- **Mac Trackpad Integration**: Native pinch-to-zoom gesture support with smooth zoom factor handling
@@ -105,6 +109,11 @@ FDD ## Quick smoke te## Project Structuret Structureuild: `mvn -DskipTests -Pmac
105109
- **Cross-Platform CI**: Enhanced Maven configuration with platform detection for reliable builds
106110
- **Enhanced Layout Management**: Viewport-aware canvas sizing with dynamic element arrangement
107111
- **Professional Zoom Experience**: Editable zoom field, interactive slider, and comprehensive keyboard shortcuts
112+
- **Search & Navigation**: Tree search with forward/backward navigation, highlighting, and result persistence
113+
- **Navigation History**: Back/forward buttons for intuitive project exploration and workflow
114+
- **Click-to-Focus Integration**: Click canvas elements to automatically focus corresponding tree nodes
115+
- **Improved Tree UI**: Action bar relocated within tree view for better component association
116+
- **Enhanced CI/Testing**: Comprehensive headless testing infrastructure for reliable continuous integration
108117

109118
### ✅ Previous Highlights
110119

@@ -368,12 +377,13 @@ No shell scripts, no complex bundling - single executable JAR.
368377

369378
### ✅ Fully Implemented Features
370379

371-
- **JavaFX Canvas**: Zoom/pan with 0.1x-5.0x range, image export, context menus
380+
- **JavaFX Canvas**: Zoom/pan with 0.1x-5.0x range, image export, context menus, click-to-focus integration
372381
- **Rendering**: SF Pro Text font, contrast handling
373382
- **JavaFX Tree Interface**: Default tree with auto-expand, focus restoration, context menus, orange accent theme
374-
- **Enhanced UX**: Edit dialogs, node selection restoration, semantic styling
383+
- **Search & Navigation**: Tree search with forward/backward navigation, highlighting, and navigation history
384+
- **Enhanced UX**: Edit dialogs, node selection restoration, semantic styling, integrated action bars
375385
- **Complete Data Management**: Milestone tracking, work packages, XML persistence, MRU & layout prefs
376-
- **Cross-Platform Support**: Verified on macOS, Windows, and Linux
386+
- **Cross-Platform Support**: Verified on macOS, Windows, and Linux with comprehensive CI testing
377387
- **Undo / Redo Foundation**: Command stack with generalized multi-field edit support + Work Package CRUD
378388
- **Central Services**: ProjectService, DialogService, BusyService integrated; menu enablement now binding-driven
379389
- **Async IO (Phase 1)**: Open / Save migrated to background tasks with overlay
@@ -383,7 +393,7 @@ No shell scripts, no complex bundling - single executable JAR.
383393
- **Java 21 Compatibility**: Modern language features and performance
384394
- **Pure JavaFX Implementation**: Swing code & dependencies removed
385395
- **Maven Build System**: Reliable dependency management and build process
386-
- **Growing Test Suite**: Commands, preferences, layout, recent files, project service, busy service
396+
- **Comprehensive Test Suite**: 451 tests with headless CI infrastructure for reliable automation
387397
- **Structured Logging**: SLF4J + Logback fully integrated (console + rolling file) with MDC keys (projectPath, selectedNode, action) across commands, selection, project lifecycle, and async tasks
388398

389399
### 🔄 In Progress / Near-Term
@@ -439,8 +449,11 @@ No shell scripts, no complex bundling - single executable JAR.
439449
### Tree Operations
440450

441451
- **Navigation**: Click nodes to select, tree auto-expands on startup
452+
- **Search**: Use search field to find nodes with forward/backward navigation and highlighting
453+
- **History**: Back/forward buttons for intuitive navigation through your exploration path
442454
- **Context Actions**: Right-click for Add, Edit, Delete operations
443455
- **Focus Restoration**: Edit operations maintain your selection automatically
456+
- **Canvas Integration**: Click canvas elements to focus corresponding tree nodes
444457
- **Keyboard**: Use arrow keys and Enter for navigation
445458

446459
## Contributing
@@ -469,11 +482,16 @@ Verification: See `SWING_REMOVAL_VERIFICATION.md` for confirmation of full Swing
469482
### Completed ✅
470483

471484
- [x] JavaFX Canvas with zoom/pan capabilities
472-
- [x] Modern tree interface with auto-expand
485+
- [x] Modern tree interface with auto-expand and search functionality
486+
- [x] Tree search with forward/backward navigation and highlighting
487+
- [x] Navigation history with back/forward buttons
488+
- [x] Click-to-focus integration between canvas and tree
489+
- [x] Enhanced tree UI with integrated action bars
473490
- [x] High-quality text rendering and smart contrast
474491
- [x] Edit dialog focus restoration
475492
- [x] Cross-platform font optimization
476493
- [x] Semantic UI styling and user experience
494+
- [x] Comprehensive CI infrastructure with headless testing
477495
- [x] Undo / redo foundation (command stack + generalized snapshot editing)
478496

479497
### Future Opportunities 🔮

ROADMAP.md

Lines changed: 34 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
1-
# FDD Tools Development Roadmap (Updated Aug 15 2025)
1+
# FDD Tools Development Roadmap (Updated Aug 28 2025)
22

33
This roadmap is intentionally concise and only tracks actionable and status‑relevant work. Historical details live in Git history & CHANGELOG.
44

5-
## 1. Recently Completed (Canvas Excellence - Aug 2025)
5+
## 1. Recently Completed (Navigation & Search Excellence - Aug 2025)
66

7-
### Canvas System Perfection
7+
### Enhanced Navigation & Search System
8+
9+
- **Tree Search with Navigation**: Comprehensive search functionality with forward/backward navigation through results
10+
- **Search Result Highlighting**: Visual highlighting of found nodes with persistent search state
11+
- **Navigation History**: Back/forward buttons for intuitive project exploration and workflow navigation
12+
- **Click-to-Focus Integration**: Click canvas elements to automatically focus corresponding tree nodes
13+
- **Enhanced Tree UI**: Action bar relocated within tree view for better component association and clarity
14+
- **Comprehensive CI Infrastructure**: Robust headless testing environment with JavaFX initialization and platform compatibility
15+
16+
### Canvas System Perfection (Continued)
817

918
- **Perfect Fit-to-Window Algorithm**: Advanced layout calculation that eliminates all scrolling and maximizes viewport usage
1019
- **Mac Trackpad Integration**: Native pinch-to-zoom gesture support with smooth zoom factor handling and cross-platform compatibility
1120
- **Smart Auto-Fit on Resize**: Dynamic viewport awareness that automatically readjusts layout when window size changes
1221
- **Dynamic Scroll Behavior**: Intelligent scroll policies based on zoom level (vertical-only at 100%, 2D when zoomed, none when fitted)
1322
- **Professional Action Bar**: Modern zoom controls with Unicode symbols, editable percentage field, interactive slider
1423
- **Orange Theme Consistency**: Unified hover effects (#fd7e14) and visual styling throughout the interface
15-
- **Enhanced Cross-Platform CI**: Maven configuration improvements with platform detection for reliable builds
1624

1725
### Previous Core Completions
1826

@@ -31,11 +39,12 @@ This roadmap is intentionally concise and only tracks actionable and status‑re
3139

3240
## 2. In Progress
3341

34-
- Custom TreeCell (icons + future progress pill) – NOT STARTED
42+
- Performance optimization and refinements
43+
- Enhanced scrolling behavior for drag/drop operations
3544

3645
## 3. Short-Term Target Queue
3746

38-
1. Implement custom TreeCell (icon + extension point for progress pill)
47+
1. Custom TreeCell (icon + extension point for progress pill) – targeted next
3948
2. Performance baseline script (synthetic large project; capture render + fit timings)
4049
3. MRU resilience & corrupted prefs recovery test
4150
4. Progress pill & per-node status visualization once custom cell exists
@@ -66,43 +75,45 @@ This roadmap is intentionally concise and only tracks actionable and status‑re
6675
- Consider refactoring image export to remove final AWT dependency (optional)
6776
- (Done) Removed obsolete `modern-style.css` after semantic theme completion
6877

69-
## 7. Test Coverage Analysis & Priorities (Updated Aug 16 2025)
78+
## 7. Test Coverage Analysis & Priorities (Updated Aug 28 2025)
7079

71-
### Current Test Status (355 tests, 0 failures)
80+
### Current Test Status (451 tests, 0 failures)
7281

73-
- **Overall Coverage**: 54% instruction, 37% branch
82+
- **Overall Coverage**: Strong coverage across all critical business components
7483
- **Services**: 86% coverage (excellent)
75-
- **Persistence**: 78% coverage (excellent)
84+
- **Persistence**: 78% coverage (excellent)
7685
- **Commands**: 88% coverage (excellent)
7786
- **Model**: 86% coverage (excellent)
7887
- **Utilities**: 78% coverage (good)
7988
- **Import Readers**: 94-97% coverage (exceptional)
89+
- **CI Infrastructure**: Comprehensive headless testing with JavaFX initialization for reliable automation
8090

8191
### Testing Assessment
8292

83-
Current test coverage is **excellent** for critical business logic. The comprehensive test suite provides strong regression protection across all core functionality including services, persistence, commands, and import/export operations.
93+
Current test coverage is **excellent** for critical business logic. The comprehensive test suite with 451 tests provides strong regression protection across all core functionality including services, persistence, commands, import/export operations, and headless CI compatibility.
8494

8595
### Areas Requiring Testing Focus (Priority Order)
8696

87-
1. **UI Components** (42% coverage) - Largest gap but requires complex JavaFX infrastructure
88-
2. **Canvas rendering edge cases** - Fit algorithm correctness with varied feature counts
89-
3. **Busy overlay timing** - Anti-flicker threshold validation
90-
4. **Custom TreeCell** - Once implemented, test icon rendering and progress visualization
91-
5. **MRU pruning & corrupted preferences recovery** - Edge case testing
97+
1. **UI Components** - Largest gap but requires complex JavaFX infrastructure
98+
2. **Search functionality edge cases** - Navigation state persistence and boundary conditions
99+
3. **Canvas rendering edge cases** - Fit algorithm correctness with varied feature counts
100+
4. **Navigation history** - Back/forward state management and persistence
101+
5. **Custom TreeCell** - Once implemented, test icon rendering and progress visualization
92102

93103
### Testing Strategy Recommendation
94104

95-
**DO NOT expand unit test coverage further.** Current 54% overall coverage with 86-97% coverage on critical business components provides exceptional protection. Focus quality assurance efforts on:
105+
**DO NOT expand unit test coverage further.** Current test suite with 451 tests and excellent coverage on critical business components provides exceptional protection. Focus quality assurance efforts on:
96106

97107
1. **Integration/E2E Testing** - User workflow validation
98-
2. **Performance Testing** - Large project stress tests
108+
2. **Performance Testing** - Large project stress tests
99109
3. **Visual Regression Testing** - Canvas rendering consistency
100110
4. **Accessibility Testing** - Screen reader compatibility
101111
5. **Platform-specific Testing** - macOS/Windows/Linux behavior validation
102112

103113
### Known Test Issues
104114

105-
- `ProjectServiceComprehensiveTest.saveAfterSaveAs` - Race condition with Platform.runLater in setDirty (deferred fix)
115+
- Resolved CI infrastructure issues with headless JavaFX testing
116+
- Enhanced test reliability across different CI environments
106117

107118
## 8. Status Summary
108119

@@ -112,6 +123,10 @@ Current test coverage is **excellent** for critical business logic. The comprehe
112123
| Dark / Light / System switching | COMPLETE |
113124
| Semantic stylesheet base | COMPLETE |
114125
| Canvas Fit (column search + auto-fit) | COMPLETE |
126+
| Tree Search & Navigation | COMPLETE |
127+
| Navigation History (back/forward) | COMPLETE |
128+
| Click-to-Focus Integration | COMPLETE |
129+
| Enhanced CI Infrastructure | COMPLETE |
115130
| Logging (audit & perf w/ toggles) | COMPLETE |
116131
| Undo/Redo core | COMPLETE |
117132
| Theme + language smoke test | COMPLETE |

0 commit comments

Comments
 (0)