Repository navigation
feat(#96): GUI filtering and export for run archive - #100
Open
Allan-Nava wants to merge 2 commits into
Open
Allan-Nava wants to merge 2 commits into
Allan-Nava wants to merge 2 commits into
Conversation
added 2 commits
September 21, 2026 14:45
…d advanced reporting
- HistoryPanel: filter controls for status (clean/knee/invalid) and peak rate range - gui/ui/src/lib/export.js: filterRuns(), exportAsJSON(), exportAsCSV() - Export button downloads filtered runs as JSON or CSV with proper escaping - tests/ui/export.test.js: 5 tests for filter logic and export formats Filter controls: - Status dropdown: all / clean / knee / invalid - Peak rate range: min/max inputs in req/s Export formats: - JSON: structured object with timestamp, count, and run array - CSV: tabular format with proper quote/comma escaping (RFC 4180)
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add advanced filtering and export capabilities to the GUI archive view. Users can now explore run history with targeted filters and export results in standard formats (JSON/CSV).
Changes
HistoryPanel.jsx: Enhanced with filter UI and export buttons
gui/ui/src/lib/export.js (new): Export and filter logic
filterRuns(runs, filters)— filter by status and rate rangeexportAsJSON(runs)— structured JSON with timestamp and countexportAsCSV(runs)— tabular CSV with proper escapingtests/ui/export.test.js (new): 5 unit tests
Features
✅ Status filtering: clean (no abort) / knee (brake tripped) / invalid (generator issue)
✅ Rate filtering: set min/max peak req/s to show subset of runs
✅ JSON export: download filtered runs with timestamps and metadata
✅ CSV export: compatible with Excel, Google Sheets, data analysis tools
✅ Proper escaping: RFC 4180 CSV format (handles commas, quotes)
Testing
Related
Closes #96 (partial — further UX polish deferred to v1.20.1)
🤖 Generated with Claude Code