Xyphyn / photon

A replacement for lemmy-ui with more features, a better design, and more customizability.
https://phtn.app
GNU Affero General Public License v3.0
311 stars 35 forks source link

Feature request: Thumbnail Grid-view #334

Open blox814123 opened 1 month ago

blox814123 commented 1 month ago

Describe the solution you'd like An Imgur-like grid view that highlights the thumbnails of posts.

image

In addition and optionally, I suggest the ability to move between posts by using the "left" and "right" keyboard arrows (posts expand on the same page, thus making browsing between posts seemless.)

The thumbnail should expand downwards on click, between the current and bottom row, allowing users to access posts without leaving the grid-view. You can see this working here.

Additional context Video or image thumbnails are used for the grid view. If no image is available (because it's just a post without link, image or video), a placeholder image can be used that indicates it is a post.

A suggestion would be 4-8 columns per row and a thumbnail size between 128x128 and 256x256

The post title should probably be included, other information like number of comments and upvotes may not be necessary.

sevonj commented 3 weeks ago

Kinda like browsing artstation.

blox814123 commented 3 weeks ago

Kinda like browsing artstation.

I didnt know that site, but yes, good example!

Xyphyn commented 3 weeks ago

Like the old project of mine imagi?

Screenshot_20240622-081609.png

(speaking of which, how long did imgur have that layout? it looks like they ripped off me lmao)

sevonj commented 3 weeks ago

I built a crappy proof of concept and opened a couple art and other picture communities with it.

The code is some unusably god awful jank, but it confirms that I like this idea.

![image](https://github.com/Xyphyn/photon/assets/100710152/da7d8231-5de1-4e5c-8110-fbdc1c66a0b2) ![image](https://github.com/Xyphyn/photon/assets/100710152/0d6c4556-ea96-4dd7-9350-762f9273a472) It would benefit from that infinite scroll though.

Oh, and, why is there no selectbox to change the view in communities?