Repository navigation
docs: add a Reports guide (templates, section picker, PDF export) - #527
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 ptsdeltas), and PDF export. Wired into the Platform Guides nav indocs/mint.jsonbetween Content Optimization and the integration guides.Template and section names match the UI copy in
web/messages/en.json→reportsexactly; default section sets and presets come fromweb/src/lib/reports/templates.ts.Related issue
Closes #438
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
cd docs && npx mint dev— the Reports page appears in the Platform Guides nav and/guides/reportsrenders (verified locally: HTTP 200, content renders)./dashboard/reports— names, default sections and default ranges match.Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (no web/ changes)yarn typecheckpasses (no web/ changes)yarn format:checkpasses (no web/ changes)