napari / hub-lite

more maintainable, less resource intensive napari-hub
MIT License
5 stars 1 forks source link

Use Great Tables and polars/pandas to display plugin information #6

Open willingc opened 3 weeks ago

willingc commented 3 weeks ago

Great Tables and polars/pandas could offer a straightforward way to display plugin information to users.

See examples for Great Tables which is easy to onboard and maintain.

cc/ @yunhal @jni

willingc commented 3 weeks ago

Alternatively embedding JupyterLite on the page and displaying the table could also offer manipulation and sorting of the data by metadata fields.

Czaki commented 3 weeks ago

I think that use just some JS and having data served by REST API will be better. It will better work with cache itp.

willingc commented 3 weeks ago

That's certainly a way to move forward, @Czaki. I would like to be able to see the entire list of plugins without pagination as well as have the ability to sort and filter plugins.

I'm just suggesting another low-lift option :smile:

jni commented 3 weeks ago

On first glance I'm pro-Great Tables @Czaki. Our community is very good with Python but only a few people know js even passably well. So the more we can use Python for the better.

Czaki commented 3 weeks ago

Ok. Maybe I do not deeply read documentation of great tables. Current check of documentation suggests that it will not provide all interactivity that we need.

We may also try to explore PyOdide to write python instead of JS.

willingc commented 3 weeks ago

Pyodide is a great option as is Jupylite. The performance has increased a lot in the path 6 months. I'm all for either solution.

Great Tables gets its interactivity from pyodide.