onyxia icon indicating copy to clipboard operation
onyxia copied to clipboard

Preview (dry run) feature for services

Open olevitt opened this issue 4 years ago • 3 comments

Hello,

In previous versions, Onyxia had a feature that let the user get the Kubernetes contracts that would be deployed. The API still has a dryRun parameter that can be used to get the contracts without deploying the service (see https://github.com/InseeFrLab/onyxia-api/blob/master/onyxia-model/src/main/java/fr/insee/onyxia/model/dto/CreateServiceDTO.java#L54).

I suggest we bring back the preview button (could be an eye icon or something like that).
We have to make sure the average user is not confused by this button. We can either hide it behind the beta-test flag or use some UX trick to make the user aware this is just a preview button.

olevitt avatar Oct 19 '21 08:10 olevitt

@marchufschmitt We just have to decide on the UI.
One approach that can be easily implemented is to put a button that, when click, triggers the download of a contract.json file.

garronej avatar Oct 19 '21 10:10 garronej

At the first time, we decided to review this feature with a icon to display a code zone with the conctract inside. Now you want download a files? I'm not convinced by this... I find that it's a frustration for the user to have a files on his desktop if he use a online workspace... What do you think? (below a screenshot of my last mockup Capture d’écran 2021-10-25 à 10 25 34 Capture d’écran 2021-10-25 à 10 35 41

marchufschmitt avatar Oct 25 '21 08:10 marchufschmitt

And at the same time, we can maybe resolve this issue too https://github.com/InseeFrLab/onyxia-web/issues/266#issue-1034845568

marchufschmitt avatar Oct 25 '21 08:10 marchufschmitt

@olevitt still want this feature ?

fcomte avatar Jun 03 '24 08:06 fcomte

It may be useful but it's not top priority at all especially given we now have to corresponding helm command displayed to the user

olevitt avatar Jun 03 '24 08:06 olevitt