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

feat: ui autostop extension #1987

Merged
merged 5 commits into from
Jun 2, 2022

Conversation

greyscaled
Copy link
Contributor

@greyscaled greyscaled commented Jun 2, 2022

Resolves: #1460

Summary:

An 'Extend' CTA on workspace schedule banner is added so that a user can
extend their workspace lease from the UI.

Details:

  • feat: putWorkspaceExtension handler

  • refactor: TypesGen dflt import in workspace.ts

  • feat: defaultWorkspaceExtension util

Impact:

This completes the UI<-->CLI parity epic in an MVP way. Of course, a
future improvement to make is extending by times other than the default
90 minutes.


Demo

extend-screenshot

I'll make a GIF demo later

Machine

banner-machine

Resolves: #1460

Summary:

An 'Extend' CTA on workspace schedule banner is added so that a user can
extend their workspace lease from the UI.

Details:

* feat: putWorkspaceExtension handler

* refactor: TypesGen dflt import in workspace.ts

* feat: defaultWorkspaceExtension util

Impact:

This completes the UI<-->CLI parity epic in an MVP way. Of course, a
future improvement to make is extending by times other than the default
90 minutes.
@greyscaled greyscaled self-assigned this Jun 2, 2022
@greyscaled greyscaled requested a review from johnstcn June 2, 2022 15:47
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BE = 👍

@greyscaled greyscaled marked this pull request as ready for review June 2, 2022 15:56
@greyscaled greyscaled requested a review from a team as a code owner June 2, 2022 15:56
Copy link
Member

@Kira-Pilot Kira-Pilot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice job! looks good to me.

@greyscaled greyscaled merged commit 0b59ed3 into main Jun 2, 2022
@greyscaled greyscaled deleted the vapurrmaid/gh-1460/ui-autostop-extension branch June 2, 2022 19:44
kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
Resolves: #1460

Summary:

An 'Extend' CTA on workspace schedule banner is added so that a user can
extend their workspace lease from the UI.

Details:

* feat: putWorkspaceExtension handler

* refactor: TypesGen dflt import in workspace.ts

* feat: defaultWorkspaceExtension util

Impact:

This completes the UI<-->CLI parity epic in an MVP way. Of course, a
future improvement to make is extending by times other than the default
90 minutes.
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

Successfully merging this pull request may close these issues.

UI auto-stop extension
3 participants