FreeTubeApp / FreeTubeApp/FreeTube

[Feature Request]: Show unified view when viewport width can only fit one row of content

Open
#5,012 4 comments 0 reactions 0 assignees View on GitHub
E: improvement existing feature E: new feature E: visual improvement
Dominant language
Vue
Stars
21.9k
Forks
1.5k
Avg merge
1d 14h
Merged PRs (30d)
62

Description

### Guidelines

- [X] I have searched the issue tracker for [open](https://github.com/FreeTubeApp/FreeTube/issues?q=is%3Aopen+is%3Aissue) and [closed](https://github.com/FreeTubeApp/FreeTube/issues?q=is%3Aissue+is%3Aclosed) issues that are similar to the feature request I want to file, without success.
- [X] I have searched the [documentation](https://docs.freetubeapp.io/) for information that matches the description of the feature request I want to file, without success.
- [X] This issue contains only one feature request.

### Problem Description

Mobile devices, below a certain width threshold, aren't actually ever getting a Video View Type of grid. Rather, we have styling rules that make the grid display attempt to emulate the list view. This is more code to maintain, and an additional scenario to test for each new feature.

### Proposed Solution

Force the list view for mobile devices on all routes. This allows us to reduce the amount of code we have to maintain and test. See the resize event listener in `ft-list-video.js` to see how we check for this condition. If we have any unrelated grievances with the mobile List view that we have been putting off because not enough of us actually use the list view, we should also fit in some changes there as well if possible (most expediently by stealing certain rules from the grid mobile view, or more ambitiously by pursuing a broader rework of the `ft-list-video` mobile appearance).

This may be partly dependent on #5007 if we think that the visual real estate afforded by that change for mobile users will allow us to have more flexibility.

### Alternatives Considered

None come to mind. Maybe switching to `grid` as the mobile default on specific views where it looks better, but that seems insufficient & somewhat complicated to keep track of.

### Issue Labels

improvement to existing feature, visual improvement

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.