-
-
Notifications
You must be signed in to change notification settings - Fork 518
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
Not clear how to support Panel extensions in 1.0 #4957
Comments
It would be great if awesome-panel-extensions also supported panel version 1.0. I use panel/holoviews for many data science projects, and awesome-panel provides a very elegant portfolio for the projects. |
I am a new user of Panel. It would be truly awesome if |
To fix the "unknown property" error:
This needs to be rewritten as There are more issues, but I need to look in this in more detail before I can give concrete advice. |
My team and I would also like to use the JSME molecule editor widget in modern panel apps. @mattpap are you working on this? How challenging do you think the fix is to implement? Any estimate on when a fix would be completed? Perhaps we can help in some way? |
Should be a relatively simple update, but we have limited bandwidth to look at this. By comparing the model definitions in |
I have made an initial update to JSME here: awesome-panel/panel-chemistry#42 |
Thx. I'll look at this on weekends |
My next pain point is the NGL viewer. I can render it by first rendering outside of shadowroot and then appending to the I've reported it with NGL in nglviewer/ngl#1003 with a minimum, reproducible example. But maybe issues like these are familiar to Bokeh or Panel developers like @mattpap or @philippjfr? Please let me know. Thanks |
Problems with event handling are typically related to using if (event.target !== this.domElement) {
return
} Though every handler in that module is affected. Typically this is solved by rewriting such code as: if (!event.composedPath().includes(this.domElement)) {
return
} |
Thx. @mattpap. Is it correctly understood this needs to be done on the nglviewer side? I cannot do it in my code? |
I can see that in nglviewer/ngl#1003 (comment) they propose for us to use slots. I would try to see if that could work. But my brain says no because we are inside deeply nested shadow roots. |
I'm trying to upgrade
panel-chemistry
to Panel 1.0 in #41 and I cannot get it working. I see the following 2 issues when I serve thetest_jsme_editor
app.Somehow I believe the
JSMEEditor
Bokeh model is not being registered any more and thehttps://unpkg.com/[email protected]/jsme.nocache.js
file not being loaded. But its clear to me exactly what the cause and solution is.I need help.
Reproduce
Create and activate a virtual environment
Clone the repo and checkout the branch
git clone https://github.com/awesome-panel/panel-chemistry.git cd panel-chemistry git checkout feature/support-panel-1.0
Install the dependencies
Build the bokeh models
Serve the app
Verify the issue
If more info is needed, see the DEVELOPER_GUIDE
The text was updated successfully, but these errors were encountered: