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

fix: show explicit schedule stop time #2171

Merged
merged 2 commits into from Jun 8, 2022

Conversation

greyscaled
Copy link
Contributor

This does not fully resolve all requests in #2141, but just the piece of
when the workspace is actually stopping.

Next, we will adjust the default extension from 90 minutes to 4 hours.
Lastly, we can look at customizing the extension time in the extension
flow or with a pre-emptive prompt next to the stop time.

extend-example

This does not fully resolve all requests in #2141, but just the piece of
when the workspace is actually stopping.

Next, we will adjust the default extension from 90 minutes to 4 hours.
Lastly, we can look at customizing the extension time in the extension
flow or with a pre-emptive prompt next to the stop time.
@greyscaled greyscaled requested a review from johnstcn June 8, 2022 15:34
@greyscaled greyscaled requested a review from a team as a code owner June 8, 2022 15:34
@greyscaled greyscaled self-assigned this Jun 8, 2022
greyscaled added a commit that referenced this pull request Jun 8, 2022
This does not fully close #2141, but builds upon #2171 to fulfill each
of the UX requests.

A next step (probably as a separate ticket) is to allow customizing
extension time pre-emptively.
}
return "Manual"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Review:

Just meeting the FE code convention of using explicit else here.

import duration from "dayjs/plugin/duration"
import relativeTime from "dayjs/plugin/relativeTime"
import timezone from "dayjs/plugin/timezone"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Review:

Both are needed to manipulate time in the user's timezone and display timezone information (specifically where you see .format("z")

greyscaled added a commit that referenced this pull request Jun 8, 2022
This does not fully close #2141, but builds upon #2171 to fulfill each
of the UX requests.

A next step (probably as a separate ticket) is to allow customizing
extension time pre-emptively.
@greyscaled greyscaled merged commit 9cc6d7b into main Jun 8, 2022
@greyscaled greyscaled deleted the vapurrmaid/gh-2141/explicit-stop-time branch June 8, 2022 16:00
greyscaled added a commit that referenced this pull request Jun 8, 2022
Summary:

Uncaught from the change in #2171
greyscaled added a commit that referenced this pull request Jun 9, 2022
Summary:

Uncaught from the change in #2171
kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
This does not fully close #2141, but builds upon #2171 to fulfill each
of the UX requests.

A next step (probably as a separate ticket) is to allow customizing
extension time pre-emptively.
kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
This does not fully resolve all requests in #2141, but just the piece of
when the workspace is actually stopping.

Next, we will adjust the default extension from 90 minutes to 4 hours.
Lastly, we can look at customizing the extension time in the extension
flow or with a pre-emptive prompt next to the stop time.
kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
Summary:

Uncaught from the change in #2171
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.

None yet

2 participants