Bruno Quaresma
90b6e86555
chore(site): remove xstate ( #10659 )
2023-11-14 18:34:38 +00:00
Kira Pilot
ef70165a8a
feat: add orphan option to workspace delete in UI ( #10654 )
...
* added workspace delete dialog
* added stories and tests
* PR review
* fix flake
* fixed stories
2023-11-14 11:32:05 -05:00
Kayla Washburn
33761c9c7d
refactor: add experimental NewTheme ( #10613 )
2023-11-13 10:09:44 -07:00
Kira Pilot
652097ed3a
fix: update HealthcheckDatabaseReport mocks ( #10655 )
2023-11-13 11:28:20 -05:00
Marcin Tojek
fbd34139b5
refactor(site): use generated Healthcheck API entities ( #10650 )
2023-11-13 15:58:57 +01:00
Cian Johnston
b69c237b8a
feat(coderd/healthcheck): allow configuring database hc threshold ( #10623 )
...
* feat(coderd/healthcheck): allow configuring database hc threshold
* feat(coderd): add database hc latency, plumb through
* feat(coderd): allow configuring healthcheck refresh interval
2023-11-13 14:14:43 +00:00
Michael Smith
e4211ccb40
fix: add missing focus state styling to buttons and checkboxes ( #10614 )
...
* fix: add focus styling to checkboxes
* fix: add focus styling to icon buttons
* fix: add focus styling to switches
* fix: swap outlines for box-shadows for more styling control
2023-11-13 08:08:18 -05:00
Jon Ayers
177affbe4b
feat: add frontend warning when autostart disabled due to automatic updates ( #10508 )
2023-11-09 17:01:12 -06:00
Michael Smith
8290fee3f7
fix: remove accidental scrollbar from deployment banner ( #10616 )
...
* chore: clean up DeploymentBannerView markup
* fix: remove extra scrollbar
* refactor: remove needless calc call
2023-11-09 15:52:23 -05:00
Michael Smith
ad3abe350f
refactor: revamp pagination UI view logic ( #10567 )
...
* chore: revamp Page Utility tests
* refactor: simplify component design for PageButton
* chore: beef up isNonInitialPage and add tests
* docs: clean up comments
* chore: quick refactor for buildPagedList
* refactor: clean up math calculations for buildPagedList
* chore: rename PageButtons file
* chore: revamp how nav buttons are defined
* fix: remove test disabled state
* chore: clean up base nav button
* chore: rename props for clarity
* refactor: clean up logic for isNonInitialPage
* chore: add more tests and catch bugs
* docs: fix confusing typo in comments
* chore: add one more test case for pagination buttons
* refactor: update props definition for PaginationNavButton
* fix: remove possible state sync bugs
2023-11-09 09:10:14 -05:00
Mathias Fredriksson
e71c53d4d0
chore(site): add remote playwright support and script ( #10445 )
2023-11-09 13:26:26 +02:00
Jon Ayers
e23873ff8f
feat: add endpoint for resolving autostart status ( #10507 )
2023-11-08 23:24:56 -06:00
Bruno Quaresma
645c4bd612
fix(site): fix daylight savings date range issue ( #10595 )
...
Close https://github.com/coder/coder/issues/10575
2023-11-08 16:49:09 -03:00
Bruno Quaresma
a328d20bcb
chore(site): remove workspace schedule banner service ( #10588 )
...
Related to https://github.com/coder/coder/issues/9943
2023-11-08 16:48:54 -03:00
Steven Masley
aded7b1513
feat: implement bitbucket-server external auth defaults ( #10520 )
...
* feat: implement bitbucket-server external auth defaults
Bitbucket cloud != Bitbucket server
Add reasonable defaults for server
* change "bitbucket" to "bitbucket-cloud"
2023-11-08 11:05:51 -06:00
Bruno Quaresma
71153e2317
chore(site): remove workspace schedule machine ( #10583 )
...
Related to https://github.com/coder/coder/issues/9943
2023-11-08 13:46:29 -03:00
Michael Smith
057b43a935
fix: remove stray 0 when no data is in users table ( #10584 )
2023-11-08 09:06:14 -05:00
Bruno Quaresma
f418983f23
chore(site): make chromatic ignore changes inside of the code editor ( #10586 )
2023-11-08 11:01:28 -03:00
Bruno Quaresma
de196b89b6
chore(site): revert remark-gfm upgrade ( #10580 )
2023-11-08 08:23:09 -05:00
Bruno Quaresma
7f26111c01
feat(site): add stop and start batch actions ( #10565 )
2023-11-08 09:29:22 -03:00
Bruno Quaresma
861ae1a23a
fix(site): fix bottom bar height ( #10579 )
2023-11-08 12:21:20 +00:00
Kira Pilot
4316c1c862
fix: display all metadata items alongside daily_cost ( #10554 )
...
* resolves #10411
* Update site/src/components/Resources/ResourceCard.test.tsx
2023-11-07 13:04:10 -05:00
Kayla Washburn
9e4558ae3a
feat: parse resource metadata values as markdown ( #10521 )
2023-11-07 10:34:24 -07:00
Kayla Washburn
1dd3eb603b
fix: hide promote/archive buttons for template versions from users without permission ( #10555 )
2023-11-07 09:33:14 -07:00
Cian Johnston
8441c36dfb
fix(site/src/api): getDeploymentDAUs: truncate tz_offset to whole number ( #10563 )
2023-11-07 16:00:00 +00:00
Bruno Quaresma
651d14ea68
fix(site): fix agent log error ( #10557 )
2023-11-07 10:37:09 -05:00
Steven Masley
64398def48
feat: add configurable cipher suites for tls listening ( #10505 )
...
* feat: add configurable cipher suites for tls listening
* tls.VersionName is go 1.21, copy the function
2023-11-07 14:55:39 +00:00
Michael Smith
b0aa91bf27
fix: disable pagination nav buttons correctly ( #10561 )
...
* fix: update button disabling logic
2023-11-07 09:36:26 -05:00
Michael Smith
f5c4826e4c
feat: add list of user's groups to Accounts page ( #10522 )
...
* chore: add query for a user's groups
* chore: integrate user groups into UI
* refactor: split UI card into separate component
* chore: enforce alt text for AvatarCard
* chore: add proper alt text support for Avatar
* fix: update props for Avatar call sites
* finish AccountPage changes
* wip: commit progress on AvatarCard
* fix: add better UI error handling
* fix: update theme setup for AvatarCard
* fix: update styling for AccountPage
* fix: make error message conditional
* chore: update styling for AvatarCard
* chore: finish AvatarCard
* fix: add maxWidth support to AvatarCard
* chore: update how no max width is defined
* chore: add AvatarCard stories
* fix: remove incorrect semantics for AvatarCard
* docs: add comment about flexbox behavior
* docs: add clarifying text about prop
* fix: fix grammar for singular groups
* refactor: split off AccountUserGroups and add story
* fix: differentiate mock groups more
2023-11-07 08:36:53 -05:00
Michael Smith
8c3828b531
fix: stop SSHKeysPage from flaking ( #10553 )
...
* refactor: reorganize SSHKeysPage
* refactor: update render behavior for GlobalSnackbar
* fix: remove redundant error handling
* docs: Clean up wording on docs
* fix: remove temp error handling tests
* fix: remove local error alert
* fix: remove error logging hacks
2023-11-07 08:31:06 -05:00
Dean Sheather
f84485d2c4
chore: add timezone to quiet hours display message in UI ( #10538 )
2023-11-07 08:36:11 +00:00
Bruno Quaresma
14925e71a7
refactor(site): add version back to workspace header ( #10552 )
2023-11-06 13:46:16 -05:00
Bruno Quaresma
a9797fa391
refactor(site): improve templates empty state ( #10518 )
2023-11-06 12:24:45 -05:00
dependabot[bot]
ee15adda4b
chore: bump ts-proto from 1.162.2 to 1.163.0 in /site ( #10541 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.162.2 to 1.163.0.
- [Release notes](https://github.com/stephenh/ts-proto/releases )
- [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stephenh/ts-proto/compare/v1.162.2...v1.163.0 )
---
updated-dependencies:
- dependency-name: ts-proto
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>
2023-11-06 11:20:11 -06:00
Kayla Washburn
ca6e6213bf
chore: use px values instead of theme.spacing and theme.shape.borderRadius ( #10519 )
2023-11-06 09:43:06 -07:00
dependabot[bot]
0cb875cba5
chore: bump remark-gfm from 3.0.1 to 4.0.0 in /site ( #10540 )
...
Bumps [remark-gfm](https://github.com/remarkjs/remark-gfm ) from 3.0.1 to 4.0.0.
- [Release notes](https://github.com/remarkjs/remark-gfm/releases )
- [Commits](https://github.com/remarkjs/remark-gfm/compare/3.0.1...4.0.0 )
---
updated-dependencies:
- dependency-name: remark-gfm
dependency-type: direct:production
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>
2023-11-06 11:32:45 -05:00
Bruno Quaresma
5b9e26a13f
refactor(site): handle edge cases for non-admin users with no workspaces and templates ( #10517 )
2023-11-06 09:34:45 -03:00
dependabot[bot]
06d91bee34
chore: bump @playwright/test from 1.38.0 to 1.39.0 in /site ( #10458 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 13:43:12 +03:00
Bruno Quaresma
e36b606498
fix(site): fix user dropdown width ( #10523 )
2023-11-04 12:05:19 -03:00
Michael Smith
744c73394a
feat: allow users to duplicate workspaces by parameters ( #10362 )
...
* chore: add queries for workspace build info
* refactor: clean up logic for CreateWorkspacePage to support multiple modes
* chore: add custom workspace duplication hook
* chore: integrate mode into CreateWorkspacePageView
* fix: add mode to CreateWorkspacePageView stories
* refactor: extract workspace duplication outside CreateWorkspacePage file
* chore: integrate useWorkspaceDuplication into WorkspaceActions
* chore: delete unnecessary function
* refactor: swap useReducer for useState
* fix: swap warning alert for info alert
* refactor: move info alert message
* refactor: simplify UI logic for mode alerts
* fix: prevent dismissed Alerts from affecting layouts
* fix: remove unnecessary prop binding
* docs: reword comment for clarity
* chore: update msw build params to return multiple params
* chore: rename duplicationReady to isDuplicationReady
* chore: expose root component for testing/re-rendering
* chore: get tests in place (still have act warnings)
* refactor: move stuff around for clarity
* chore: finish tests
* chore: revamp tests
2023-11-03 18:23:09 -04:00
dependabot[bot]
6588494abd
chore: bump ts-proto from 1.159.1 to 1.162.2 in /site ( #10462 )
...
Bumps [ts-proto](https://github.com/stephenh/ts-proto ) from 1.159.1 to 1.162.2.
- [Release notes](https://github.com/stephenh/ts-proto/releases )
- [Changelog](https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stephenh/ts-proto/compare/v1.159.1...v1.162.2 )
---
updated-dependencies:
- dependency-name: ts-proto
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>
2023-11-03 13:20:36 -04:00
dependabot[bot]
84dc001f7e
chore: bump cronstrue from 2.32.0 to 2.41.0 in /site ( #10463 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.32.0 to 2.41.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Changelog](https://github.com/bradymholt/cRonstrue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.32.0...v2.41.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>
2023-11-03 13:20:32 -04:00
dependabot[bot]
311d1dc576
chore: bump @octokit/types from 12.0.0 to 12.1.1 in /site ( #10466 )
...
Bumps [@octokit/types](https://github.com/octokit/types.ts ) from 12.0.0 to 12.1.1.
- [Release notes](https://github.com/octokit/types.ts/releases )
- [Commits](https://github.com/octokit/types.ts/compare/v12.0.0...v12.1.1 )
---
updated-dependencies:
- dependency-name: "@octokit/types"
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>
2023-11-03 13:20:26 -04:00
dependabot[bot]
b86e2e4cd4
chore: bump monaco-editor from 0.43.0 to 0.44.0 in /site ( #10467 )
...
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor ) from 0.43.0 to 0.44.0.
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.43.0...v0.44.0 )
---
updated-dependencies:
- dependency-name: monaco-editor
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>
2023-11-03 13:20:18 -04:00
Bruno Quaresma
7d63dc2b02
refactor(site): add minor design improvements on the setup page ( #10511 )
2023-11-03 12:53:11 -04:00
Kyle Carberry
bb4ce87242
fix: add support for custom auth header with client secret ( #10513 )
...
This fixes OAuth2 with JFrog Artifactory.
2023-11-03 16:26:30 +00:00
dependabot[bot]
08844d03fb
chore: bump vite from 4.4.2 to 4.5.0 in /site ( #10459 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.4.2 to 4.5.0.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.5.0/packages/vite )
---
updated-dependencies:
- dependency-name: vite
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>
2023-11-03 10:09:22 -04:00
Bruno Quaresma
ca353cb81c
refactor(site): improve first workspace creation time ( #10510 )
...
One tiny improvement to make the onboarding faster. When a user has no workspace, show the existent templates with direct links to the workspace creation instead of asking them to see all templates, select one, and after, click on "Create workspace".
Before:
<img width="1351" alt="Screenshot 2023-11-03 at 10 11 32" src="https://github.com/coder/coder/assets/3165839/46050f16-0196-477a-90e2-a0f475c8b707 ">
After:
<img width="1360" alt="Screenshot 2023-11-03 at 10 11 43" src="https://github.com/coder/coder/assets/3165839/5bef3d50-b192-49b5-8bdf-dec9654f529f ">
2023-11-03 11:03:21 -03:00
Bruno Quaresma
c9aeea6f64
chore(site): remove template version editor xservice ( #10490 )
...
Close https://github.com/coder/coder/issues/9942
2023-11-02 21:42:33 -03:00
Bruno Quaresma
03045bd47a
fix(site): fix dialog loading buttons displaying text over the spinner ( #10501 )
2023-11-02 21:34:18 -03:00