Skip to content

docs: add a Reports guide (templates, section picker, PDF export) - #527

Merged
gkhngyk merged 1 commit into
mainfrom
docs/reports-guide
Jul 24, 2026
Merged

gkhngyk merged 1 commit into
mainfrom
docs/reports-guide

Conversation

@gkhngyk

@gkhngyk gkhngyk commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the missing Platform Guide for the Reports module: what an immutable snapshot report is, how to generate one (the four templates with their default section sets and date presets, the 13-section picker, the Shopping-mode gating), how to read it (AI executive summary, per-section cards, +X% vs +X pts deltas), and PDF export. Wired into the Platform Guides nav in docs/mint.json between Content Optimization and the integration guides.

Template and section names match the UI copy in web/messages/en.json → reports exactly; default section sets and presets come from web/src/lib/reports/templates.ts.

Related issue

Closes #438

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

  1. cd docs && npx mint dev — the Reports page appears in the Platform Guides nav and /guides/reports renders (verified locally: HTTP 200, content renders).
  2. Cross-check the template table against the generate dialog on /dashboard/reports — names, default sections and default ranges match.

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • yarn lint passes (no web/ changes)
  • yarn typecheck passes (no web/ changes)
  • yarn format:check passes (no web/ changes)
  • Changes are focused — one concern per PR

@gkhngyk
gkhngyk merged commit 10796c2 into main Jul 24, 2026
4 checks passed
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.

Docs: add a Reports guide (templates, section picker, PDF export)

1 participant