Skip to content

v3.8.0 — loyalty overview + analytics dashboard as PNG (options 19/20), suite 5,562 checks

Choose a tag to compare

@Abolfazlrwm Abolfazlrwm released this 23 Nov 09:28
· 5 commits to main since this release

Two more roadmap screens become real images — same numbers, same zero dependencies.

Added

  • Loyalty overview as PNG (manager option 19) — the program snapshot (totals, top member, members per rank as bars) as reports/loyalty_overview.png, built from the same LoyaltyOverview the console screen renders, so the image and the screen can never drift apart.
  • Analytics dashboard as PNG (manager option 20) — the same AnalyticsReport the screen shows (fleet composition, price buckets, active bookings per car, waitlist depth, upcoming pickups, chase-up footer) as reports/dashboard.png. Both ride the v3.7.0 hand-rolled encoder: no image library anywhere.
  • API contract hardened: every PNG writer now clears errorOut on success — a stale error message can no longer leak into a later call's status line.
  • 14 new suite checks (5,548 → 5,562): both new rasters (deterministic bytes, PNG signature, empty-state renders still valid) plus the dashboard slices verified against a live booking made in the test.

Suite: 5,562 checks, 0 failures · Try it: log in as admin / manager123, pick 19 or 20 — or docker run -it ghcr.io/abolfazlrwm/car-rental-system and do the same.

Full changelog: https://github.com/Abolfazlrwm/Car-Rental-System/blob/main/CHANGELOG.md