Repository navigation
Add HTML dashboard report with name masking and skipped-rows CSV - #2
Merged
Merged
Conversation
- New default output: one self-contained HTML file (Jinja2, inline CSS/SVG, no external assets) with KPI tiles, skipped-rows warning, route and class bar charts, weekly net revenue line, and a filterable, searchable table - Export CSV and Print / Save PDF buttons; light and dark mode; phone layout - Passenger names masked by default in HTML and text; --show-names opts in - Skipped rows also saved as ..._skipped_rows.csv; formula-like cells neutralised - --format html|txt|both; source file sha256 shown in the report footer - Tests for escaping, masking, chart geometry and the new CLI options Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016gtNTGbmvq2DdoGC4air5K
royalpriest
added a commit
that referenced
this pull request
Nov 19, 2026
Add HTML dashboard report with name masking and skipped-rows CSV
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.
Requested by Royal · project thread
What changed
Follow-up to #1. This builds the dashboard from the mockups.
report-tool bookings.xlsxnow writes one self-contained HTML file by default. It has no server and no external assets, so it opens offline in any browser...._skipped_rows.csv.report_tool/charts.py, so there's no charting library. Axes use whole-number steps, and every chart has a legend or direct labels, so color is never the only cue.M. G•••••••) in both HTML and text output. Full names are never written to the file unless--show-namesis passed.--format html|txt|both(defaulthtml) and--show-names. The footer shows the source file's sha256 for traceability.jinja2dependency. Version bumped to 1.1.0.Behaviour change
The default output is now HTML instead of
.txt, and names are masked in the text report too. Use--format txt --show-namesto get the old text output with full names.How I checked
pytest: 44 passed. New tests cover HTML escaping, masking, the skipped-rows banner, the weekly series (gap filling, ignoring cancellations), chart geometry, axis ticks, the CSV formula guard, and the--format/--show-namesoptions.ruff check .andruff format --check .: clean.samples/bookings_sample.xlsxin Chromium at desktop (light and dark) and phone widths. There were no console errors. The status filter and search worked: "Cancelled" showed 8 of 60 rows, and searching "kingston" with Cancelled still selected showed 1.Generated by Claude Code