-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Issue "cover image" / "preview image" for Project Board view #22102
Comments
I've got an incoming PR for this, the preview will be the latest "image type" attachment on an issue- simple, and allows for automatic updates of the cover image as issue progress is made! |
A few other variations that may be much more useful, yet take up a bit more vertical space. These would make Gitea competitive with Trello... wouldn't it be amazing to say goodbye to Atlassian products? Ha. Suggestion C (Top), Carousel style. Good for seeing a "timeline" of multiple assets at once! Suggestion E... Could be D if one image attachment, then C if more than one. |
This scrolling ability would be so nice, but undoubtedly, MacOS is gonna natively re-theme the scrollbar and make it look ugly as sin. 😢 Maybe something to do in the future. scroller.mp4 |
The CSS will try to center-align images until it cannot, then it will left align with overflow hidden. Single images get to be slightly larger. First image is the most recent, the SQL will fetch up to 5 latest images (URL string). All images supported by browsers plus upcoming formats: *.avif *.bmp *.gif *.jpg *.jpeg *.jxl *.png *.svg *.webp Current revision with light and dark themes: |
Original Issue: #22102 This addition would be a big benefit for design and art teams using the issue tracking. The preview will be the latest "image type" attachments on an issue- simple, and allows for automatic updates of the cover image as issue progress is made! This would make Gitea competitive with Trello... wouldn't it be amazing to say goodbye to Atlassian products? Ha. First image is the most recent, the SQL will fetch up to 5 latest images (URL string). All images supported by browsers plus upcoming formats: *.avif *.bmp *.gif *.jpg *.jpeg *.jxl *.png *.svg *.webp The CSS will try to center-align images until it cannot, then it will left align with overflow hidden. Single images get to be slightly larger! Tested so far on: Chrome, Firefox, Android Chrome, Android Firefox. Current revision with light and dark themes: ![image](https://user-images.githubusercontent.com/24665/207066878-58e6bf73-0c93-4caa-8d40-38f4432b3578.png) ![image](https://user-images.githubusercontent.com/24665/207066555-293f65c3-e706-4888-8516-de8ec632d638.png) --------- Co-authored-by: Jason Song <[email protected]> Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: delvh <[email protected]>
Feature Description
This addition would be a big benefit for design and art teams using the issue tracking.
Could be as simple as using the first image attachment, or allowing users to select one of the attachments as a cover image.
Suggestion A:
Suggestion B:
background-size: cover;
to make the cover image fit the background of the issue.Also open to other layout suggestions!
Screenshots
Suggestion A:
Suggestion B:
Original photo:
The text was updated successfully, but these errors were encountered: