Kira Pilot
0c665235ff
feat: add impending deletion banner to workspace page ( #7634 )
...
* add banner to workspace page
* fix prettier and lint
* color-code banner
* using warning instead
* improve prop name for clarity
2023-05-25 10:55:41 -07:00
Bruno Quaresma
8e31ed4072
refactor(site): Refactor alerts ( #7587 )
2023-05-18 13:17:16 -03:00
Marcin Tojek
cd38cb8290
feat: Add template version warnings ( #7483 )
2023-05-12 09:21:49 +00:00
Bruno Quaresma
816c37dd0d
chore(site): Upgrade to MUI v5 ( #7437 )
2023-05-10 19:42:40 +00:00
Bruno Quaresma
3632ac8c01
refactor(site): Update workspace header ( #7433 )
2023-05-05 15:02:21 +00:00
Steven Masley and Dean Sheather
4a9d1c16c7
chore: UI/UX for regions ( #7283 )
...
* chore: Allow regular users to query for all workspaces
* FE to add workspace proxy options to account settings
* WorkspaceProxy context syncs with coderd on region responses
---------
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-04-28 16:04:52 -05:00
Kira Pilot and BrunoQuaresma
a2ff674158
fix(UI): workspace restart button stops build before starting a new one ( #7301 )
...
* feat(UI): add workspace restart button (#7137 )
* Refactor primary buttons
* refactor(site): Always show the main actions
* Remove tests that are testes on Storybook
* Fix tests
* Fix keys
* added restart btn
---------
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
* added restart hook
* added error handling
* going back to chaining in success callback
* add restarting btn
* added test
* PR feedback
---------
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2023-04-28 11:16:04 -07:00
Kira Pilot
96a12d17ef
Revert "feat(UI): add workspace restart button ( #7137 )" ( #7268 )
...
This reverts commit 9ec16d4454 .
2023-04-24 12:44:22 -07:00
Kira Pilot and BrunoQuaresma
9ec16d4454
feat(UI): add workspace restart button ( #7137 )
...
* Refactor primary buttons
* refactor(site): Always show the main actions
* Remove tests that are testes on Storybook
* Fix tests
* Fix keys
* added restart btn
---------
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2023-04-14 08:48:05 -07:00
Bruno Quaresma
b86ed11bc0
refactor(site): Refactor the schedule controls in the workspace page ( #7083 )
2023-04-11 13:33:24 -03:00
Bruno Quaresma
29e9b9e663
feat(site): Add change version for template admins ( #6988 )
2023-04-04 10:25:49 -03:00
Bruno Quaresma
90e2bab078
feat(site): Display workspace build error + option to retry in debug mode ( #6903 )
2023-03-31 14:01:12 +00:00
Steven Masley
901045a95f
fix: FE show correct config-ssh prefix ( #6904 )
...
* fix: Push correct ssh prefix to FE
2023-03-31 08:48:44 -05:00
Kyle Carberry and Asher
cb7375450b
feat: add startup script logs to the ui ( #6558 )
...
* Add startup script logs to the database
* Add coderd endpoints for startup script logs
* Push startup script logs from agent
* Pull startup script logs on frontend
* Rename queries
* Add constraint
* Start creating log sending loop
* Add log sending to the agent
* Add tests for streaming logs
* Shorten notify channel name
* Add FE
* Improve bulk log performance
* Finish UI display
* Fix startup log visibility
* Add warning for overflow
* Fix agent queue logs overflow
* Display staartup logs in a virtual DOM for performance
* Fix agent queue with loads of logs
* Fix authorize test
* Remove faulty test
* Fix startup and shutdown reporting error
* Fix gen
* Fix comments
* Periodically purge old database entries
* Add test fixture for migration
* Add Storybook
* Check if there are logs when displaying features
* Fix startup component overflow gap
* Fix startup log wrapping
---------
Co-authored-by: Asher <ash@coder.com >
2023-03-23 14:09:13 -05:00
Bruno Quaresma
95177ad0e5
refactor(site): Remove change version from the UI ( #6621 )
2023-03-16 13:07:33 -03:00
Bruno Quaresma
107ae55642
feat(site): Add workspace settings page ( #6612 )
2023-03-16 11:00:19 -03:00
Kyle Carberry
65878b04ce
fix: remove "something went wrong" text for watching a workspace ( #6541 )
...
This text wasn't useful to a customer anyways, because we don't get
an error from EventSource. This can happen if you close your laptop
and open it again, so it's better if we don't display it.
2023-03-09 20:54:28 +00:00
Bruno Quaresma
dffd7953bc
fix(site): Minor UI fixes related to avatar components ( #6019 )
2023-02-03 13:09:16 -03:00
Bruno Quaresma
7b49517c18
refactor(site): Add more info on agent outdated tooltip and update action ( #5967 )
2023-02-02 15:18:59 -03:00
Bruno Quaresma
c9f3acabd3
fix(site): Don't hide/show errors during requests ( #5962 )
2023-02-02 10:38:05 -03: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
Kyle Carberry and Kira Pilot
d2ef727064
feat: add experimental button to open vscode locally ( #5654 )
...
* feat: add experimental button to open vscode locally
This uses the new Coder extension to open up any workspace
with a single click.
* Update site/src/components/VSCodeDesktopButton/VSCodeDesktopButton.stories.tsx
Co-authored-by: Kira Pilot <kira@coder.com >
Co-authored-by: Kira Pilot <kira@coder.com >
2023-01-10 16:07:40 +00:00
Presley Pizzo
0eb25306ad
fix: stop time incrementer on workspace page ( #5406 )
...
* Check template default ttl while setting max
* Lint
* Remove template default from max ttl consideration
* Finish removing template
* Fix disabling buttons
* Simplify, wip
* Handle NaN
* Format
* Add aria labels
* Explain NaN handling
* Use more realistic storybook args
2022-12-21 10:44:18 -05:00
Bruno Quaresma
511bb469c4
feat: Change workspace version using the UI ( #5158 )
2022-11-24 13:36:50 +00:00
Ammar Bandukwala
acf34d4295
site: support high build time variation in progress bar ( #4941 )
2022-11-17 16:56:56 +00: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
Bruno Quaresma
2af698c43d
refactor: Remove workspace schedule banner ( #4932 )
2022-11-08 10:05:47 -03:00
Bruno Quaresma
ce2a7d49b1
refactor: Refactor template resources ( #4789 )
2022-10-27 17:27:15 -03:00
Bruno Quaresma
d88b824328
refactor: Inline workspace badge ( #4774 )
2022-10-26 12:30:02 -07:00
Bruno Quaresma
9070fcd5e7
refactor: Refactor page header spacing and stats ( #4750 )
2022-10-25 14:51:58 -03:00
Bruno Quaresma
3e08bb4842
feat: Redesign build logs ( #4734 )
2022-10-25 00:44:13 -03:00
Ammar Bandukwala
dc3519e973
Support all transitions in build progress bar ( #4575 )
...
* Use null types instead of -1 for simplicity
* Fix pgcrypto bug in migration 59
* Add stories
* Fix visual stutter
2022-10-16 23:34:03 -05:00
Ammar Bandukwala
e456799f1a
Add template build time stats ( #4557 )
...
- Expose time in Template pages
- Show progress bar when building a workspace
2022-10-15 20:36:50 +00:00
Presley Pizzo
ccc008eb5e
fix: redesign schedule bumper to handle multiple hours of change at once ( #4535 )
...
* Start sketching out new design
* Working but ugly
* Highlight chosen mode
* Format
* Set hours field width
* Alignment on desktop
* Use primary button color
* Make 1 the default change
* Add stepper max
* Fix storybook
* Handle undefined deadline
* Access deadline correctly
* Format
* Fix overflow on mobile
2022-10-14 13:23:00 -04: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
Kira Pilot
e8e095e2f8
feat: redesign error alert ( #4403 )
...
* added a warning summary component
* added warning to workspace page
* consolidated warnings
* prettier
* updated design
* added color scheme
* updated expander component
* cleanup
* fixed tests
* fixed height issue
* prettier
* use theme constants
* increased icon margin
2022-10-07 10:39:27 -04:00
Kira Pilot
3ad5e11d22
feat: add warning if workspace page becomes stale ( #4375 )
...
* added a warning summary component
* added warning to workspace page
* consolidated warnings
* prettier
* updated design
2022-10-05 18:46:46 -04:00
Presley Pizzo
9a670b90df
chore: refactor frontend to use workspace status directly ( #4361 )
...
* Add/update copy
* Update mocks
* Handle disabled button labels separately
* Use workspace status directly, use i18n
* Update stories and tests
* Fix optimistic update in xservice to use status, pending
* Rename started to running in story
* Fix deletion banner conditional
* Send label to disabled button
* Refactor workspace actions
2022-10-05 16:20:29 -04:00
Kira Pilot
65ff604969
fix: update workspace button should properly update the workspace ( #4228 )
...
* resolves #4098
* PR comments
2022-09-27 19:23:28 -04:00
Bruno Quaresma
c37ecdb9ff
feat: Add port forward button ( #4167 )
2022-09-26 14:56:17 +00:00
Kyle Carberry
7ad4276224
feat: Add browser-only connections to Enterprise ( #4135 )
...
* feat: Add browser-only connections to Enterprise
Fixes #4131 .
* Fix formatting
2022-09-22 15:14:22 +00:00
Bruno Quaresma
b20ecfdf37
refactor: Minor improvements and fixes for the page headers ( #4045 )
2022-09-14 11:04:01 -03:00
Joe Previte
18af9426c0
chore: add no implicit coercion eslint rule ( #3909 )
...
* chore: add no-implicit-coercion ESLint rule
This adds a new ESLint rule to prevent us from using implicit coercion
in the codebase. See https://eslint.org/docs/latest/rules/no-implicit-coercion
* chore: fix implicit coercion errors
* fixup: formatting
2022-09-06 21:27:10 +00:00
Kyle Carberry
3264960fb3
Change the primary UI font, darken the background, and show template icons for workspaces ( #3863 )
...
* Use darker colors in the dashboard
I think this looks a bit nicer. It's pretty subjective, but right now
we sit in-between a light and a dark mode, but more on the dark side.
This essentially transforms us into a dark mode.
* Add icons to workspaces rows and apge
* Add narrowed navbar to tighten up design
* Swap gray[3] for gray[4]
2022-09-06 18:26:36 +00:00
Presley Pizzo
6d95145d3b
Feat: delete template button ( #3781 )
...
* Add api call
* Extract DropDownButton
* Start adding DropdownButton to Template page
* Move stories to dropdown button
* Format
* Update xservice to delete
* Deletion flow
* Format
* Move ErrorSummary for consistency
* RBAC (unfinished) and style tweak
* Format
* Test rbac
* Format
* Move ErrorSummary under PageHeader in workspace and template
* Format
* Replace hook with onBlur
* Make style arg optional
* Format
2022-09-01 14:24:14 -04:00
Cian Johnston
5362f4636e
feat: show agent version in UI and CLI ( #3709 )
...
This commit adds the ability for agents to set their version upon start.
This is then reported in the UI and CLI.
2022-08-31 16:33:50 +01: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
Cian Johnston
04c5f924d7
fix: ui: workspace bumpers now honour template max_ttl ( #3532 )
...
- chore: WorkspacePage: invert workspace schedule bumper logic for readibility
- fix: make workspace bumpers honour template max_ttl
- chore: refactor workspace schedule bumper logic to util/schedule.ts and unit test separately
2022-08-18 23:32:23 +01:00