
[Feature] List view for posts

Created by: Tirokk
Authored by alina-beck
To avoid overwriting your issue @alina-beck @Raimundo-dev and I (@Tirokk ) created a new one here: #3460

Feature

Users should be able to switch between the grid view
we currently have on the index page and a new list view
.
User Problem
Not sure – there are different opinions on this:
@ogerly said that the list view
is supposed to be a lightweight alternative to the current index page – with no images, so users can choose to save data traffic, e.g. when they're on mobile.
@DennisHack and Viktor suggested to add thumbnail images. In that case the list view would maybe just cater to a different taste and offer users more freedom? Could you clarify your intentions in a bit more detail?
Implementation
This is already half-implemented in this PR: #2964 – it adds a button to toggle between the two views on the index page. (It doesn't play nicely with loading more
posts yet.)
Design & Layout
Validation
?
Open questions
- Which problem are we trying to solve with this feature?
- Do we want to save the preferred view for each user?
-
Should we automatically detect if a user is on mobile and activate the
list view
if that's the case? -
Do we keep the
grid view
as thedefault
? -
Should we add thumbnails to the
list view
or keep them text-only? -
Is this setting only valid on the
index
page or also for the posts on theuser profile
pages and therelated posts
section of thepost page
?