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

Add pause and resume buttons #793

Closed
olevitt opened this issue Apr 10, 2024 · 0 comments
Closed

Add pause and resume buttons #793

olevitt opened this issue Apr 10, 2024 · 0 comments

Comments

@olevitt
Copy link
Contributor

olevitt commented Apr 10, 2024

InseeFrLab/onyxia-api#413 will introduce 2 new endpoints to the API : my-lab/app/pause & my-lab/app/resume that let the user pause and resume any pausable service.
This PR will also introduce 2 new booleans pausable and paused that indicates whether a service is pausable (meaning it's possible to call the previous endpoints to pause / resume it) and it's current state : paused or not.
UI should implement a "play" button in service card to resume a paused service and a pause button to pause. Those buttons should only be visible if the service is pausable.
See https://datalab.sspcloud.fr/api/swagger-ui/index.html#/ for a working swagger and https://github.com/InseeFrLab/helm-charts-dev/tree/main/charts/vscode-python for a pausable package (This commit makes it pausable)

@fcomte fcomte closed this as completed May 31, 2024
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

No branches or pull requests

2 participants