Closed StefanoFioravanzo closed 4 years ago
@elikatsis I addressed your comments and changed a bit the formatting of the message. Also, I grouped together the body generation of NotebookUtils.showMessage
and NotebookUtils.showYesNoDialog
in NotebookUtils.buildDialogBody
@elikatsis Now the docker image is updated on deploy just when the current state has an empty value, just like we discussed. Moreover, thanks to @tasos-ale 's advice, now the placeholder value work correctly.
For the placeholder value: note that I had to set the InputLabelProps
to true when the placeholder is present. Might be worth remembering for the future. https://github.com/kubeflow-kale/jupyterlab-kubeflow-kale/pull/42/commits/9ed47684b247c92a599fef663219d744828a0f45#diff-12f5ae63fcc38a513b1de1cde98c411cR141
When clicking the compile/build/deploy button, check if the current notebook image is different from the NotebookServer's one. In that case, produce a warning dialog informing the user, asking whether to continue or not.
@tasos-ale Since
NotebookUtils.showYesNoDialog
isasync
, this makes the functionasync
. Is it ok?