Skip to content

Shutdown section: if Time until shutdown is more than 24h displayed value is confusing #2235

Closed
@nadzeyav

Description

@nadzeyav

Shutdown section displays time of workspace shutdown, but for case I have TTL more that 24h that value looks confusing as it will be the next day or in a couple of days, but looks like in the nearest future.

coder version:
Coder v0.0.0-devel+6ea86c8

Steps:

  1. Create a workspace with Time till shutdown 36 hours
  2. View Schedule section on workspace page: Shutdown time is displayed only, but it will happen not even on the next day.

Expected
maybe add date for such cases? or note about that if will happen in n days?
Actual
only time is displayed

I set time until shutdown this way:
image

But see it on workspace page as:
image

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions