Skip to content

Add HTML application-tracker dashboard (skill + native swelist command) - #13

Merged
chenyuan99 merged 4 commits into
mainfrom
claude/html-report-dashboard-b9xt2u
Jul 12, 2026
Merged

chenyuan99 merged 4 commits into
mainfrom
claude/html-report-dashboard-b9xt2u

Conversation

@chenyuan99

Copy link
Copy Markdown
Owner

Summary

  • Adds a html-report Claude Code skill (skills/html-report/SKILL.md) that generates a self-contained HTML dashboard (stat cards, Chart.js charts, filterable table) from the shared SQLite tracker database used by job-application-manager, and adds structural tests for it plus a reports/ .gitignore entry.
  • Adds a native swelist tracker report [output] [--db PATH] [--open] CLI command (swelist/report.py) that generates the same dashboard deterministically in Python, without Claude — reads the same applications table, adapts to either the base or richer tracker schema, and --open launches the browser directly.
  • Updates CLAUDE.md (Quick Reference, Project Layout, CLI Architecture, Testing) and skills/profile.md to document the new command/skill.

Test plan

  • pytest — full suite passes (67 passed, 6 skipped; skipped tests require the optional openai extra)
  • pytest tests/test_report.py — unit tests for the HTML generator (99% coverage on report.py)
  • pytest tests/test_tracker.py — CLI tests for swelist tracker report, including empty DB, missing DB, default output path, and --open browser launch (100% coverage on tracker.py)
  • pytest tests/test_html_report_skill.py — structural checks on the Claude skill file
  • flake8 clean on all touched files
  • Manually generated a dashboard against a populated SQLite DB and inspected the output HTML (doctype, Chart.js CDN reference, correct stat-card counts, correct table row count)

Generated by Claude Code

claude added 4 commits July 12, 2026 14:00
Introduces a new Claude Code skill (skills/html-report/SKILL.md) that
renders job_search_tracker.csv and documents/applications/*/outcome.md
into a single self-contained HTML dashboard with stat cards, Chart.js
charts, and a filterable table. Read-only — never writes back to the
tracker or archive.
Reads from the same applications table job-application-manager writes
to (~/.offerplus/applications.db) instead of a separate CSV file, so
both skills stay in sync automatically. Adapts charts/columns/status
buckets to the actual tracker schema, with graceful fallback for the
older v0.2.x column set.
Adapts the pattern from ai-job-search's test_html_report_command.py to
this repo's actual layout (skills/html-report/SKILL.md, pytest style):
checks the skill file exists with valid frontmatter and required
sections, confirms it reads the shared SQLite tracker rather than the
old CSV design, and that generated reports/ is gitignored.
Ports the html-report skill into real Python code so the dashboard can
be generated without Claude: swelist/report.py reads the same SQLite
applications table as the other tracker commands (adapting to either
the base or richer v0.5.0 column set), computes status-bucket stats,
and renders a self-contained HTML file with Chart.js charts and a
filterable table. Wired up as `swelist tracker report [output] [--db]
[--open]`, with --open launching the browser directly since a CLI can
do that where a Claude skill can't.
@codecov

codecov Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.98990% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 79.36%. Comparing base (d738e0c) to head (4994356).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
swelist/report.py 98.79% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
+ Coverage   73.16%   79.36%   +6.20%     
==========================================
  Files           5        6       +1     
  Lines         313      412      +99     
==========================================
+ Hits          229      327      +98     
- Misses         84       85       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@chenyuan99
chenyuan99 merged commit fecec59 into main Jul 12, 2026
7 checks passed
@chenyuan99
chenyuan99 deleted the claude/html-report-dashboard-b9xt2u branch July 12, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants