# Changelog

All notable changes to Convency.

## [1.0.8] - 2026-08-10

### Added
- **Activity Heatmap** on the screen-time dashboard: 7x24 grid (per-day for
  Week, weekday-aggregated for Month/Year) with an alpha-scaled accent,
  hover/click tooltip, and hour axis. **Today also shows a single 24-hour
  "Daily Heatmap" row** (labelled "Today's Activity").
- **Historical period navigation** (`#stNav`) for Week/Month/Year: browse back
  through past weeks/months/years with a range label; every time-derived
  number (hero, breakdown, timeline, comparison, heatmap) honors the offset.
- **Shareable report image**: `#stReportBtn` now shares (or downloads) a
  canvas PNG including the hero total, delta vs previous period, top-15 sites
  (letter tiles), stats, **Current Session**, the **Activity Heatmap**, and a
  **Daily Activity** bar series.
- **Reports & Data** card with JSON **Backup** and **Restore** (confirm modal).
- **Data usage heatmap** (`#duHeatmapSection`) in the Data view, plus the
  per-hour `dataUsageHourly` store backing it. Shows a single row on Today
  too.

### Changed
- Data Usage view now mirrors the screen-time layout: greeting, hero total +
  sub, comparison row, range pills, and period navigation (`#duNav`) for
  historical browsing.
- Screen-time report button renamed "Download Report" -> "Share Report"
  (uses `navigator.share` when available, falls back to download).

### Removed
- "Recent Large Downloads (>1MB)" card from the Data view and its popup
  rendering.

### Fixed
- **Data usage attribution**: bytes were billed to the *tab being browsed*,
  so visiting github.com credited every subresource (Google Fonts, CDNs,
  ads/analytics) to github.com. Each request (and streamed media) is now billed
  to the domain that actually served the bytes.
- **Today inflation**: on the first load of each new day, "today" was seeded
  from the all-time totals, padding Today/Week/Month/Year ranges with the whole
  history. Removed — ranges now reflect only the days they cover.
- Data-usage timeline bars now show the top-used site's favicon, matching the
  screen-time timeline.

## [1.0.7] - 2026-08-09
- Live session fixes; breakdown logo tiles; timeline label contrast; version
  infrastructure for reports/backup/restore.

## [1.0.6] - 2026-08-08
- Screen-time range pills (Today/Week/Month/Year), stacked daily timeline,
  website breakdown, stats row, and theme fixes.
