ispg-group / aiidalab-ispg

ATMOSPEC: ab initio UV/vis spectroscopy for everyone
MIT License
6 stars 4 forks source link

Delayed loading of WorkChain selector widget #216

Closed danielhollas closed 11 months ago

danielhollas commented 11 months ago

Interacting with AiiDA DB (i.e. loading all the WorkChains in WorkChain selector widget) delays the initial page load. Here we postpone this until after the page is displayed.

Note the the approach used here is not compatible with ipywidgets==8.0 which removed the on_displayed callback. We'll need to figure out something else before we attempt to update.