-
Notifications
You must be signed in to change notification settings - Fork 12
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
Works with Panel (sort of) #33
base: main
Are you sure you want to change the base?
Works with Panel (sort of) #33
Conversation
Yes, the height is currently hardcoded to show ~10 rows. We can add an API for this.
Duplicate of #21
Theming is a bag of worms. Right now I don't have the capacity to take this on as I'm wrapping up my PhD. It would be an API that I'd be open to and willing to support through CSS variables in the future.
I don't have the capacity to take this on and encourage someone from the Panel community who is familiar to take it on. When #16 is complete that should be much more straight forward. |
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.
Thank you for the contribution! This section takes up almost a third of the README, which should primarily introduce quak. There isn't much here specific to quak, and to me this reads more like a tutorial and endorsement of Panel.
While Panel is great, anywidget works in many environments. To avoid showing preference, I intentionally choose a neutral tone. I emphasize that quak is an anywidget, and places where anywidgets work well should come to mind to readers.
In fact, I see it as an opportunity for frameworks to better emphasize their compatibility with anywidget if they want to be known for that support! I'd be happy to include a concise "works with" section and a link to a Panel tutorial instead.
Thanks for your feedback. Makes sense. I've tried to minimize and make neutral. Let me know what you think. Thanks. For context my contribution was inspired by what I have contributed in other places like https://github.com/whitphx/transformers.js.py#panel and https://developmentseed.org/lonboard/latest/ecosystem/panel/. I believe the longer Transformers and lonboard tutorials are useful as they more specifically helps the imagination of the users to understand what is possible and how to do it. One way to do it here would be to add it via a detail/ summary html element. It would take up an empty line + the detail/ summary line in the README. I experimented with it, but settled on the current contribution as I believe its in line with your feedback. |
I persisted the original tutorial here https://discourse.holoviz.org/t/works-with-quak/7537. |
I would like to document that Quak works with Panel. Might also test the widget in alternative ways that could provide input for further improvements.
I see some issues though that I could not figure out where where coming from or how to solve.
Max-Height of quak widget set to 274px
I can't figure out where this is coming from or change it. Setting
widget.layout.height="100%"
,widget.layout.height="600px"
orwidget.layout.max_height="100%"
does not seem to change anything.Lots of errors in terminal while loading and interacting with the widget
Dark Theme?
I would be nice with a Dark Theme well. Panel supports dark themes really work and I mostly use them in my work.
Panel Native Widget?
With Panel 1.5.0 (not yet released as of 2024-08-03) you also build
AnyWidgetComponents
with Panel. I.e. reuse the javascript and build the Python model using Python.I think this repository and widget could be a test of AnyWidget as a standard supported by libraries outside Jupyter like Marimo and Panel. So if you are interested I could contribute a Panel version of the quak
Widget
. Let me know if you are interested. Thx.