-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove thumbnail cropping, and default thumbnail aspect ratio to 16:9 #1369
Conversation
…thumbnail aspect ratio to 16:9.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I do want to be a little careful merging this in right away without addressing a few other concerns:
- When I run Studio locally, I'm not getting the 16:9 channel aspect ratio, so we might need to change that too
- We haven't added the tools for handling non 16:9 thumbnails like filling in the rest of the space of the image
- We need to update the front-end croppie wrapper to have this ratio as well
I can tackle these, but we'll probably want to merge these changes in with this PR
|
I'm not able to replicate #1336 locally, so I'm not sure if merging things in will make it square again
That makes sense, although I feel like the thumbnails might feel a little 'ill-fitted' for the frame (echoing some of the thoughts here). It would be nice to have some way to fill up the rest of the space, but perhaps for another time
Thanks! There are a few other places you'll need to update as well:
Along with that, you'll need to update the |
Thanks for the detailed information and help! I just pushed fixes for the remaining thumbnail display locations. I'm fine with taking more time with this and not pushing it in the next release, although I would say that we look at this change from the perspective of does it make anything worse than it is today rather than does it solve all the issues. For example, it's true that now some thumbnails won't look great as we move from square to 16:9 for channels, but they won't look any worse in Kolibri than they do now, and them looking less good in Studio will hopefully serve as a motivator to improve the thumbnail to match our new guidelines. 😄Love to hear your thoughts on how things look now! |
Alright, just a few more things I noticed as I was going through the demo server:
As for this push as a whole, the interface looks great to me! My main hesitation is primarily from the repercussions on the content sources. 16:9 isn't really a common aspect ratio for brand-related assets. However, this seems to be okay given that thumbnails of any size should still be displayed |
Also resolves #1286 |
A few more things before we can merge: |
Okay, just pushed fixes for the above issues! |
Awesome! Merging now |
Description
Removes code to crop images to have a square aspect ratio. This would sometimes create oddly cropped thumbnails, and Kolibri is capable of displaying 16:9 ratio thumbnails, so we remove the cropping to ensure the thumbnails look the same in Studio and Kolibri.
Note that this is basically removing code, so existing test coverage should ensure the code is still working.
Issue Addressed (if applicable)
Addresses #1266
Steps to Test
Does this introduce any tech-debt items?
There are still a couple places that assume square thumbnails in the UI, but addressing this can probably happen in a future release.
Checklist
Delete any items that don't apply
Reviewers
If you are looking to assign a reviewer, here are some options: