-
Notifications
You must be signed in to change notification settings - Fork 142
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
[Demo] Add banner to visual vocabulary dashboard #868
[Demo] Add banner to visual vocabulary dashboard #868
Conversation
View the example dashboards of the current commit live on PyCafe ☕ 🚀Updated on: 2024-11-13 10:57:15 UTC Link: vizro-core/examples/dev/ Link: vizro-core/examples/scratch_dev |
Please don't merge yet. I'm trying out different designs and will push later :) |
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.
I really like how the banner looks even for "window" screens! 🎨
Have you pushed the latest version of the banner implementation to all of our hugging-face apps and do we have any other apps where we should do the same?
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.
Love it, this looks really really nice! ⭐ 💯
.anchor-container { | ||
align-items: center; | ||
background: var(--text-primary); | ||
border-top-left-radius: 8px; |
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.
😱 A rounded border?!
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.
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.
Yes 😄 I didn't like the border as is and for the banner we can make an exception 👍
It's not the banner that blocks the whole horizontal space. The banner floats already just on top of the underlying content. That horizontal space has always been there and is part of our initial layout design. It's coming from the right-side container and its padding :)
My 5 cents :) : given this looks nice and is very non-intrusive, is it time to rethink whether this should be added permanenty to all apps? (similar to streamlit) |
IMO yes. My questions would be:
|
Not an easy question to answer given where we will move, hence answer to next question
Generally would have said no because FE design changes are no breaking changes, and I think we should adhere to that, but given that the above question is actually more far reaching we should think about it a bit more, thus waiting for 0.2.0 is probably not a bad idea @Joseph-Perkins FYI |
I discussed this with @Joseph-Perkins already and for now, we will only have it in our public demos. There are several design and UX considerations we would need to discuss first, which we can discuss offline 👍 |
Description
Add banner to visual vocabulary dashboard
Screenshot
Notice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":