-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionalityAn improvement of existing functionality
Description
- Gitea version (or commit ref): 1.7.0
- Git version: 2.14.5
- Operating system: Slackware64 14.2
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant (the demo doesn't allow non-image uploads)
- Log gist:
Description
Looking at the view rendering issue attachments, it seems that only images have a special handling.
If you attach files of other types (eg. pdf, txt, odt, ..) an icon with a tooltip containing the file name is rendered.
If an issue contains more than one attachment, it's quite hard to look for a specific attachment on desktop, and impossible on mobile without downloading them all.
It would be nice to have at least the file name printed (alone or alongside the icon), or even better to have an icon like the one already used for newly uploaded files
Screenshots
The screenshot is from an issue containing 2 pdf and 3 odt attachments. There's no way to discriminate between the files:
The icon used for newly uploaded files is way nicer:
a7hybnj2, mattbk and heliomcp
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionalityAn improvement of existing functionality