Skip to content
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

Delayed loading of WorkChain selector widget #216

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Conversation

danielhollas
Copy link
Member

@danielhollas danielhollas commented Jul 24, 2023

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.

@danielhollas danielhollas merged commit a92fccd into main Jul 25, 2023
6 checks passed
@danielhollas danielhollas deleted the delayed-refresh branch July 25, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant