Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: ui: show next scheduled autostart/autostop time #1059

Closed
@johnstcn

Description

@johnstcn

What

Show the next scheduled workspace autostart/autostop time in the UI on the workspace detail page, in the WorkspaceSchedule component.

This can be consumed from the API endpoint GET /workspace/:id/auto(start|stop)

Why

As a user, I want to see when my workspace will start.
For example, given:

  • It is currently 09:01
  • My workspace is scheduled to start every day at 09:30
  • My workspace is currently off

When I look at the workspace detail page for my workspace,

Then I should see, under Workspace Start ($TIMEZONE): 09:30 (in 29 minutes)

Similarly, I should also see the next scheduled autostop time if it is enabled for my workspace and my workspace is currently running.
If autostart or autostop is not enabled, for my workspace, I should just see the text "Manual".

(This is intended to be worked on as part of the TDD work session at the engineering off-site.)

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