[Feature Request]: Show unified view when viewport width can only fit one row of content #5012
Open
3 tasks done
Labels
E: improvement existing feature
E: new feature
E: visual improvement
enhancement
New feature or request
Guidelines
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 theft-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
The text was updated successfully, but these errors were encountered: