-
Notifications
You must be signed in to change notification settings - Fork 0
Add --graph-report CLI flag for modern API coverage tree visualization with enhanced UX #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: dreamquality <130073078+dreamquality@users.noreply.github.com>
Co-authored-by: dreamquality <130073078+dreamquality@users.noreply.github.com>
…testing Co-authored-by: dreamquality <130073078+dreamquality@users.noreply.github.com>
|
@copilot improve graph schema to be expandable tree |
…rganization Co-authored-by: dreamquality <130073078+dreamquality@users.noreply.github.com>
✅ Improved! Changed the graph schema from a force-directed layout to an expandable tree structure. The new tree organizes API endpoints hierarchically (APIs → Tags → Paths → Endpoints) with click-to-expand/collapse functionality and tree control buttons (Expand All, Collapse All, Center View). The tree provides much better organization and navigation for large API specifications compared to the previous graph layout. Commit: 2581ebf |
|
@copilot improve readability an UX |
Co-authored-by: dreamquality <130073078+dreamquality@users.noreply.github.com>
✅ Significantly improved readability and UX! Completely redesigned with: 🚀 Major Improvements:
The tree now shows actual hierarchical structure with expandable nodes, coverage statistics, and professional styling. Commit: ea7be7f |



This PR adds a new
--graph-reportCLI flag that generates an interactive expandable tree visualization of API test coverage alongside the existing tabular HTML report.🎯 Problem Solved
The existing HTML report provides detailed tabular coverage information but lacks a visual overview that makes it easy to quickly understand coverage patterns and relationships between API endpoints. Users needed a hierarchical visualization to:
🚀 Solution
Added a new optional
--graph-reportflag that generates a separate interactive HTML report featuring:Modern CSS-Only Tree Visualization
Enhanced UX & Readability Features
Interactive Features
Smart Organization
📊 Usage
🔧 Implementation Details
The implementation follows the existing codebase patterns and is fully backward compatible:
cli.js,lib/report.js) without breaking existing functionalitygenerateGraphHtmlReport()function mirrors existinggenerateHtmlReport()structure📈 Screenshot
The screenshot shows the dramatically improved interface with professional gradient header, metadata cards, enhanced controls with filtering options, hierarchical tree structure with intuitive icons, color-coded HTTP method badges, and clear coverage statistics.
✅ Testing
This enhancement provides users with a powerful hierarchical visual tool to quickly assess API coverage health with modern UX patterns and enhanced readability, while maintaining full backward compatibility with existing workflows. The self-contained implementation works reliably without external dependencies and provides significantly better user experience than traditional graph layouts.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.