Bruno Quaresma
76273bf369
feat(site): display client errors in DERP Region health page ( #12318 )
2024-02-28 13:30:38 +00:00
Michael Smith
087f973415
refactor(site): clean up clipboard functionality and define tests ( #12296 )
...
* refactor: clean up and update API for useClipboard
* wip: commit current progress on useClipboard test
* docs: clean up wording on showCopySuccess
* chore: make sure tests can differentiate between HTTP/HTTPS
* chore: add test ID to dummy input
* wip: commit progress on useClipboard test
* wip: commit more test progress
* refactor: rewrite code for clarity
* chore: finish clipboard tests
* fix: prevent double-firing for button click aliases
* refactor: clean up test setup
* fix: rename incorrect test file
* refactor: update code to display user errors
* refactor: redesign useClipboard to be easier to test
* refactor: clean up GlobalSnackbar
* feat: add functionality for notifying user of errors (with tests)
* refactor: clean up test code
* refactor: centralize cleanup steps
2024-02-27 21:05:37 -05:00
Bruno Quaresma
0fc1a9164e
feat(site): support zip upload for template files ( #12323 )
...
Related to #11687
2024-02-27 18:00:23 -03:00
Kayla Washburn-Love
b2413a593c
chore: reimplement activity status and autostop improvements ( #12175 )
2024-02-27 11:06:26 -07:00
Bruno Quaresma
2ca8248315
chore(site): apply code conventions ( #12316 )
2024-02-27 12:24:07 +00:00
Asher
f74532ff50
feat: audit oauth2 app management ( #12275 )
...
* Audit oauth2 app management
* Use 201 for creating secrets
2024-02-26 23:52:08 +00:00
Steven Masley
6b866b3f48
feat: set sane default for gitea external auth ( #12306 )
...
* feat: external auth defaults for gitea
Add some sane defaults for gitea to make it easier to configure
2024-02-26 12:35:18 -06:00
Bruno Quaresma
79480ca587
feat(site): display build logs on template creation ( #12271 )
2024-02-23 12:23:52 -07:00
Cian Johnston
2cb9bfd517
refactor(coderd): move healthcheck report structs to codersdk ( #12279 )
...
Moves healthcheck report-related structs from coderd/healthcheck to codersdk
This prevents an import cycle when adding a codersdk.Client method to hit /api/v2/debug/health.
2024-02-23 13:13:28 +00:00
Kayla Washburn-Love
66585f042f
feat: support markdown in update messages ( #12273 )
2024-02-22 16:14:06 -07:00
Kayla Washburn-Love
7e6cb66a50
feat(site): allow creating a workspace without connecting optional external auth providers ( #12251 )
2024-02-22 10:27:36 -07:00
Kayla Washburn-Love
b8a53230c7
chore: revert "refactor(site): verify external auth before display ws form ( #11777 )" ( #12183 )
2024-02-22 09:44:30 -07:00
Asher
51d178d538
feat: add OAuth2 user settings page ( #12237 )
2024-02-21 14:16:55 -09:00
dependabot[bot]
3cbe14fdad
chore: bump ip from 2.0.0 to 2.0.1 in /site ( #12238 )
...
Bumps [ip](https://github.com/indutny/node-ip ) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 14:06:43 -09:00
Asher
7eb2beccea
fix: redirect from oauth2 authorization page ( #12241 )
...
At the moment it just says "you are not authorized", but we want to
automatically redirect to the login page.
2024-02-21 13:30:33 -09:00
Steven Masley
c3a7b13690
chore: remove organization requirement from convertGroup() ( #12195 )
...
* feat: convertGroups() no longer requires organization info
Removing role information from some users in the api. This info is
excessive and not required. It is costly to always include
2024-02-21 15:58:11 -06:00
Kayla Washburn-Love
475c3650ca
feat: add support for optional external auth providers ( #12021 )
2024-02-21 11:18:38 -07:00
Bruno Quaresma
78c9f82719
fix(site): fix error when typing long number on ttl ( #12249 )
2024-02-21 17:29:29 +00:00
Michael Smith
1d254f4680
fix: add tests and improve accessibility for useClickable ( #12218 )
2024-02-21 10:59:13 -05:00
Bruno Quaresma
a827185b6d
refactor: move auto fill feature into an experiment ( #12230 )
2024-02-21 11:48:34 -03:00
Bruno Quaresma
b4fb754b2d
feat(site): show previous agent scripts logs ( #12233 )
2024-02-21 11:42:34 -03:00
Bruno Quaresma
0398e3c531
chore(site): fix storybook for agent row with port forward button ( #12247 )
2024-02-21 14:32:39 +00:00
Bruno Quaresma
cc4cefbbee
chore(site): fix storybook test ( #12245 )
2024-02-21 14:17:18 +00:00
Bruno Quaresma
ebe05820c9
fix(site): fix web terminal bottom overflow ( #12228 )
2024-02-21 11:02:53 -03:00
Asher
3d742f64e6
fix: move oauth2 routes ( #12240 )
...
* fix: move oauth2 routes
From /login/oauth2/* to /oauth2/*.
/login/oauth2 causes /login to no longer get served by the frontend,
even if nothing is actually served on /login itself.
* Add forgotten comment on delete
2024-02-20 17:01:25 -09:00
Asher
4d39da294e
feat: add oauth2 token exchange ( #12196 )
...
Co-authored-by: Steven Masley <stevenmasley@gmail.com>
2024-02-20 14:58:43 -09:00
Steven Masley
07cccf9033
feat: disable directory listings for static files ( #12229 )
...
* feat: disable directory listings for static files
Static file server handles serving static asset files (js, css, etc).
The default file server would also list all files in a directory.
This has been changed to only serve files.
2024-02-20 15:50:30 -06:00
Garrett Delfosse
b342bd7869
feat: add port sharing frontend ( #12119 )
2024-02-20 13:26:34 -05:00
Bruno Quaresma
0021c2f906
fix(site): fix parameters field size ( #12231 )
2024-02-20 13:54:07 -03:00
Marcin Tojek
57bf997369
feat: support custom validation errors for number-typed parameters ( #12224 )
2024-02-20 16:32:03 +01:00
Michael Smith
6414b7aade
chore(site): refactor tests for global hooks ( #12216 )
...
* refactor: clean up tests for debounce
* refactor: clean up tests for useCustomEvent
* refactor: clean up events file
* refactor: clean up tests for hookPolyfills
2024-02-20 09:19:43 -05:00
Michael Smith
d6ae9d8548
revert: remove anti-flicker clipboard styling ( #12227 )
...
- These CSS changes were for making sure there weren't layout shifts
when using the non-secure clipboard fallback, which could cause janky
UI flickers. It seems to be breaking things for some users on HTTP-only
connections, though.
2024-02-20 14:14:25 +00:00
Kayla Washburn-Love
dbaafc863c
chore: update no-restricted-imports lint rule ( #12180 )
...
- prevent importing from the "monolith" lodash module. individual modules are better for tree shaking.
- prevent importing `useTheme` and types from @mui/material/styles. prefer importing from @emotion/react.
2024-02-16 09:54:40 -07:00
Bruno Quaresma
be1edc3995
fix(site): fix language detection for Dockerfile ( #12188 )
2024-02-16 12:50:36 +00:00
Bruno Quaresma
df297627c2
fix(site): match activity bump text with template settings ( #12170 )
...
Close https://github.com/coder/coder/issues/12130
2024-02-16 09:33:15 -03:00
Michael Smith
fbd436cc2c
fix: improve clipboard support on HTTP connections and older browsers ( #12178 )
...
* fix: add future-proofing for clipboard copies on http connections
* docs: clean up comment formatting
2024-02-15 16:44:53 -05:00
Steven Masley
2bf2f88b09
feat: implement 'is_default' org field ( #12142 )
...
The first organization created is now marked as "default". This is
to allow "single org" behavior as we move to a multi org codebase.
It is intentional that the user cannot change the default org at this
stage. Only 1 default org can exist, and it is always the first org.
Closes: https://github.com/coder/coder/issues/11961
2024-02-15 11:01:16 -06:00
Marcin Tojek
7a453608c9
feat: support `order` property of `coder_agent` ( #12121 )
2024-02-15 13:33:13 +01:00
Marcin Tojek
8cc62fb221
fix(site): ignore fileInfo if file is missing ( #12154 )
2024-02-15 09:15:22 +00:00
Cian Johnston
d6b025db14
Revert "feat: add activity status and autostop reason to workspace overview ( #11987 )" ( #12144 )
...
Related to https://github.com/coder/coder/pull/11987
This reverts commit d37b131
.
2024-02-14 17:14:49 +00:00
Kayla Washburn-Love
d37b131426
feat: add activity status and autostop reason to workspace overview ( #11987 )
2024-02-13 10:50:17 -07:00
Garrett Delfosse
3ab3a62bef
feat: add port-sharing backend ( #11939 )
2024-02-13 09:31:20 -05:00
Dean Sheather
e1e352d8c1
feat: add template activity_bump property ( #11734 )
...
Allows template admins to configure the activity bump duration. Defaults to 1h.
2024-02-13 07:00:35 +00:00
Dean Sheather
fead57f304
fix: allow access to unhealthy/initializing apps ( #12086 )
2024-02-13 16:30:49 +10:00
Marcin Tojek
3e68650791
feat: support `order` property of `coder_app` resource ( #12077 )
2024-02-12 15:11:31 +01:00
Bruno Quaresma
390217b396
feat(site): add create template from scratch ( #12082 )
2024-02-09 14:42:26 +00:00
Marcin Tojek
c0e169ebf9
feat: support custom order of agent metadata ( #12066 )
2024-02-08 17:29:34 +01:00
Bruno Quaresma
4d63a473b2
fix(site): fix infinity loading when template has no previous version ( #12059 )
2024-02-07 14:56:09 -03:00
Bruno Quaresma
d8a8070986
fix(site): enable submit when auto start and stop are both disabled ( #12055 )
2024-02-07 14:06:48 -03:00
Bruno Quaresma
4b1bac31b6
feat(site): allow any file extension on template editor ( #12000 )
2024-02-07 13:24:28 -03:00
Marcin Tojek
4e7b208068
fix(site): e2e: print API backend calls ( #12051 )
2024-02-07 15:50:07 +01:00
Kayla Washburn-Love
b8e32a37de
fix: use `replace` when redirecting from /health ( #12039 )
...
`pushHistory` will break the back button, so we need to use `replaceHistory` instead
2024-02-06 14:27:32 -07:00
Kayla Washburn-Love
b73e66e9a9
feat: show workspace name suggestions below the name field ( #12001 )
2024-02-05 10:40:15 -07:00
Kayla Washburn-Love
1d14d4e58c
fix: use dark background in terminal, even when a light theme is selected ( #12004 )
2024-02-02 15:05:52 -07:00
Jon Ayers
73c5993bea
fix: only display xray results if vulns > 0 ( #11989 )
2024-02-02 11:02:46 -06:00
Bruno Quaresma
9b930f8fad
feat(site): show deprecation message on template page ( #11996 )
2024-02-02 14:13:35 +00:00
Bruno Quaresma
2e378b4894
fix(site): fix parameter input icon shrink ( #11995 )
2024-02-02 13:49:49 +00:00
Kayla Washburn-Love
c6c71de353
fix: change build status colors ( #11985 )
2024-02-01 18:02:40 -07:00
Bruno Quaresma
96346525e0
fix(site): fix text overflow on batch ws deletion ( #11981 )
...
Before:
![image](https://github.com/coder/coder/assets/3165839/723a8fd7-8f63-4712-8af1-cd442455c723 )
After:
<img width="674" alt="Screenshot 2024-02-01 at 13 48 56" src="https://github.com/coder/coder/assets/3165839/91c3099e-6a11-4beb-b46b-70a9a6c4abb4 ">
2024-02-01 14:02:08 -03:00
Marcin Tojek
ad8e0db172
feat: add custom error message on signups disabled page ( #11959 )
2024-02-01 18:01:25 +01:00
Kayla Washburn-Love
e070a55142
refactor: stabilize `theme.roles` ( #11969 )
2024-02-01 09:53:26 -07:00
Bruno Quaresma
6c9f60a9c5
refactor(site): only display quota if it is higher than 0 ( #11979 )
2024-02-01 13:49:48 -03:00
Bruno Quaresma
1a94686928
refactor(site): add table chosmetic changes ( #11977 )
...
- Set default 14px as the default font size for the table content
- Add `xsmall` size for checkboxes
- Remove checkbox wrapper padding on the table heading
Before:
<img width="1512" alt="Screenshot 2024-02-01 at 10 22 10" src="https://github.com/coder/coder/assets/3165839/92b844ae-f2bf-476a-89fe-90b16f19c306 ">
After:
<img width="1512" alt="Screenshot 2024-02-01 at 10 26 00" src="https://github.com/coder/coder/assets/3165839/0f87d098-4b13-4373-96d2-2c18ee2587f6 ">
2024-02-01 10:41:15 -03:00
Michael Smith
b0a855caa4
fix: improve click UX and styling for Auth Token page ( #11863 )
...
* wip: commit progress for clipboard update
* wip: push more progress
* chore: finish initial version of useClipboard revamp
* refactor: update API query to use newer RQ patterns
* fix: update importers of useClipboard
* fix: increase clickable area of CodeExample
* fix: update styles for CliAuthPageView
* fix: resolve issue with ref re-routing
* docs: update comments for clarity
* wip: commit progress on clipboard tests
* chore: add extra test case for referential stability
* wip: disable test stub to avoid breaking CI
* wip: add test case for tab-switching
* feat: finish changes
* fix: improve styling for strong text
* fix: make sure period doesn't break onto separate line
* fix: make center styling more friendly to screen readers
* refactor: clean up mocking implementation
* fix: resolve security concern for clipboard text
* fix: update CodeExample to obscure text when appropriate
* fix: apply secret changes to relevant code examples
* refactor: simplify code for obfuscating text
* fix: partially revert clipboard changes
* fix: clean up page styling further
* fix: remove duplicate property identifier
* refactor: rename variables for clarity
* fix: simplify/revert CopyButton component design
* fix: update how dummy input is hidden from page
* fix: remove unused onClick handler prop
* fix: resolve unused import
* fix: opt code examples out of secret behavior
2024-01-31 21:25:30 -05:00
Colin Adler
c7f51a9d70
chore(site): update time until shutdown tooltip language ( #11964 )
2024-01-31 16:21:35 -06:00
Kayla Washburn-Love
d2e6405322
chore: add `inactive` role to experimental theme ( #11967 )
2024-01-31 15:16:17 -07:00
Bruno Quaresma
4df913372f
feat(site): display xray scan result in the agent ( #11955 )
2024-01-31 19:16:01 -03:00
Steven Masley
ac64155282
fix: strip timezone information from a date in dau response ( #11962 )
...
* fix: strip timezone information from a date in dau response
Timezone information is lost, so do not forward it to the client.
* fix: timezone offset should be flipped
* Make tests deterministic
2024-01-31 16:01:50 -06:00
Kayla Washburn-Love
76e73287a5
refactor: add modules/templates and modules/workspaces ( #11947 )
2024-01-31 12:09:36 -07:00
Muhammad Atif Ali
215a9d1b30
chore: experiment building dogfood image with nix ( #11680 )
2024-01-31 14:27:11 +00:00
Jon Ayers
0c30dde9b5
feat: add customizable upgrade message on client/server version mismatch ( #11587 )
2024-01-30 17:11:37 -06:00
Ammar Bandukwala
adbb025e74
feat: add user-level parameter autofill ( #11731 )
...
This PR solves #10478 by auto-filling previously used template values in create and update workspace flows.
I decided against explicit user values in settings for these reasons:
* Autofill is far easier to implement
* Users benefit from autofill _by default_ — we don't need to teach them new concepts
* If we decide that autofill creates more harm than good, we can remove it without breaking compatibility
2024-01-30 16:02:21 -06:00
Kayla Washburn-Love
aeb4112513
chore: update storybook ( #11936 )
2024-01-30 14:23:40 -07:00
Bruno Quaresma
7f1c808ff9
feat(site): simplify create template form by removing advanced settings ( #11918 )
2024-01-30 16:40:59 -03:00
Kayla Washburn-Love
619bdd1e7a
refactor: redesign `Paywall` component ( #11907 )
2024-01-30 10:26:19 -07:00
Kayla Washburn-Love
20dcefa156
add an interaction test to InfoTooltip ( #11905 )
2024-01-30 10:20:11 -07:00
Bruno Quaresma
e26ba1affd
feat(site): do not show popover on update deadline ( #11921 )
2024-01-30 14:11:15 -03:00
Bruno Quaresma
dcab6fa5a4
feat(site): display user avatar ( #11893 )
...
* add owner API to workspace and workspace build responses
* display user avatar in workspace top bar
Co-authored-by: Cian Johnston <cian@coder.com>
2024-01-30 17:07:06 +00:00
Bruno Quaresma
4b27c77969
fix(site): fix parameters' request upon template variables update ( #11898 )
...
Fix https://github.com/coder/coder/issues/11870
2024-01-30 08:03:53 -03:00
Spike Curtis
1e8a9c09fe
chore: remove legacy wsconncache ( #11816 )
...
Fixes #8218
Removes `wsconncache` and related "is legacy?" functions and API calls that were used by it.
The only leftover is that Agents still use the legacy IP, so that back level clients or workspace proxies can dial them correctly.
We should eventually remove this: #11819
2024-01-30 07:56:36 +04:00
Jon Ayers
4f5a2f0a9b
feat: add backend for jfrog xray support ( #11829 )
2024-01-29 19:30:02 -06:00
Cian Johnston
9abf6ec170
feat(site): show favorite workspaces in ui ( #11875 )
...
* Add Star beside workspace name to indicate favorite status in WorkspacesList
* Add button in workspace top row to toggle workspace favorite status
2024-01-29 13:39:31 +00:00
Bruno Quaresma
acd22b2c65
fix(site): fix capitalized username ( #11891 )
...
Fix #11888
2024-01-29 10:24:19 -03:00
Spike Curtis
bc4ae53261
chore: refactor Appearance to an interface callable by AGPL code ( #11769 )
...
The new Agent API needs an interface for ServiceBanners, so this PR creates it and refactors the AGPL and Enterprise code to achieve it.
Before we depended on the fact that the HTTP endpoint was missing to serve an empty ServiceBanner on AGPL deployments, but that won't work with dRPC, so we need a real interface to call.
2024-01-29 12:17:31 +04:00
Kayla Washburn-Love
bb8ce7bc02
chore: move components/Resources to modules/resources ( #11852 )
2024-01-26 15:11:07 -07:00
Kayla Washburn-Love
8f46beef72
chore: remove most usage of `PropsWithChildren` ( #11859 )
2024-01-26 12:04:22 -07:00
Kayla Washburn-Love
c2b6e204f3
fix: type error from theme update ( #11844 )
2024-01-26 10:56:19 -07:00
Kayla Washburn-Love
c85fc3c8fe
refactor: add more `fill` variants to the experimental theme ( #11827 )
2024-01-26 10:28:59 -07:00
Bruno Quaresma
0ba035a16d
refactor(site): improve parameters field ( #11802 )
2024-01-26 11:31:52 -03:00
Kira Pilot
4c71cccbc3
fix(site): disable autostart and autostop according to template settings ( #11809 )
...
* fix (site): disable autostart and autostop according to template settings
* checking form values again; wrote tests
* fixed closure and label bugs
* fix broken query key
* tweaks
2024-01-26 09:06:01 -05:00
Bruno Quaresma
e371716b38
refactor(site): add minor workspace improvements ( #11822 )
2024-01-25 21:05:29 -03:00
Kayla Washburn-Love
73a6899f2c
chore: miscellaneous cleanup ( #11785 )
2024-01-25 14:22:52 -07:00
Bruno Quaresma
fd7f85bc5e
fix(site): fix proxy settings link ( #11817 )
2024-01-25 12:16:24 +00:00
Kayla Washburn-Love
3d76e1b55c
chore: clean up package.json and tsconfig ( #11757 )
2024-01-24 13:53:44 -07:00
Bruno Quaresma
8bc91b489e
refactor(site): increase form fields gap ( #11803 )
2024-01-24 14:16:42 -03:00
Marcin Tojek
560e8cc1ae
fix: check update permission to start workspace ( #11798 )
2024-01-24 17:18:03 +01:00
Cian Johnston
f92336c4d5
feat(coderd): allow workspace owners to mark workspaces as favorite ( #11791 )
...
- Adds column `favorite` to workspaces table
- Adds API endpoints to favorite/unfavorite workspaces
- Modifies sorting order to return owners' favorite workspaces first
2024-01-24 13:39:19 +00:00
Bruno Quaresma
6145da8a9e
refactor(site): verify external auth before display ws form ( #11777 )
2024-01-24 09:45:22 -03:00
Kayla Washburn-Love
31a6a5dc6d
chore: add stories for `DropdownArrow` ( #11764 )
2024-01-23 16:02:57 -07:00
Bruno Quaresma
e828daba6e
refactor(site): simplify create workspace form ( #11771 )
...
This is the first PR of a series of PRs trying to simplify and improve the create workspace flow.
- Use the existent template header and remove the selected template card
- Move the owner field to the general section so we don't have "anemic" sections with single fields
Before:
<img width="1512" alt="Screenshot 2024-01-23 at 10 22 45" src="https://github.com/coder/coder/assets/3165839/6a2ba6b4-9ffb-4576-9282-7901691f45ee ">
Now:
<img width="1512" alt="Screenshot 2024-01-23 at 10 22 56" src="https://github.com/coder/coder/assets/3165839/84301548-4af9-4de0-96ff-2a6363fc8cf7 ">
2024-01-23 15:39:23 -03:00
Steven Masley
d6ba0dfecb
feat: add "updated" search param to workspaces ( #11714 )
...
* feat: add "updated" search param to workspaces
* rego -> sql needs to specify which <table>.organization_id
2024-01-23 11:52:06 -06:00
Bruno Quaresma
369821ea19
feat(site): generates unique workspace names by default ( #11772 )
2024-01-23 15:55:29 +00:00
Bruno Quaresma
910f17f4e7
refactor(site): refactor external auth component ( #11758 )
...
Recommended improvements:
- Rename component for clarity
- Simplify interface for contextual relevance
- Handle polling errors based on section, not every button
Before:
<img width="1511" alt="Screenshot 2024-01-22 at 15 24 26" src="https://github.com/coder/coder/assets/3165839/cfb8c0bc-f5a2-4708-bd97-fdfc46bd1eee ">
Now:
<img width="1512" alt="Screenshot 2024-01-22 at 15 24 41" src="https://github.com/coder/coder/assets/3165839/5aaad448-1bb2-45ea-9250-cd374a072be2 ">
2024-01-23 12:26:12 -03:00
Ben Potter
18d43405c0
chore: change SSH wording on workspace page ( #11702 )
2024-01-23 09:45:44 +03:00
Asher
3014777d2a
feat: add endpoints to oauth2 provider applications ( #11718 )
...
These will show up when configuring the application along with the
client ID and everything else. Should make it easier to configure the
application, otherwise you will have to go look up the URLs in the
docs (which are not yet written).
Co-authored-by: Steven Masley <stevenmasley@gmail.com>
2024-01-22 13:25:25 -09:00
Bruno Quaresma
a31d19d538
refactor(site): apply cosmetic changes and remove ExternalAuth from settings page ( #11756 )
2024-01-22 16:07:43 -03:00
Asher
7589df325b
fix: display error when fetching OAuth2 provider apps ( #11713 )
2024-01-22 09:56:36 -09:00
Kayla Washburn-Love
69e963b1a2
refactor: move dashboard functionality to modules/dashboard/ ( #11721 )
2024-01-22 11:44:33 -07:00
Bruno Quaresma
14f114b224
chore(site): add test for sensitive value ( #11755 )
2024-01-22 15:03:15 -03:00
Kayla Washburn-Love
f74ef142d0
refactor: reorganize auth components and hooks ( #11717 )
2024-01-22 10:43:32 -07:00
Bruno Quaresma
f02561a599
chore(site): minor refactor to the resource metadata code ( #11746 )
2024-01-22 12:55:46 -03:00
dependabot[bot]
83013792b1
chore: bump vite from 4.5.1 to 4.5.2 in /site ( #11723 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 12:19:26 +00:00
Kayla Washburn-Love
80eac73ed1
chore: remove `useLocalStorage` hook ( #11712 )
2024-01-19 16:04:19 -07:00
Kayla Washburn-Love
76911f1375
chore: fix `TemplateVersionEditor` story ( #11709 )
2024-01-19 12:13:30 -07:00
Steven Masley
ca48b8783b
fix: update template with noop returned undefined template ( #11688 )
...
* fix: doing a noop patch to templates resulted in 404
The patch response did not include the template. The UI required the
template to be returned to form the new page path
null is more explicit, and harder to make occur by mistake.
2024-01-19 18:54:25 +00:00
Kayla Washburn-Love
75d70a9542
chore: add a story for `WorkspaceOutdatedTooltip` ( #11695 )
2024-01-19 11:41:18 -07:00
Marcin Tojek
4b059c4c93
fix: make workspace tooltips actionable ( #11700 )
2024-01-19 15:17:02 +01:00
Bruno Quaresma
1f63a11396
refactor(site): refactor resource and agents ( #11647 )
2024-01-19 09:06:33 -03:00
Garrett Delfosse
bf0a6fcc32
feat: manage provisioner tags in template editor ( #11600 )
2024-01-18 17:35:20 -05:00
Kayla Washburn-Love
9ed3487f67
feat: batch workspace updates ( #11583 )
2024-01-18 15:14:25 -07:00
Bruno Quaresma
156aaba335
feat(site): show version files diff based on active version ( #11686 )
2024-01-18 16:08:17 -03:00
Marcin Tojek
c5d73b86d6
feat: change owner name using account form ( #11683 )
2024-01-18 12:32:01 +01:00
Jon Ayers
552e9fe22f
fix: avoid returning 500 on apps when workspace stopped ( #11656 )
2024-01-17 12:06:59 -06:00
Bruno Quaresma
1be119b08f
fix(site): fix search menu for creating workspace and templates filter ( #11674 )
2024-01-17 17:54:56 +00:00
Bruno Quaresma
1aee8da4b6
fix(site): fix sidebar scroll ( #11671 )
2024-01-17 16:05:05 +00:00
Marcin Tojek
5eb3e1cdaa
feat: expose `owner_name` in `coder_workspace` resource ( #11639 )
2024-01-17 13:20:45 +01:00
Colin Adler
be43d6247d
feat: add additional fields to first time setup trial flow ( #11533 )
...
* feat: add additional fields to first time setup trial flow
* trial generator typo
2024-01-16 18:19:16 -06:00
Stephen Kirby
d74aae7a4a
removed alpha tags from workspace actions features in template settings ( #11654 )
2024-01-16 16:23:19 -06:00
Marcin Tojek
f915bdf26c
feat: support links with custom icons ( #11629 )
2024-01-15 16:56:01 +01:00
Kayla Washburn-Love
4c3f05b8aa
fix: show error when creating a new group fails ( #11560 )
2024-01-12 16:06:02 -07:00
Bruno Quaresma
8181c9f349
refactor(site): make cosmetic changes on agent logs ( #11601 )
2024-01-12 17:09:36 -03:00
Bruno Quaresma
68e5a51d90
feat(site): display builds logs by default ( #11597 )
2024-01-12 16:39:23 -03:00
Bruno Quaresma
ec166cf423
fix(site): remove search menu vertical padding ( #11599 )
2024-01-12 19:33:21 +00:00
Bruno Quaresma
f3edc42b76
fix(site): fix workspace resource width on ultra wide screens ( #11596 )
2024-01-12 16:09:12 -03:00
Bruno Quaresma
130d5d68a0
refactor(site): refactor workspace notifications ( #11520 )
2024-01-12 15:55:31 -03:00
Bruno Quaresma
162c91ec2a
fix(site): fix resource selection when workspace has no prev resources ( #11594 )
2024-01-12 15:45:06 -03:00
Bruno Quaresma
aeb1ab8ad8
fix(site): fix resource selection when workspace resources change ( #11581 )
2024-01-12 10:14:31 -03:00
Cian Johnston
0e96115d5d
fix(coderd): correctly show warning when no provisioner daemons are registered ( #11591 )
2024-01-12 11:22:59 +00:00
Kayla Washburn-Love
eb8d85f432
feat: treat deprecation messages as markdown ( #11562 )
2024-01-11 14:15:29 -07:00
Cian Johnston
95fd0bb22b
feat(site): remove experiment deployment_health_page ( #11572 )
2024-01-11 21:03:10 +00:00
Cian Johnston
26f5ce63a8
feat(site): add docs links on health page ( #11582 )
...
* feat(site): add docs links on health page
* apply suggestions
2024-01-11 20:32:25 +00:00
Kayla Washburn-Love
05eac64be4
feat: add a character counter for fields with length limits ( #11558 )
...
- refactors`getFormHelpers` to accept an options object
- adds a `maxLength` option which will display a message and character counter for fields with length limits
- set `maxLength` option for template description fields
2024-01-11 12:15:43 -07:00
Garrett Delfosse
f9f94b5d01
fix: remove cancel button if user cannot cancel job ( #11553 )
2024-01-11 13:48:44 -05:00
Kayla Washburn-Love
8c3a4f2d7f
chore: move some components into pages/ ( #11536 )
2024-01-11 11:30:15 -07:00
Steven Masley
fcd299109c
chore: update language about autostop on templates page ( #11552 )
...
* chore: update language about autostop on templates page
2024-01-11 12:01:07 -06:00
Cian Johnston
f3d091fa01
fix(site): improve rendering of provisioner tags ( #11575 )
...
* fix(site): improve rendering of provisioner tags
* fixup! fix(site): improve rendering of provisioner tags
* Update site/src/pages/HealthPage/ProvisionerDaemonsPage.tsx
* fixup! Update site/src/pages/HealthPage/ProvisionerDaemonsPage.tsx
2024-01-11 17:42:21 +00:00
Bruno Quaresma
d708ac7c04
fix(site): remove refetch on windows focus ( #11574 )
...
It causes the sign-in page to reload whenever a user enters a page or changes the window's focus. This is happening because when the "user" fetch is made, the server returns an error, making the react-query mark the data as stale and try to load it whenever possible.
2024-01-11 11:06:36 -03:00
Bruno Quaresma
3695b74ab6
fix(site): fix loading indicator alignment ( #11573 )
2024-01-11 10:53:36 -03:00
Cian Johnston
8a12ee7831
fix(site): show wsproxy errors in context in WorkspaceProxyPage ( #11556 )
...
* Shows the overall report error at the top of the page, if present.
* Shows workspaceproxy errors above warnings inside the corresponding element, if present.
* Improves unregistered proxy status
2024-01-11 10:47:02 +00:00
bamhm182
4e5367c4a4
chore: update Digital Ocean example template ( #11528 ) ( #11535 )
...
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
2024-01-11 00:00:25 +00:00
Jon Ayers
9b437032e9
feat: remove workspace_actions experiment ( #11427 )
2024-01-10 16:19:39 -06:00
dependabot[bot]
61cd9f087b
chore: bump follow-redirects from 1.15.2 to 1.15.4 in /site ( #11540 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 10:30:05 +03:00
Kayla Washburn
97bd74b468
chore: add additional stories to storybook ( #11524 )
...
add stories for ActiveUserChart, CopyableValue, and CopyButton
2024-01-09 14:03:40 -07:00
Kayla Washburn
8a48485014
refactor: clean up `Welcome` component ( #11526 )
2024-01-09 14:03:33 -07:00
Garrett Delfosse
4fa07124cd
feat: display application name over sign in form ( #11500 )
2024-01-09 12:51:16 -05:00
Garrett Delfosse
30d5ac060b
fix: carry tags to new templateversions ( #11502 )
2024-01-09 12:47:44 -05:00
Cian Johnston
952706e905
fix(site): HealthPage/WorkspaceProxyPage: adjust border colour for unhealthy regions ( #11516 )
2024-01-09 17:36:41 +00:00
Kayla Washburn
e77b1a5ffd
chore: miscellaneous cleanup ( #11027 )
2024-01-09 10:14:19 -07:00
Kayla Washburn
9f5a59d5c5
feat(site): improve icon compatibility across themes ( #11457 )
2024-01-08 14:12:40 -07:00
Cian Johnston
220e95dd5c
feat(site): add healthcheck page for provisioner daemons ( #11494 )
...
Part of #10676
- Adds a health section for provisioner daemons (mostly cannibalized from the Workspace Proxy section)
- Adds a corresponding storybook entry for provisioner daemons health section
- Fixed an issue where dismissing the provisioner daemons warnings would result in a 500 error
- Adds provisioner daemon error codes to docs
2024-01-08 17:14:09 +00:00
Bruno Quaresma
a613a0a4da
refactor(site): improve settings option ( #11489 )
2024-01-08 13:16:16 -03:00
Bruno Quaresma
61450863ff
feat(site): move resources into the sidebar ( #11456 )
2024-01-08 13:14:25 -03:00
Cian Johnston
93cf5dcd47
fix(coderd/healthcheck): add daemon-specific warnings to healthcheck output ( #11490 )
...
- Sorts provisioner daemons by name ascending in output
- Adds daemon-specific warnings to healthcheck output
- Reword some messages
2024-01-08 13:55:00 +00:00
Bruno Quaresma
0186241880
fix(site): display github login config ( #11488 )
2024-01-08 10:17:09 -03:00
Cian Johnston
04fd96a014
feat(coderd): add provisioner_daemons to /debug/health endpoint ( #11393 )
...
Adds a healthcheck for provisioner daemons to /debug/health endpoint.
2024-01-08 09:29:04 +00:00
Michael Smith
31f8fac1b9
fix: make ProxyMenu more accessible to screen readers ( #11312 )
...
* wip: commit progress on latency update
* chore: add stories and clean up tests
* refactor: clean up code
* fix: make sure headers aren't treated as interactive elements
* refactor: clean up tests
* fix: clean up stories
* docs: add clarifying comment
* fix: update stories again
* fix: clean up/extend prop definitions
* refactor: quick cleanup
* fix: apply Kira's feedback
* refactor: clean up abbr markup to account for pronunciation
* fix: more cleanup
* fix: refine screen reader output for VoiceOver
* refactor: clean up and redefine tests
* feature: add finishing touches
2024-01-07 18:37:01 -05:00
Garrett Delfosse
b21da38bea
chore: deprecate template create command in favor of template push ( #11390 )
2024-01-05 21:04:14 +00:00
Steven Masley
da7859c445
chore: change language on autostop ( #11454 )
...
* chore: change language on autostop
2024-01-05 11:40:25 -06:00
Bruno Quaresma
c428395d71
feat(site): move history into sidebar ( #11413 )
2024-01-05 13:32:05 -03:00
Steven Masley
f0132b543d
fix: fix workspace proxy command app link href ( #11423 )
...
* fix: workspace proxy command app link href
2024-01-05 10:27:06 -06:00
Bruno Quaresma
9389c2b283
refactor(site): only show derp tags if they are true ( #11439 )
2024-01-05 09:45:34 -03:00
Spike Curtis
64638b381d
feat: promote PG Coordinator out of experimental ( #11398 )
...
Promotes PG Coordinator out of experimental to GA
2024-01-05 08:03:36 +04:00
Muhammad Atif Ali
f0db302df2
chore: add lxc logo ( #11404 )
2024-01-04 16:31:16 +03:00
Spike Curtis
48cd4c3a10
feat: promote single-tailnet out of experimental ( #11366 )
2024-01-04 09:27:36 +04:00
Kayla Washburn
ffa7722c31
feat: select group avatars with the emoji picker ( #11395 )
2024-01-03 15:47:24 -07:00
Bruno Quaresma
4edd21ae9e
fix(site): fix loading spinner on template version status badge ( #11392 )
2024-01-03 16:29:04 +00:00
Bruno Quaresma
f5196c06e1
fix(site): fix insights picker and disable animation ( #11391 )
2024-01-03 16:25:01 +00:00
Cian Johnston
1ef96022b0
feat(coderd): add provisioner build version and api_version on serve ( #11369 )
...
* assert provisioner daemon version and api_version in unit tests
* add build info in HTTP header, extract codersdk.BuildVersionHeader
* add api_version to codersdk.ProvisionerDaemon
* testutil.MustString -> testutil.MustRandString
2024-01-03 09:01:57 +00:00
Garrett Delfosse
227234ded5
fix: correct wording on logo url field ( #11377 )
2024-01-02 14:53:18 -05:00
Bruno Quaresma
ac899be74c
chore(site): move workspace topbar component ( #11374 )
2024-01-02 16:02:11 -03:00
Bruno Quaresma
099be249a7
fix(site): fix external auth button loading state ( #11373 )
2024-01-02 18:30:05 +00:00
Kayla Washburn
6308a78365
chore: clean up light theme code ( #11319 )
2024-01-02 15:19:20 -03:00
Bruno Quaresma
c37c0e7d1b
refactor(site): simplify workspace topbar ( #11370 )
2024-01-02 15:17:42 -03:00
Bruno Quaresma
62a20e86fd
chore(site): ignore deletion date on chromatic ( #11372 )
2024-01-02 18:17:24 +00:00
Bruno Quaresma
a1341ee9ac
fix(site): fix pill spinner size ( #11368 )
2024-01-02 15:05:20 -03:00
Bruno Quaresma
467a1a3e71
fix(site): fix workspace topbar back button ( #11371 )
2024-01-02 18:01:06 +00:00
Kayla Washburn
a24c3b4dc7
chore: cleanup inline prop type definitions ( #11317 )
2024-01-02 10:39:00 -07:00
Bruno Quaresma
cf17fabcc6
feat(site): refactor workspace header to be more slim ( #11327 )
2024-01-02 12:42:51 -03:00
Muhammad Atif Ali
608937c79c
chore(site): update node to version 18.19.0 ( #11344 )
2024-01-02 12:41:24 +00:00
Bruno Quaresma
8717fdfc20
refactor(site): refactor pill component API ( #11329 )
...
Refactor the Pill API to make it easier to extend and reuse.
2024-01-02 09:28:51 -03:00
Muhammad Atif Ali
e9437e2662
chore(site): update miscellaneous svg icons ( #11343 )
2023-12-27 23:05:03 +03:00
Mathias Fredriksson
be3889af07
test(site/e2e): catch missing agent defaults in `fillResource` ( #11105 )
2023-12-23 11:52:27 +00:00
Michael Smith
167c15238a
fix: prevent UI from jumping around when selecting workspaces ( #11321 )
2023-12-21 22:36:42 +00:00
Kayla Washburn
029c92fede
fix: fix name for external auth connections ( #11318 )
2023-12-21 15:27:16 -07:00
Kayla Washburn
db71c0fa54
refactor: remove theme "color palettes" ( #11314 )
2023-12-21 14:45:54 -07:00
Asher
5cfa34b31e
feat: add OAuth2 applications ( #11197 )
...
* Add database tables for OAuth2 applications
These are applications that will be able to use OAuth2 to get an API key
from Coder.
* Add endpoints for managing OAuth2 applications
These let you add, update, and remove OAuth2 applications.
* Add frontend for managing OAuth2 applications
2023-12-21 21:38:42 +00:00
Kayla Washburn
e044d3b752
fix: add additional theme colors ( #11313 )
2023-12-21 12:59:39 -07:00
Jon Ayers
0b7d68dc3f
chore: remove template_update_policies experiment ( #11250 )
2023-12-21 13:39:33 -06:00
Kira Pilot
20dff2aa5d
added react query dev tools ( #11293 )
2023-12-20 10:08:51 -05:00
Bruno Quaresma
e2e56d7d4f
refactor(site): move workspace schedule controls to its own component ( #11281 )
2023-12-20 08:46:18 -03:00