-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Better presentation for files attached to issues #6089
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Kind of related: I'd like to see the image preview in the footer removed for image attachments that are already displayed inline. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
Also... why is it so huge? :D Changed style to 24px, looks just fine. |
What about making it look the same as release-attachments? like this: This is what I changed to make it look like this (v1.9.3): patch.txt (would also fix issue #6501) |
@renevdzee I would really love that. And I've been wishing to hide the pictures already shown in the contents block (but that's more difficult to implement.... perhaps if the HTML parser adds a custom attribute to the |
@renevdzee care to make a PR? |
@guillep2k about the PR, I think I shouldn't. But feel free to take any element from my patch to create a better implementation than I did. Maybe someone with more html/css knowledge can take a look at it. |
…e file name and file size (see go-gitea#6500 and go-gitea#6089). Signed-off-by: Matthias Schoettle <[email protected]>
* Improves representation of attachments in issues to a list showing the file name and file size (see #6500 and #6089). Signed-off-by: Matthias Schoettle <[email protected]> * Fixes indentation. Co-authored-by: zeripath <[email protected]>
closed by #11141 |
* Improves representation of attachments in issues to a list showing the file name and file size (see go-gitea#6500 and go-gitea#6089). Signed-off-by: Matthias Schoettle <[email protected]> * Fixes indentation. Co-authored-by: zeripath <[email protected]>
[x]
):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:
The text was updated successfully, but these errors were encountered: