Skip to content

[BEGINNER FRIENDLY] Replace latest-report placeholder export button on Reports page #79

@utksh1

Description

@utksh1

Summary

The Reports page header still has a latest briefing export button that points at a placeholder latest-report route. It should either target the newest ready report or be removed/disabled with clear behavior.

Scope

  • Update frontend/src/pages/Reports.tsx.
  • Prefer using the newest report with status ready from the reports data.
  • Add/update unit tests around the header export button behavior.

Acceptance Criteria

  • The button never calls /task/latest/report/pdf.
  • If a ready report exists, it opens that report's PDF URL.
  • If no ready report exists, the button is disabled or hidden.
  • Existing per-report export buttons keep working.

Metadata

Metadata

Assignees

Labels

area:frontendFrontend React/UI workbeginner friendlySmall scoped task suitable for beginner contributorslevel:beginner20 pts difficulty label for small beginner-friendly PRspriority:mediumImportant issue with normal urgencytype:bugBug fix work category bonus labeltype:featureFeature work category bonus label

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions