-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Adding Echarts events #2174
Adding Echarts events #2174
Conversation
@MarcSkovMadsen & @philippjfr I just pushed a first 'fully' functional version of echarts events - creating JS events as well as getting the subscribed events back as python params works - missing points:
|
I added custom select and filters: |
not sure I understand the signature pytest errors, some help is appreciated. One problem with event readonly?: |
Hi @JackDapid My argument for having |
Thanks @MarcSkovMadsen und Danke @philippjfr yes, that was also my reason and happy to either leave it out or propose a modification of the test_pane_clone to leave out read-onlies. Signature issue was caused by (stupidly) moving the wrong echarts example to the example folder - fixed now. For a more general discussion on how I (and we @gluoNNet, adding @kjp) could contribute to Panel I would like to point you to a PR (Press Release and not Pull Request :-)) http://www.caakz.com/aviation-administration-of-kazakhstan-launches-digital-regulator-sunflower/ and video, where we showcase some of our heavy use of Holoviews, Panel. .... |
Codecov Report
@@ Coverage Diff @@
## main #2174 +/- ##
==========================================
- Coverage 83.17% 73.58% -9.60%
==========================================
Files 247 247
Lines 36337 36401 +64
==========================================
- Hits 30224 26785 -3439
- Misses 6113 9616 +3503
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 39 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I'd really like to provide some detailed feedback here because the functionality is definitely great but I'm missing a bit of context. A lot of that could be answered by some documentation that describes the scope and implementation of the event system. So for now a couple of general points: Events vs ParametersI would not require coupling events to parameters, we should leverage Bokeh events more and provide ways for users to subscribe to those using an By using a real event system rather than abusing parameter/properties for this we won't have to merge all the events into a single event property and eliminate the need to name specific events. A real specificationI'd love to see a full specification of the event config proposed here. I see things like Happy to expand on any of this, but some references that might help to see what I'm talking about are the Python implementation of |
Hi @JackDapid I'm just blown away by the presentation. You have really put together a strong application based on HoloViz and Panel. I am also really interested in connecting and discussing. My guess is that you have a lot of Ideas on where Panel should be improved, you already have some improvements that could improve Panel in general and showcasing and explaining some of your work would be truly amazing. I'm including @nghenzi here who created the React Template. @nghenzi checkout the videos in the links above to see how your Template has been taken to the next level. |
Agreed, absolutely incredible work on that application. Thanks for sharing and as @MarcSkovMadsen indicated we'd be very grateful for your feedback. |
@philippjfr and @MarcSkovMadsen - not forgotten, just delivery deadline this Friday and will come back to it either later this week or during the weekend - agree to almost all written looking forward to next steps |
@philippjfr here some context for the events. The original idea was 'just' to get some client side JS event handling for echarts, so for example clicking on a node in the echarts - while discussing with @MarcSkovMadsen it turned out that we could easily add both server side and client side event support for echarts, which we than implemented - not aiming at a general Panel events support. But open for ideas, clearly. |
…mp?) readable=True from event param
I'm reviving this, but do have one question. Are the query and filter fields in the event config really needed? Sending these events is not expensive so I'd rather have a simpler configuration and make the whole event available in Python. |
c74ec6f
to
d737476
Compare
@JackDapid Will merge shortly but if you have suggestions or issues with the approach please file an issue. |
Adding Echarts events support to Echarts modal #2147