Skip to content

Add a badge to the release history page for files added late #20555

Description

@nlhkabu

File.added_late already exists (warehouse/packaging/models.py) and is used to warn users that a file was uploaded more than maximum_age_for_new_uploads_days after the first file in its release. It's currently surfaced in two places:

  • warehouse/templates/includes/file-details.html — a callout-block--warning on the individual file detail tab
  • warehouse/templates/includes/packaging/project-files.html — a warning icon next to the upload date in the Files tab table

However, the release history timeline (warehouse/templates/includes/packaging/project-release-history.html) shows no indication that a release contains a late-added file.

Describe the solution you'd like

To expose a badge per release with late files - without creating performance issues.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

UX/UIdesign, user experience, user interface

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions