Skip to content

Unify crate details handling across all pages #1138

Open
@Nemo157

Description

@Nemo157

Mostly to fix #1093, but more specific issue for the refactoring I think should solve it.

The metadata used for rendering builds and source files doesn't currently pull enough details from the database for this, I think it might make the most sense to make both of them get the full CrateDetails and move the is_latest_version etc. checking into Tera helpers rather than being extra context variables, removing the separate MetaData struct at the same time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions