opendatahub-io-contrib / jupyterhub-singleuser-profiles

MIT License
11 stars 24 forks source link

Watch available images, don't enable Start until one is selected #197

Closed jeff-phillips-18 closed 2 years ago

jeff-phillips-18 commented 2 years ago

Fixes: Jira: https://issues.redhat.com/browse/RHODS-1920

Analysis / Root cause: The selectable images do not update as images become available upon build completion. If a previously selected size is no longer valid it is still used unless the user changes the selection

Solution Description: Add a hook to watch the image lists and update when there are changes. Update the Size form to not use a previous selected size if that size is no longer valid. Reduce the number of times the user config map is retrieved (retrieve once instead of in each form).