1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00
forgejo/models/migrations/v1_19
Nathaniel Sabanski fb1a2a13f0
Preview images for Issue cards in Project Board view (#22112)
Original Issue: https://github.com/go-gitea/gitea/issues/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 <i@wolfogre.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2023-02-11 16:12:41 +08:00
..
main_test.go Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v231.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
v232.go Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v233.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
v233_test.go Restructure webhook module (#22256) 2023-01-01 23:23:15 +08:00
v234.go Update gitea-vet to check FSFE REUSE (#22004) 2022-12-02 22:14:57 +08:00
v235.go Update gitea-vet to check FSFE REUSE (#22004) 2022-12-02 22:14:57 +08:00
v236.go Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00
v237.go Check primary keys for all tables and drop ForeignReference (#21721) 2022-12-23 19:35:43 +08:00
v238.go Add cron method to gc LFS MetaObjects (#22385) 2023-01-16 13:50:53 -06:00
v239.go Support scoped access tokens (#20908) 2023-01-17 15:46:03 -06:00
v240.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
v241.go Preview images for Issue cards in Project Board view (#22112) 2023-02-11 16:12:41 +08:00