Skip to content

File details: "uploaded via" renders suboptimally with JSON UAs #19076

@woodruffw

Description

@woodruffw

Some uploading clients (notably uv publish, but potentially twine as well in the future) use JSON in their User-Agent to help feed linehaul more structured metadata. Unfortunately, this JSON payload doesn't render super nicely on the file details page 🙂

I initially tried to fix this by wrapping file.uploaded_via in a <code> block, but the wrapping/overflowing is still a bit off with that. I'll try and fix it more thoroughly in the coming days, but I figured I should file a tracking issue.


Example:

Image

From: https://pypi.org/project/uv/#uv-0.9.10-py3-none-win_arm64.whl

Metadata

Metadata

Assignees

Labels

HTMLrequires change to HTML filesUX/UIdesign, user experience, user interface

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions