UI: Training templates fluid video layouts #104435
No reviewers
Labels
No Label
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Content
Type
Design
Type
Report
Type
To Do
Type
Web Development
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/blender-studio#104435
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "ui/training-layout-fluid"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request updates training pages' UI, bringing a better layout for desktop screens. The new arrangement emphasizes the video while improving both the navigation and the discussion panels' accessibility on the UI, by introducing sidebars for the latter. The fluid video layout takes the available space for an improved viewing.
The PR brings improvements for the following templates:
The new layout – while optimized for generic screen sizes – handles extremely narrow and wide screen sizes as well. Templates on small screens should render similarily as before.
Screenshots:
WIP: Training templates fluid video layoutsto UI: Training templates fluid video layoutsNice! Got a few notes.
Cards listing
What do you think of going full width there too? To fit more cards in the widest layout.
At the moment it only fits 3, and it's centered. Proposal is to make it left-aligned, and up to 5 (?) cards.
Keep in mind that some folders have header images that will need a max-height to not span the entire width. Such as http://studio.local:8001/training/stylized-character-workflow/chapter/5d2f2730af91332f601b23c6/
Stack on Small Screens
On narrow browsers the media size becomes so small that it might be better to switch back to stacking the content under the media. What do you think?
Bugs
Tall images seem broken.
Reference:
Thanks!
@pablovazquez thank you for your detailed review and ideas! I addressed the above, see below.
xl
screens, in a fluid containerxxl
screens, in a fluid containerScreenshot:
Because of an issue, the
xl
andxxl
breakpoints were triggered at lower resolutions than defined in web-assets. I moved the breakpoints higher, to match web-assets defaults, that made the layout changes kick in at more optimal screen sizes. With the new breakpoints I think making the layout stacked on 'medium' screens might be not needed. What do you think?Screenshot:
The video below shows layout behaviour from 1320 px, where desktop layout is triggered.
This has been fixed so that images never exceed the central media container. Some other changes were added to make images' rendering match the display of videos in the new layout.
Screenshot:
@ -32,0 +16,4 @@
<section class="training-group-item training-group-item-content-detail">
<div class="row training-group-item-content-detail-inner">
<div class="col">
<div class="mb-3 row">
This entire div can be empty if
{% if training.picture_header_url %}
is false.Adding a gap because of
mb-3
without anything inside.Move the check up here.
Thanks, it has been fixed.
Thanks!