Presley Pizzo
841d9f277c
feat: UI for canceling workspace builds ( #1735 )
...
* Start hooking up cancel
* Update xservice
* Render cancel
Changes behavior of other buttons too
* Make outdated workspace story show max buttons
* Remove retry code
* Remove loading button state
* Fix type, extend tests
* Update story
2022-05-25 17:58:00 -04:00
Bruno Quaresma
5492ab75c2
feat: Add resource type and restyle terminal link ( #1722 )
2022-05-25 13:32:01 +00:00
G r e y
b0d52039f9
refactor: resource strings in WorkspaceSchedule ( #1702 )
2022-05-24 09:55:30 -04:00
Bruno Quaresma
fcd610ee7b
refactor: Update create workspace flow to allow creation from the workspaces page ( #1684 )
2022-05-24 08:37:44 -05:00
Bruno Quaresma
f763472609
fix: Fix template label ( #1685 )
2022-05-24 12:38:31 +00:00
Presley Pizzo
9b70a9b2eb
Fix: fix Workspace storybook and remove unnecessary fetching from xService ( #1682 )
...
* Make workspace machine ephemeral to limit polling
* Fix Workspace storybook
* Lint
* Remove breadcrumb from workspaceXService
2022-05-23 20:04:38 -04:00
Cian Johnston
b2020761d9
feat: add default autostart and ttl for new workspaces ( #1632 )
...
* database: add autostart_schedule and ttl to InsertWorkspace; make gen
* coderd: workspaces: consume additional fields of CreateWorkspaceRequest
* cli: update: add support for TTL and autostart_schedule
* cli: create: add unit tests
* coder: import `time/tzdata` for embedded timezone database
* autobuild: fix unit test that only runs with a real db
2022-05-23 23:31:41 +01:00
G r e y
c465f8a8a3
feat: add retry to ErrorSummary ( #1690 )
...
Summary:
The ErrorSummary accepts a retry callback and received improvements to
style and product copy
Impact:
This allows xstate-controlled pages to send re-fetch events
2022-05-23 21:07:52 +00:00
Asher
dd4bb07193
feat: add terminal links ( #1636 )
2022-05-23 15:49:02 -05:00
Bruno Quaresma
57c6d887a1
chore: Ignore last built value on Chromatic ( #1687 )
2022-05-23 20:42:05 +00:00
Katie Horne
b0298a3157
chore: fix in-product copy casing ( #1671 )
2022-05-23 13:30:38 -05:00
Presley Pizzo
7ac3cbe772
Make workspace machine ephemeral to limit polling ( #1674 )
2022-05-23 13:25:46 -04:00
Kira Pilot
fa957d6d65
fix: omit url params on login ( #1666 )
...
resolves #1282
2022-05-23 11:01:32 -04:00
Bruno Quaresma
9f3a6d631c
refactor: Move schedule info to the sidebar ( #1665 )
2022-05-23 09:41:04 -05:00
Bruno Quaresma
1f03277f1c
refactor: Increase navbar height ( #1662 )
2022-05-23 10:22:48 -04:00
G r e y
4f75291446
feat: form for editing ws schedule ( #1634 )
...
* feat: ui for editing ws schedule
Summary:
This presents a form component and storybook. The UI will be a routed
page and added into the dashboard in a separate PR. It is likely a
XService will be used at the page level to supply errors and actions to
this form.
Impact of Change:
Further progress on #1455
Squashed Commits:
* refactor: add className prop to Stack
combine classes with internal classes and an optional external className
to better control the Stack.
* fix: getFormHelpers helperText
the helperText logic was incorrect, the helperText would only show if not touched.
2022-05-20 20:26:43 +00:00
Bruno Quaresma
b29a2dfdde
refactor: Minor design adjustments ( #1637 )
2022-05-20 19:37:03 +00:00
Presley Pizzo
e40c68399d
feat: resources card ( #1627 )
...
* Set up table
* Format
* Hook up api and test - bug assigning resources
* Remove debugging code
* Format
* Remove unnecessary cards
* Fix test
* Fix assignment
* Fix tests
* Lint
2022-05-20 18:29:42 +00:00
Bruno Quaresma
ce7bf0b847
feat: Redesign the workspace page ( #1620 )
2022-05-20 17:05:00 +00:00
G r e y
4f70f84635
feat: WorkspaceSection action, styles ( #1623 )
...
This PR is a squash of refactors and improvements in our Workspace and
WorkspaceSection components. An action prop is added to WorkspaceSection
and along the way, I refactored things that were not meeting conventions
or were hard to read. With this addition, I am further unblocked in
making auto-start/off editable in the UI, as I intend to use the Action
prop to trigger a modal (or routed page view) with the form.
Squashed commits:
* refactor: spaces for readability
It's hard to read HTMl markup without spaces on adjacent nodes
* refactor: props
Our components had unused props and arbitrary ordering.
2022-05-20 11:55:39 -04:00
Kira Pilot
d0fd0d7040
feat: added error boundary ( #1602 )
...
* added error boundary and error ui components
* add body txt and standardize btn size
* added story
* feat: added error boundary
closes #1013
* committing lockfile
* added email body to help link
2022-05-20 10:48:39 -04:00
Spike Curtis
a03615a01f
feature: disable provisionerd listen endpoint ( #1614 )
...
* feature: disable provisionerd listen endpoint
Signed-off-by: Spike Curtis <spike@coder.com >
* Regenerate ts types
Signed-off-by: Spike Curtis <spike@coder.com >
2022-05-19 23:52:17 +00:00
Bruno Quaresma
0ffcc47f32
fix: Fix log order in the workspace build page ( #1604 )
2022-05-19 21:19:28 +00:00
Kyle Carberry
3be356095f
feat: Add create workspace page ( #1589 )
2022-05-19 20:51:10 +00:00
Bruno Quaresma
0b1a35f7b8
feat: Add workspace build logs page ( #1598 )
2022-05-19 15:34:42 -05:00
Cian Johnston and G r e y
d72c45e483
refactor: workspace autostop_schedule -> ttl ( #1578 )
...
Co-authored-by: G r e y <grey@coder.com >
2022-05-19 15:09:27 -04:00
Steven Masley
6c1117094d
chore: Force codersdk to not import anything from database ( #1576 )
...
* chore: Force codersdk to not import anything from database (linter rule)
* chore: Move all database types in codersdk out
2022-05-19 13:04:44 -05:00
G r e y
a0834404f7
chore: rm dead code; add check:all ( #1595 )
2022-05-19 12:40:40 -05:00
G r e y
67333b6186
feat: getWorkspaces filter site api ( #1564 )
2022-05-19 12:08:55 -04:00
G r e y
e0165c5d89
fix: static data in mocks ( #1574 )
2022-05-19 11:36:14 -04:00
Bruno Quaresma
3f770e1111
fix: User permissions on UI ( #1570 )
2022-05-19 15:10:18 +00:00
Kyle Carberry and Cian Johnston
38ee519f42
feat: Expose the values contained in an HCL validation string to the API ( #1587 )
...
* feat: Expose the values contained in an HCL validation string to the API
This allows the frontend to render inputs displaying these values!
* Update codersdk/parameters.go
Co-authored-by: Cian Johnston <cian@coder.com >
* Call a spade a space
* Fix linting errors with type conversion
Co-authored-by: Cian Johnston <cian@coder.com >
2022-05-19 13:29:36 +00:00
Spike Curtis
9f402fa27f
Spike/222 workspace build order ( #1534 )
...
* chore: refactor before_id/after_id to build_number
Signed-off-by: Spike Curtis <spike@coder.com >
* pagination of workspace_builds
Signed-off-by: Spike Curtis <spike@coder.com >
* Disable parallel on postgres tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix lint
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix workspace build postgres query
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix JS tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix workspace builds postgres query
Signed-off-by: Spike Curtis <spike@coder.com >
2022-05-18 16:33:33 +00:00
Asher
e4e7e10690
feat: add terminal link component ( #1538 )
...
* Fix not being able to specify agent when connecting to terminal
The `workspace.agent` syntax was only used when fetching the agent and
not the workspace so it would try to fetch a workspace called
`workspace.agent` instead of just `workspace`.
* Add terminal link component
Currently it does not show anywhere but we can drop it into the
resources card later.
2022-05-18 10:53:59 -05:00
Steven Masley
a3556b12da
feat: Single query for all workspaces with optional filter ( #1537 )
...
* feat: Add single query for all workspaces using a filter
2022-05-18 10:09:07 -05:00
dependabot[bot]
894646cb7c
chore: bump @testing-library/user-event from 14.1.1 to 14.2.0 in /site ( #1521 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 14.1.1 to 14.2.0.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v14.1.1...v14.2 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-18 11:01:28 -04:00
Kira Pilot
85a932bfaf
bug: fixed menu height diff ( #1546 )
...
resolves #1229
2022-05-18 10:34:56 -04:00
Kyle Carberry
76fc59aa79
feat: Add templates page ( #1510 )
...
* feat: Add template page
* Create xService
* Update column names
* Show create template conditionally
* Add template description
* Route to templates
* Add empty states
* Add tests
* Add loading indicator
* Requested changes
2022-05-18 09:05:18 -05:00
Bruno Quaresma
b7481489b1
feat: Add timeline in the workspace page ( #1533 )
2022-05-18 13:54:06 +00:00
Colin Adler
98ccd0eb89
feat: add README parsing to template versions ( #1500 )
2022-05-17 15:00:48 -05:00
dependabot[bot]
0f9559a784
chore: bump cronstrue from 2.4.0 to 2.5.0 in /site ( #1518 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.4.0...v2.5.0 )
---
updated-dependencies:
- dependency-name: cronstrue
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 15:03:45 -04:00
Kira Pilot
65acfc9bef
bug: using NavLink for menus ( #1530 )
...
* bug: using NavLink for menus
resolves #955
* lets fix our story
2022-05-17 15:01:53 -04:00
dependabot[bot]
841b792e8e
chore: bump @typescript-eslint/parser from 5.23.0 to 5.25.0 in /site ( #1517 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.23.0 to 5.25.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.25.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 11:36:03 -04:00
dependabot[bot]
c0b80ef899
chore: bump sql-formatter from 4.0.2 to 6.1.1 in /site ( #1514 )
...
Bumps [sql-formatter](https://github.com/zeroturnaround/sql-formatter ) from 4.0.2 to 6.1.1.
- [Release notes](https://github.com/zeroturnaround/sql-formatter/releases )
- [Changelog](https://github.com/zeroturnaround/sql-formatter/blob/master/.release-it.json )
- [Commits](https://github.com/zeroturnaround/sql-formatter/compare/v4.0.2...v6.1.1 )
---
updated-dependencies:
- dependency-name: sql-formatter
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 11:35:29 -04:00
dependabot[bot]
5227a74ae3
chore: bump webpack-dev-server from 4.8.1 to 4.9.0 in /site ( #1511 )
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.8.1 to 4.9.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.8.1...v4.9.0 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 11:35:04 -04:00
dependabot[bot]
3eaca0d436
chore: bump @pmmmwh/react-refresh-webpack-plugin in /site ( #1484 )
...
Bumps [@pmmmwh/react-refresh-webpack-plugin](https://github.com/pmmmwh/react-refresh-webpack-plugin ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/pmmmwh/react-refresh-webpack-plugin/releases )
- [Changelog](https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pmmmwh/react-refresh-webpack-plugin/compare/v0.5.5...v0.5.6 )
---
updated-dependencies:
- dependency-name: "@pmmmwh/react-refresh-webpack-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 11:33:52 -04:00
dependabot[bot]
bb2740e7c3
chore: bump @playwright/test from 1.21.1 to 1.22.1 in /site ( #1512 )
...
Bumps [@playwright/test](https://github.com/Microsoft/playwright ) from 1.21.1 to 1.22.1.
- [Release notes](https://github.com/Microsoft/playwright/releases )
- [Commits](https://github.com/Microsoft/playwright/compare/v1.21.1...v1.22.1 )
---
updated-dependencies:
- dependency-name: "@playwright/test"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 11:12:50 -04:00
dependabot[bot]
8dd32e2a0a
chore: bump eslint from 8.14.0 to 8.15.0 in /site ( #1344 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.14.0 to 8.15.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.14.0...v8.15.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 11:08:26 -04:00
dependabot[bot]
d5a500a73f
chore: bump @fontsource/inter from 4.5.7 to 4.5.10 in /site ( #1251 )
...
Bumps [@fontsource/inter](https://github.com/fontsource/fontsource/tree/HEAD/fonts/google/inter ) from 4.5.7 to 4.5.10.
- [Release notes](https://github.com/fontsource/fontsource/releases )
- [Changelog](https://github.com/fontsource/fontsource/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fontsource/fontsource/commits/HEAD/fonts/google/inter )
---
updated-dependencies:
- dependency-name: "@fontsource/inter"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 11:05:28 -04:00
G r e y
d177937e1c
chore: clean site dependencies ( #1509 )
...
* delete package-lock.json
* pin dayjs
* pin uuid, @types/uuid
* pin xterm dependencies
* pin jest deps
2022-05-17 10:45:51 -04:00