feat: add Python test suite (17 tests) #13

Merged
ti-paul merged 1 commit from feature/add-tests into master 2026-06-11 21:11:45 +00:00
Member

First test suite for dashboard.

  • JSON I/O operations
  • Stats building and validation
  • Message computation
  • History updates
  • Leaderboard structure and sorting

17 tests pass

First test suite for dashboard. - JSON I/O operations - Stats building and validation - Message computation - History updates - Leaderboard structure and sorting **17 tests pass**
feat: add PDF export button with print stylesheet
All checks were successful
CI / build-docker (pull_request) Successful in 23s
6901a37fe9
- Added export button in header that triggers window.print()
- Dynamic document title with date/time for saved PDF filenames
- Full print stylesheet: light theme, no dark backgrounds
- Preserves leaderboard, chart, and stats layout in print
- Hides export button in print output

Closes #2
ci: move workflows from .github to .forgejo
All checks were successful
CI / build-docker (pull_request) Successful in 9s
cc0b86f17d
Forgejo natively supports .forgejo/workflows as the action
directory. Using the standard path avoids compatibility issues
with runner labels and action discovery.
feat: add Python test suite (17 tests)
Some checks failed
CI / build-docker (pull_request) Failing after 0s
a2927e8849
First test suite for the dashboard project:
- JSON I/O: load, save, unicode, parent dir creation
- Stats building: field validation, completeness
- Message computation: empty, single, multi-day totals
- History updates: daily messages, max preservation
- Leaderboard: structure, sorting, empty handling
- Stats history structure validation

All 17 tests pass.
ti-paul left a comment
No description provided.
17/17 pass. LGTM.
ti-paul changed target branch from main to master 2026-06-11 21:11:35 +00:00
ti-paul left a comment
No description provided.
17/17 pass. LGTM.
ti-paul merged commit d190fa0388 into master 2026-06-11 21:11:45 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
les_clankeurs/dashboard!13
No description provided.