-
Notifications
You must be signed in to change notification settings - Fork 55
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
Feat / UI updates and bring back support for light background colors #629
Conversation
Visit the preview URL for this PR (updated for commit 8f3e554): https://ottwebapp--pr629-feat-ui-updates-yvj4umwf.web.app (expires Sun, 01 Dec 2024 13:56:47 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c198f8a3a199ba8747819f7f1e45cf602b777529 |
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.
Nice cosmetic improvement and great clean up as well. 👍
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.
Nice visual improvement! I tested it in different responsive sizes and in an old browser. Looks good!
I pushed two updates;
|
How does it handle embedded images? |
Good question, should we only allow some markup syntax for the description? |
I think we should only allow markup such as links and text markup (bold, italic, underline). It wouldn't make it really pretty, but let's leave that up to the end customer. So no: images, lists, code and headings. Links should be presented differently on TV apps, because you don't want to leave the TV app, but this is out of scope for this PR. |
Thanks @langemike! I have updated the markdown component to disable images and GitHub flavoured markdown. Most block elements are already disabled due to using |
0112506
to
d7c96ca
Compare
feat(project): increase header height fix(playlist): use correct card width in grid fix(project): support light body background colors feat(videodetail): use markdown for video description fix(videodetail): remove space in video duration fix(videodetail): inline layout alignment feat(epg): dynamic background chore: update snapshots fix(epg): use default epg background fix(epg): disable scroll animation on first render chore(videodetail): featured shelf alignments chore(e2e): fix expand video details test chore: update snapshots chore: hide images in video description
d7c96ca
to
8f3e554
Compare
Description
This PR contains many UI improvements and (re)adds support for using light background colors.
Generic UI Improvements
Video details
Header
Light background/header colors
The OTT Web App originally supported using lighter background/header colors. This was not working properly anymore and contained many bugs. It's not pretty, but it does work and uses the correct contrast colors again. The following changes are related to this:
body-color
CSS variable based on the calculated contrast colorvariables.$white
usages which overwrites the--body-color
(and add some where it was needed)Update 29/10
Screenshots
Screenshots light background color