Marcin Tojek
b86bce8494
feat!: Validate monotonic numbers for rich parameters ( #6046 )
...
* Database changes
* protobuf
* Fix: docs
* workspaces_test
* Validation in coderd
* Fix: resources
* omitempty
* UI changes
* UI tests
* fix
2023-02-07 09:36:13 +01:00
Bruno Quaresma
dffd7953bc
fix(site): Minor UI fixes related to avatar components ( #6019 )
2023-02-03 13:09:16 -03:00
Bruno Quaresma and Kyle Carberry
f60f06e2c6
fix(site): Only display fields with redisplay enabled during workspace creation ( #6004 )
...
* fix(site): Only display fields with redisplay_value during workspace creation
* Fix test
---------
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2023-02-03 01:28:47 +00:00
Marcin Tojek
e27f7accd7
feat: Group immutable and mutable rich parameters ( #5975 )
2023-02-02 18:01:18 +01:00
Marcin Tojek
f9ae105a26
feat: Adjust forms to include Rich Parameters ( #5856 )
...
* XService: GetTemplateParameters
* Rich parameter input shows up
* Render option icons
* Icons
* WIP
* For testing purposes: template
* Fix: useState
* WIP: dynamic validation
* Yup validation
* Translations
* Remove temporary template
* make fmt
* WIP
* Fix: tests
* Fix: fmt
* URL param
* Refactor
* Test: rich param value
* Storybook
* Fix
* Refactor for testing purposes
* Typo
* test: string validation
* Button: build parameters
* Full screen page
* Fix: navigate
* XState done
* refactor: postWorkspaceBuild
* RichParameterInput rendered
* Fix: bad initial value
* Validation works
* Maybe
* Fix
* Go back button
* GoBack button
* Form
* Fix
* Storybook
* Fix: CreateWorkspacePage
* fmt
* Test
* ns
* fmt
* All tests
* feat: WorkspaceActions depend on template parameters
* Fix
2023-02-01 18:13:11 +01:00
Bruno Quaresma
e7b8318b87
refactor(site): Normalize avatar components ( #5860 )
2023-01-26 00:54:53 +00:00
Bruno Quaresma
537b9df357
refactor: Form page loaders ( #5762 )
2023-01-18 17:51:48 +00:00
Bruno Quaresma
a13614e93d
feat: Pre-fill param inputs with query string values ( #5758 )
2023-01-17 22:56:29 +00:00
Kira Pilot
0171ccbf62
chore: forbid direct react import ( #5658 )
2023-01-10 13:30:48 -05:00
Bruno Quaresma
c505e8b207
feat: Add create template from the UI ( #5427 )
2022-12-21 18:07:00 -03:00
Bruno Quaresma
02bb052d09
Fix template Avatar ( #5294 )
2022-12-05 10:50:50 -07:00
Garrett Delfosse
88f3691dcc
feat: add count to get users endpoint ( #5016 )
2022-11-14 17:22:57 -05:00
Marcin Tojek
49b340e039
Show template.display_name in the site UI ( #5069 )
...
* Show display_name field in the template settings
* Show template.display_name on pages: Templates, CreateWorkspace
* Fix: template.display_name pattern
* make fmt/prettier
* Fix tests
* Fix: make fmt/prettier
* Fix: merge
* Fix: autoFocus
* i18n: display_name
2022-11-14 21:11:50 +01:00
Ammar Bandukwala
97dbd4dc5d
Implement Quotas v3 ( #5012 )
...
* provisioner/terraform: add cost to resource_metadata
* provisionerd/runner: use Options struct
* Complete provisionerd implementation
* Add quota_allowance to groups
* Combine Quota and RBAC licenses
* Add Opts to InTx
2022-11-14 17:57:33 +00:00
Joe Previte
6bfdccda2f
refactor: rm eslint-disable CreateWorkspacePage ( #4865 )
2022-11-02 22:06:22 -03:00
Bruno Quaresma
f76e7b1dbd
refactor: Refactor create workspace page ( #4862 )
2022-11-02 20:44:41 +00:00
Joe Previte
ffe461ae58
chore(site): enable eslint-plugin-eslint-comments ( #4799 )
...
* chore(site): enable eslint-plugin-eslint-comments
* chore: add descriptions to eslint-disable comments
* chore: update eslint-disable comments in main.go
2022-10-28 17:46:51 -03:00
Ammar Bandukwala
85c679597c
site: reduce printWidth to 80 ( #4437 )
...
Resolves #4435
2022-10-10 10:33:35 -07:00
Kira Pilot
257df81667
chore: replace old ErrorSummary component ( #4417 )
...
* replaced error summary
* fixed tests
* positioning caret
2022-10-07 13:14:32 -04:00
Garrett Delfosse
8d14076a23
fix: move quotas above inputs ( #4376 )
2022-10-05 13:44:15 -04:00
Garrett Delfosse
69c73b2d28
feat: workspace quotas ( #4184 )
2022-09-30 14:01:20 -04:00
Kira Pilot
c9bedc5e58
Feat: add showAvatar option to User Autocomplete ( #4269 )
...
* added avatar
* remove commented code
2022-09-30 09:50:36 -04:00
Kira Pilot
776f287685
feat: allow admins to create workspaces for other users in UI ( #4247 )
...
* added permission for creating a workspace on behalf of a user
* committing stashed files
* hooked up autocomplete for users
* added label
* added translations
* wrote test
* added inputMargin prop
* fixed permissions
* added inputSTyle prop
* ran prettier
* fix lint
2022-09-29 14:32:38 -04:00
Kyle Carberry
266a3b24e7
fix: Replace getFormHelpers ( #4181 )
...
Fixes #3209 .
2022-09-23 16:37:44 -05:00
Kyle Carberry
611ca55458
fix: Use "data" scheme when creating parameters from the site ( #3732 )
...
Fixes #3691 .
2022-08-29 16:32:57 +00:00
Ammar Bandukwala and Kira Pilot
2ee6acb2ad
Upgrade frontend to React 18 ( #3353 )
...
Co-authored-by: Kira Pilot <kira.pilot23@gmail.com >
2022-08-22 15:42:06 -05:00
Bruno Quaresma
758eb21b36
feat: Support booleans for parameters input ( #3437 )
2022-08-10 10:41:26 -03:00
Abhineet Jain
8bcf23e60a
fix: handle create workspace errors ( #3346 )
2022-08-02 13:19:00 -04:00
Abhineet Jain
82938944e7
refactor: update Prettier printWidth to 100 ( #2684 )
2022-06-27 10:53:44 -04:00
Garrett Delfosse
b7234a6ce1
fix: push create workspace UX to templates page ( #2142 )
2022-06-09 18:43:49 -05:00
Kyle Carberry and Presley Pizzo
7e8692b0fd
fix: Update routing for workspace schedule ( #2113 )
...
* fix: Update routing for workspace schedule
This was broken as part of #2101 . It was a silly mistake,
but unfortunate our tests didn't catch it.
This is a rare change so unlikely to occur again, so I won't
make an issue adding tests.
* Update site/src/pages/WorkspaceSchedulePage/WorkspaceSchedulePage.tsx
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com >
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com >
2022-06-07 14:28:47 +00:00
Kyle Carberry
0ac37b146d
feat: Add page titles ( #2070 )
2022-06-06 08:34:10 -05:00
Bruno Quaresma
b85de3ee79
feat: Improve empty states for workspaces and templates ( #1950 )
2022-06-01 17:32:55 +00:00
Bruno Quaresma
65c17a04df
feat: Add selected template link at the template select field ( #1918 )
2022-05-31 18:28:22 +00:00
Kira Pilot
dd55d4577d
chore: remove react imports ( #1867 )
...
reolves #1856
2022-05-31 10:01:37 -04:00
Oxylibrium
14cdd85b66
fix(site): username validation in forms ( #1851 )
...
* refactor(site): move name validation to utils
* fix(site): username validation in forms
2022-05-27 17:02:56 +00:00
Bruno Quaresma
104d07f659
feat: Add the template page ( #1754 )
2022-05-26 16:19:11 +00: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
Kyle Carberry
3be356095f
feat: Add create workspace page ( #1589 )
2022-05-19 20:51:10 +00:00