opendatahub-io-contrib / jupyterhub-singleuser-profiles

MIT License
11 stars 24 forks source link

Fix to save settings and spawn servers for other users correctly #198

Closed jeff-phillips-18 closed 2 years ago

jeff-phillips-18 commented 2 years ago

Fixes: Jira: https://issues.redhat.com/browse/ODH-503

Analysis / Root cause: The window parameter for jhData.for_user was not being used as the user being sent as for_user back to the API.

Solution Description: Update the display to add an inline alert for the user the notebook is being created for rather than simple html text. Set the FOR_USER constant if the jhData.for_user value is set and pass that along to the API when retrieving/updating the user config.

Screen shots / Gifs for design review: image

/cc @dlabaj