- Header "Export" menu: Export CSV (via the existing /api/export?from&to date range for the viewed month) and Print (window.print()). Extract the shared downloadFile blob helper to lib/download.ts (reused by DownloadMyDataSection). - Add api.exportRangeUrl(from, to, fmt). - Tracker-scoped @media print CSS: hide interactive chrome (.tracker-print-hide), keep the month title + summary + buckets, avoid splitting a row across pages. - Header "Calendar" button deep-links to /calendar?year&month; CalendarPage now reads those params as its initial month (falls back to today). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| pages | ||
| public/img | ||
| App.tsx | ||
| api.ts | ||
| index.css | ||
| main.tsx | ||
| types.ts | ||