Steven Masley
d9da054c9d
chore: update generated array type definitions in TypeScript to be readonly ( #12947 )
...
* chore: types generated handling readonly slices
* add -update flag to update goldens
* revert excess gens
* fix: update most UI types to account for readonly modifiers
* fix: remove accidental mutation from NavBarView
* fix: remove mutation warning for BatchUpdateConfirmation stories
* fix: remove mutation warning for BactchUpdateConfirmation
* fix: format ActiveUserChart
* fix: update import to make linter happy
* fix: update fmt issue
* fix: disable file write lint rule from unit test
---------
Co-authored-by: Parkreiner <throwawayclover@gmail.com>
2024-04-15 09:46:10 -04:00
Kayla Washburn-Love
7cf8577f1c
label some template settings as enterprise ( #12952 )
2024-04-15 09:24:11 -04:00
Kayla Washburn-Love
00fcf36999
test: add an e2e audit logs test ( #12868 )
2024-04-12 14:01:54 -06:00
Marcin Tojek
cf2d2a98bd
test(site): add e2e tests for appearance ( #12950 )
2024-04-12 14:46:44 +02:00
Marcin Tojek
dcf1d3a9ae
test(site): add e2e tests for experiments ( #12940 )
2024-04-12 10:42:27 +02:00
Kayla Washburn-Love
c5367c201b
test: fix url checks in e2e tests ( #12881 )
2024-04-11 15:48:53 -06:00
Steven Masley
93b46fe1f6
chore: skip global.setup if first user already exists ( #12930 )
...
* chore: skip global.setup if first user already exists
treat test as a setup, rather than a test
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com>
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com>
2024-04-11 21:10:40 +00:00
Kayla Washburn-Love
2ad7fcc0b7
fix: show template autostop setting when it overrides the workspace setting ( #12910 )
2024-04-11 13:08:51 -06:00
Steven Masley
8da8b89af7
test: verify actually uploaded license with assert ( #12934 )
...
Prior page.GetByText did not assert it existed
2024-04-10 18:02:08 -05:00
Steven Masley
7fd9a75ad9
chore: nix shell to support playwright e2e tests ( #12917 )
...
* chore: nix shell to support playwright e2e tests
nix is running an older version of chromium, so had to reduce the
playwright version.
* Add to e2e readme
* add enterprise test comment
* add note about install to readme
* make fmt
* remove shellhook message
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com>
* add link to nixos playwright package to get version
* formatting
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com>
2024-04-10 14:08:25 -05:00
Steven Masley
a607d5610e
chore: disable pgcoord (HA) when --in-memory ( #12919 )
...
* chore: disable pgcoord (HA) when --in-memory
HA does not make any sense while using in-memory database
2024-04-10 11:05:55 -05:00
Steven Masley
838e8df5be
chore: merge apikey/token session config values ( #12817 )
...
* chore: merge apikey/token session config values
There is a confusing difference between an apikey and a token. This
difference leaks into our configs. This change does not resolve the
difference. It only groups the config values to try and manage any
bloat that occurs from adding more similar config values
2024-04-10 10:34:49 -05:00
Marcin Tojek
e266ecf91b
test(site): fix flaky outdated agent test ( #12927 )
2024-04-10 16:09:44 +02:00
Garrett Delfosse
acaa254099
feat: link with protocol on shared ports ( #12908 )
2024-04-10 09:29:24 -04:00
Marcin Tojek
2f2a395ba9
e2e tests for deployment/licenses ( #12926 )
2024-04-10 15:00:39 +02:00
Marcin Tojek
08451ce80c
feat: remove health link from deployment sidebar ( #12914 )
2024-04-09 13:47:47 +01:00
Garrett Delfosse
f96ce80ab9
feat: add owner groups to workspace data ( #12841 )
2024-04-05 15:06:17 -04:00
Kayla Washburn-Love
c4b26f335a
test: verify that enterprise tests are being run ( #12871 )
2024-04-05 11:45:32 -06:00
Bruno Quaresma
3fbcdb0ddc
chore(site): add e2e tests for groups ( #12866 )
2024-04-04 21:56:28 -03:00
Kayla Washburn-Love
bc9ea61eb4
ci: disable enterprise e2e tests temporarily ( #12874 )
2024-04-04 17:39:07 -06:00
Bruno Quaresma
41b8ff3e81
chore(site): add e2e to test add and remove user ( #12851 )
2024-04-04 09:21:03 -03:00
Kayla Washburn-Love
caa49ea6a1
chore: stabilize light theme ( #12855 )
2024-04-02 16:06:31 -06:00
Kayla Washburn-Love
1dd840d149
test: add an e2e test for removing a group ( #12844 )
2024-04-02 11:29:43 -06:00
Bruno Quaresma
7c1d10b952
chore(site): upgrade storybook to v8 ( #12831 )
2024-04-01 16:12:17 -03:00
Bruno Quaresma
2f437005b7
chore(site): clean up mocks after each test ( #12805 )
2024-04-01 13:14:36 -03:00
Bruno Quaresma
75bf41ba02
chore(site): use static date and ignore dynamic values for storybook ( #12830 )
2024-04-01 11:02:54 -03:00
Kayla Washburn-Love
1d2d008b45
chore: add e2e tests for template permissions ( #12731 )
2024-03-29 10:43:23 -06:00
Steven Masley
eeb3d63be6
chore: merge authorization contexts ( #12816 )
...
* chore: merge authorization contexts
Instead of 2 auth contexts from apikey and dbauthz, merge them to
just use dbauthz. It is annoying to have two.
* fixup authorization reference
2024-03-29 10:14:27 -05:00
Kayla Washburn-Love
f3cfe10c26
chore: add more e2e template settings tests ( #12717 )
2024-03-28 16:00:27 -06:00
Muhammad Atif Ali
5235faa79f
chore(site): remove max ttl from scheduling description ( #12715 )
2024-03-27 14:24:26 -05:00
Bruno Quaresma
5d82a78d4c
fix(site): fix and improve pending state on template editor UI ( #12766 )
2024-03-27 12:42:07 -03:00
Colin Adler
4d5a7b2d56
chore(codersdk): move all tailscale imports out of `codersdk` ( #12735 )
...
Currently, importing `codersdk` just to interact with the API requires
importing tailscale, which causes builds to fail unless manually using
our fork.
2024-03-26 12:44:31 -05:00
Kayla Washburn-Love
cfb484fa25
fix: always use bash when executing web terminal tests ( #12755 )
2024-03-25 16:58:07 -06:00
Asher
40e5ad5499
feat: make OAuth2 provider not enterprise-only ( #12732 )
2024-03-25 11:52:22 -08:00
Garrett Delfosse
60f335113c
chore: add protocol lag to shared ports description ( #12728 )
2024-03-25 15:28:38 -04:00
Kayla Washburn-Love
541ccd940c
chore: change e2e testing port ( #12751 )
2024-03-25 13:07:34 -06:00
Kayla Washburn-Love
0966fe2560
fix: create workspace with optional auth providers ( #12729 )
2024-03-22 13:26:02 -06:00
Muhammad Atif Ali
58cbd8335f
chore(site): reorganize template schedule strings page ( #12714 )
2024-03-22 15:44:16 +03:00
Bruno Quaresma
8499eacf67
chore(site): add tests for deprecate template flow ( #12685 )
...
Closes #12505
2024-03-21 10:37:08 -03:00
Dean Sheather
2b773f9034
fix: allow proxy version mismatch (with warning) ( #12433 )
2024-03-20 18:24:18 +00:00
Garrett Delfosse
4d9fe05f5a
feat: add awsiamrds db auth driver ( #12566 )
2024-03-20 13:14:43 -04:00
Steven Masley
d789a60d47
chore: remove max_ttl from templates ( #12644 )
...
* chore: remove max_ttl from templates
Completely removing max_ttl as a feature on template scheduling. Must use other template scheduling features to achieve autostop.
2024-03-20 10:37:57 -05:00
Bruno Quaresma
d82e20152b
feat(site): make listening ports scrollable ( #12660 )
2024-03-20 09:34:30 -03:00
Kayla Washburn-Love
9028717c9b
fix: disable auto-create if external auth requirements aren't met ( #12538 )
2024-03-19 16:42:40 -06:00
Kyle Carberry
4ae1f40eee
chore: add docs for adding e2e tests ( #12677 )
2024-03-19 18:25:05 +00:00
Bruno Quaresma
23e3e4ce58
chore(site): upgrade msw to 2.0 ( #12597 )
...
Closes https://github.com/coder/coder/issues/11426
2024-03-19 09:30:20 -03:00
Bruno Quaresma
c84d96b747
fix(site): display not found page when pagination page is invalid ( #12611 )
2024-03-18 10:35:59 -03:00
Bruno Quaresma
6f0ba5bfe7
chore(site): add AgentLogs storybook ( #12601 )
2024-03-15 14:57:35 -03:00
Ammar Bandukwala
496232446d
chore(cli): replace clibase with external `coder/serpent` ( #12252 )
2024-03-15 11:24:38 -05:00
Bruno Quaresma
f78b5c1cfe
chore(site): refactor logs and add stories ( #12553 )
2024-03-14 14:49:37 -03:00
Steven Masley
410a7d54ee
chore: external auth flow opens new window, it does not need an href ( #12586 )
2024-03-14 09:17:50 -05:00
Asher
0d16df9df9
fix: importing api into vscode-coder ( #12570 )
2024-03-13 10:05:44 -08:00
Kayla Washburn-Love
efba477b36
fix: hide actions and notifications from deleted workspaces ( #12563 )
2024-03-13 11:43:48 -06:00
Bruno Quaresma
489b0ec497
chore(site): refactor useAuth and related hooks ( #12567 )
...
Close https://github.com/coder/coder/issues/12487
2024-03-13 13:24:18 -03:00
Michael Brewer
903f8b21c4
feat(site): add cpp icon ( #12572 )
...
* feat(site): add cpp icon
Add the C++ icon
Source is WikiCommons: https://en.m.wikipedia.org/wiki/File:ISO_C%2B%2B_Logo.svg
* fix: correct order
2024-03-13 07:49:03 -04:00
Danny Kopping
7a7105ad66
feat: make agent stats' cardinality configurable ( #12535 )
2024-03-13 12:03:36 +02:00
Bruno Quaresma
e45d511f28
chore(site): add missing stories for templates ( #12537 )
2024-03-12 17:54:37 -03:00
Bruno Quaresma
8489b4dfb1
chore(site): add WorkspaceBuildData stories ( #12550 )
2024-03-12 14:18:31 -03:00
Bruno Quaresma
e947e0e829
chore(site): refactor dormant badge and add stories ( #12555 )
2024-03-12 14:17:55 -03:00
Cian Johnston
7b081c873e
fix(site): warn when user leaves template editor with un-built changes ( #12548 )
2024-03-12 13:08:54 +00:00
Cian Johnston
edc465c449
fix(site): TemplateVersionEditor: allow triggering builds on non-dirtied template version ( #12547 )
2024-03-12 11:35:16 +00:00
Michael Brewer
f6ed81bc3b
feat(site): add microsoft teams icon ( #12513 )
...
* feat(site): add microsoft teams icon
Attribution below:
Vectors and icons by <a href="https://github.com/garudatechnologydevelopers/sketch-icons?ref=svgrepo.com " target="_blank">Garuda Technology</a> in MIT License via <a href="https://www.svgrepo.com/ " target="_blank">SVG Repo</a>
closes #12496
* fix(site): correct order of icons
2024-03-12 03:18:10 +00:00
Kayla Washburn-Love
a546cb8b32
chore: add stories to `Search` ( #12457 )
2024-03-11 12:16:31 -06:00
Bruno Quaresma
83af8674e8
chore(site): add CreateTokenPage story ( #12472 )
2024-03-11 14:10:19 -03:00
Cian Johnston
8f40ee3465
Revert "feat: make agent stats' cardinality configurable ( #12468 )" ( #12533 )
...
This reverts commit 21d1873d97
.
2024-03-11 14:33:36 +00:00
Danny Kopping
21d1873d97
feat: make agent stats' cardinality configurable ( #12468 )
...
Closes #12221
2024-03-11 16:04:08 +02:00
Garrett Delfosse
dc69341583
fix: make public menu item selectable ( #12484 )
2024-03-11 10:00:40 -04:00
Michael Brewer
cef632b1fb
feat(site): add dotnet icon ( #12512 )
2024-03-11 16:54:34 +03:00
Bruno Quaresma
cd64e981b4
chore(site): add stories to 404 page ( #12470 )
...
Related to https://github.com/coder/coder/issues/12263
2024-03-11 10:36:06 -03:00
Bruno Quaresma
0220c97ef9
chore(site): add TableToolbar stories ( #12473 )
...
Related to https://github.com/coder/coder/issues/12263
2024-03-11 10:21:47 -03:00
Bruno Quaresma
b8dd6b3aa2
chore(site): add Form storybook ( #12469 )
...
Related to #12260
2024-03-11 10:21:18 -03:00
Michael Brewer
5296611a3f
feat(site): add confluence icon ( #12500 )
...
Attribution for this icon below, if needed
Vectors and icons by <a href="https://github.com/vscode-icons/vscode-icons?ref=svgrepo.com " target="_blank">Vscode Icons</a> in MIT License via <a href="https://www.svgrepo.com/ " target="_blank">SVG Repo</a>
2024-03-11 11:34:02 +03:00
Michael Smith
4d42c07c72
chore(site): update and refactor all custom hook tests that rely on React Router ( #12219 )
...
* chore: rename useTab to useSearchParamsKey and add test
* chore: mark old renderHookWithAuth as deprecated (temp)
* fix: update imports for useResourcesNav
* refactor: change API for useSearchParamsKey
* chore: let user pass in their own URLSearchParams value
* refactor: clean up comments for clarity
* fix: update import
* wip: commit progress on useWorkspaceDuplication revamp
* chore: migrate duplication test to new helper
* refactor: update code for clarity
* refactor: reorder test cases for clarity
* refactor: split off hook helper into separate file
* refactor: remove reliance on internal React Router state property
* refactor: move variables around for more clarity
* refactor: more updates for clarity
* refactor: reorganize test cases for clarity
* refactor: clean up test cases for useWorkspaceDupe
* refactor: clean up test cases for useWorkspaceDupe
2024-03-08 18:31:01 -05:00
Kayla Washburn-Love
cf4f56dc2f
chore: add stories for `MoreMenu` ( #12464 )
2024-03-08 12:01:48 -07:00
Kayla Washburn-Love
8d8220bb07
chore: add stories for `Loader` ( #12445 )
2024-03-08 11:35:14 -07:00
Bruno Quaresma
5b2acbc5b7
chore(site): add FileUpload stories ( #12456 )
...
Related to https://github.com/coder/coder/issues/12260
2024-03-08 09:08:44 -03:00
Bruno Quaresma
18d1c17db1
chore(site): add storybook for BuildAvatar and BuildIcon ( #12455 )
...
Related to https://github.com/coder/coder/issues/12260
2024-03-08 08:06:56 -03:00
Bruno Quaresma
060033e4ef
fix(site): fix terminal size when displaying alerts ( #12444 )
...
Before - The terminal size does not fit the available space so the bottom is hidden.
https://github.com/coder/coder/assets/3165839/d08470b9-9fc6-476c-a551-8a3e13fc25bf
After - The terminal adjusts when there are alert changes.
https://github.com/coder/coder/assets/3165839/8cc32bfb-056f-47cb-97f2-3bb18c5fe906
Unfortunately, I don't think there is a sane way to automate tests for this but open to suggestions.
Close https://github.com/coder/coder/issues/7914
2024-03-08 07:38:40 -03:00
Garrett Delfosse
d2a74cf547
fix: display tooltip when selection is disabled ( #12439 )
2024-03-07 10:43:25 -05:00
Bruno Quaresma
db02c72ac6
chore(site): add storybook for terminal page ( #12441 )
2024-03-07 14:17:38 +00:00
Dean Sheather
46a2ff1061
feat: allow setting port share protocol ( #12383 )
...
Co-authored-by: Garrett Delfosse <garrett@coder.com>
2024-03-06 09:23:57 -05:00
Michael Smith
a92853c72d
fix: ensure auto-workspace creation waits until all parameters are ready ( #12419 )
...
* fix: ensure auto-workspace creation waits until all parameters are ready
* refactor: move creation blocking logic to main callback
* fix: let creation start if experimental feature is off
2024-03-05 18:42:50 -05:00
Kayla Washburn-Love
0fe109d517
chore: sort imports in our typescript code ( #12417 )
2024-03-05 16:31:22 -07:00
Bruno Quaresma
bc30c9c013
feat(site): warn user if they leave the editor without publishing ( #12406 )
2024-03-05 16:55:23 -03:00
Bruno Quaresma
fb88fa8603
feat(site): display error messages on ws and access url health pages ( #12430 )
...
Close https://github.com/coder/coder/issues/12408
2024-03-05 13:27:57 -03:00
Alex
320c2eac6f
Entra External Auth for ADO ( #12201 )
2024-03-04 12:12:46 -06:00
Garrett Delfosse
8f190b2016
fix: disallow out of range ports ( #12414 )
2024-03-04 12:25:06 -05:00
Kayla Washburn-Love
3a86ae569a
refactor: use `TableEmpty` in user settings ( #12389 )
2024-03-04 09:45:40 -07:00
Bruno Quaresma
afcea74462
fix(site): retry and debug passing build parameters options ( #12384 )
2024-03-04 10:25:53 -03:00
Kayla Washburn-Love
af4d0b148b
chore: add stories for `Popover` ( #12387 )
2024-03-01 15:43:35 -07:00
Michael Brewer
722ff50e59
fix: add service banner to workspace page ( #12381 )
2024-03-01 10:53:03 -07:00
Kayla Washburn-Love
4f0b885c30
chore: add stories for `UserAvatar` ( #12376 )
2024-03-01 10:50:17 -07:00
Kayla Washburn-Love
7824bee25f
chore: add stories for `Stack` ( #12375 )
2024-03-01 10:26:50 -07:00
Kayla Washburn-Love
f4c888f33e
chore: add stories for `Latency` component ( #12374 )
2024-03-01 10:26:38 -07:00
Kayla Washburn-Love
f00935baa6
chore: add stories for `TableEmpty` and `TableLoader` ( #12373 )
2024-03-01 10:26:30 -07:00
Bruno Quaresma
26b483d95e
fix(site): fix form layout for tablet viewports ( #12369 )
2024-02-29 16:24:06 -03:00
Steven Masley
4006974a98
fix: external auth device flow, check both queries for errors ( #12367 )
...
* fix: external auth device flow, check both queries for errors
* Minor style update
---------
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com>
2024-02-29 13:00:16 -06:00
Kayla Washburn-Love
b24ad1bbf0
refactor: show parameter suggestions from user history below field ( #12340 )
2024-02-28 15:29:48 -07:00
Kyle Carberry
b2a5e2f4c0
fix: Increase license key rows ( #12352 )
...
It was pretty hard to tell when you pasted something in
this box with only displaying a single line.
This should help!
2024-02-28 21:57:10 +00:00
Bruno Quaresma
76273bf369
feat(site): display client errors in DERP Region health page ( #12318 )
2024-02-28 13:30:38 +00:00