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

Skip to content

Auto-on/off UI <--> CLI Parity - CE #275

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

Closed
7 tasks done
misskniss opened this issue Feb 11, 2022 · 2 comments
Closed
7 tasks done

Auto-on/off UI <--> CLI Parity - CE #275

misskniss opened this issue Feb 11, 2022 · 2 comments
Assignees
Labels
site Area: frontend dashboard
Milestone

Comments

@misskniss
Copy link

misskniss commented Feb 11, 2022

This is an epic containing the following issues:

The parent epic containing this is #1317, which captures the entire ask for Coder Community Edition.

@misskniss misskniss added this to the V2 Alpha milestone Feb 11, 2022
@misskniss misskniss modified the milestones: V2 Alpha, V2 Beta Mar 7, 2022
@presleyp presleyp added the site Area: frontend dashboard label Mar 21, 2022
@misskniss misskniss modified the milestones: V2 Beta, Enterprise MVP Mar 29, 2022
@misskniss misskniss modified the milestones: Enterprise MVP , V2 Beta Apr 4, 2022
@misskniss misskniss modified the milestones: V2 Beta, Enterprise MVP Apr 4, 2022
@greyscaled
Copy link
Contributor

I marked this as 5 for the following reasons:

  • it's "new" in v2, and does not have much in terms of design consideration
  • there are a few pieces to it (widget added to workspaces view, then the stuff and/or modals from that widget)

All should be tested and storybooked.

@greyscaled greyscaled self-assigned this Apr 7, 2022
greyscaled added a commit that referenced this issue Apr 13, 2022
Summary:

This adds the client-side implementation to match the types introduced
in #879 and #844 as well as a card in the Workspaces page to present
workspace the data.

Details:

* Added a convenient line break in the example schedule.Weekly
* Added missing `json:""` annotations in codersdk/workspaces.go
* Installed cronstrue for displaying human-friendly cron strings
* Adjusted/Added client-side types to match codersdk/workspaces.go
* Added new component WorkspaceSchedule.tsx

Next Steps:

The WorkspaceSchedule.tsx card only presents data (on purpose). In order
to make it PUT/modify data, a few changes will be made:

- a form for updating workspace schedule will be created
- the form will wrapped in a dialog or modal
- the WorkspaceSchedule card will have a way of opening the modal which
will likely be generalized up to WorkspaceSection.tsx

Impact:

This is user-facing

This does not fully resolve either #274 or #275 (I may further decompose
that work to reflect reality and keep things in small deliverable
increments), but adds significant progress towards both.
greyscaled added a commit that referenced this issue Apr 14, 2022
Summary:

This adds the client-side implementation to match the types introduced
in #879 and #844 as well as a card in the Workspaces page to present
workspace the data.

Details:

* Added a convenient line break in the example schedule.Weekly
* Added missing `json:""` annotations in codersdk/workspaces.go
* Installed cronstrue for displaying human-friendly cron strings
* Adjusted/Added client-side types to match codersdk/workspaces.go
* Added new component WorkspaceSchedule.tsx

Next Steps:

The WorkspaceSchedule.tsx card only presents data (on purpose). In order
to make it PUT/modify data, a few changes will be made:

- a form for updating workspace schedule will be created
- the form will wrapped in a dialog or modal
- the WorkspaceSchedule card will have a way of opening the modal which
will likely be generalized up to WorkspaceSection.tsx

Impact:

This is user-facing

This does not fully resolve either #274 or #275 (I may further decompose
that work to reflect reality and keep things in small deliverable
increments), but adds significant progress towards both.
This was referenced May 12, 2022
@greyscaled greyscaled modified the milestone: Community MVP May 14, 2022
@greyscaled
Copy link
Contributor

Note - Grey to fill in details. I will likely archive the ticket #274 and combine it with this one. If there's a breakout, it's as an epic/separate.

The intent is UI/CLI parity.

In addition, the UI needs some notifications (+ thought around notifications to avoid spam).

@greyscaled greyscaled changed the title Add UI elements that allow users to set the days/times for the Auto ON/OFF schedule Auto-on/off UI <--> CLI Parity May 14, 2022
@greyscaled greyscaled changed the title Auto-on/off UI <--> CLI Parity Auto-on/off UI <--> CLI Parity - CE May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site Area: frontend dashboard
Projects
None yet
Development

No branches or pull requests

4 participants