Bruno Quaresma
19745a2dee
feat: filter tasks by user ( #18130 )
...
Demo:
https://github.com/user-attachments/assets/4f3a39c5-6b41-4493-a1c0-56eedadb7798
2025-05-30 15:31:06 -03:00
Bruno Quaresma
9fbccc032d
chore: improve iframe loading time ( #18134 )
...
- Pre-load all the embed app iframes
- Avoid reloading the iframe when the selected app changes
2025-05-30 15:30:35 -03:00
Bruno Quaresma
00502dc653
feat: hide parent apps on devcontainer agents ( #18120 )
...
**Demo:**
https://github.com/user-attachments/assets/d68cbc33-5199-426b-8f97-35ee1c3ae133
2025-05-30 14:59:26 -03:00
Bruno Quaresma
696d264da8
refactor: remove app column from tasks table ( #18135 )
...
Remove the "app" column from the tasks table since the user can click on the task and use apps there.
2025-05-30 14:47:24 -03:00
Jaayden Halko
9b53e69e32
feat: add early access badges for dynamic parameters ( #18114 )
...
Workspace creation page
<img width="1438" alt="Screenshot 2025-05-30 at 13 38 22"
src="https://github.com/user-attachments/assets/bac94f3a-b695-4662-9a89-7777d03d8f74 "
/>
Workspace parameter settings
<img width="1432" alt="Screenshot 2025-05-30 at 13 37 19"
src="https://github.com/user-attachments/assets/f1f803a6-b99a-416c-a085-38bafc2ef4e4 "
/>
<img width="1429" alt="Screenshot 2025-05-30 at 13 43 27"
src="https://github.com/user-attachments/assets/cb1d37a4-8b79-4858-846e-3b1deb0a63cf "
/>
2025-05-30 13:17:17 -04:00
Steven Masley
4597142467
feat: set default workspace proxy based on latency ( #17812 )
...
Auto select the proxy on first load (stored in local storage, so per
browser), then defer to user selection. The auto selected proxy will not
update again once set.
2025-05-30 09:24:16 -05:00
Bruno Quaresma
be8474a8a0
feat: add textarea auto size ( #18127 )
...
Demo:
https://github.com/user-attachments/assets/aa179ac2-6f2f-43a6-8d74-8a936eea5a29
2025-05-30 11:00:53 -03:00
Bruno Quaresma
f974add373
chore: rollback PR #18025 ( #18118 )
...
Rollback https://github.com/coder/coder/pull/18025
2025-05-30 11:00:26 -03:00
Bruno Quaresma
a19539ce83
refactor: improve app status and statuses ( #18121 )
...
#### 1. Gray out status icons when the workspace is not running.
**Before:**
<img width="1624" alt="Screenshot 2025-05-29 at 21 33 45"
src="https://github.com/user-attachments/assets/7916e707-e5ae-4226-8234-39c42f0ec8c4 "
/>
**After:**
<img width="1624" alt="Screenshot 2025-05-29 at 21 35 07"
src="https://github.com/user-attachments/assets/52fd8553-414d-4c49-a44e-7a530f0d522d "
/>
#### 2. Truncate long messages
**Before**
<img width="1213" alt="Screenshot 2025-05-29 at 21 28 50"
src="https://github.com/user-attachments/assets/b76b7a4d-7ef0-41a0-822c-c32c98f997fc "
/>
**After**
<img width="1206" alt="Screenshot 2025-05-29 at 21 25 42"
src="https://github.com/user-attachments/assets/fb3f3916-a4a4-4697-b7d1-0b4873b6e528 "
/>
#### 3. Disable "show more" button if there is one single status
2025-05-29 22:39:18 -03:00
Atif Ali and EdwardAngert
25e2146200
docs: reorganize JetBrains docs ( #17995 )
...
This pull request introduces significant updates to documentation and
references related to JetBrains IDEs, including rebranding,
restructuring, and adding new guides.
[Preview](https://coder.com/docs/@atif%2Fjetbrains-reorganization )
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2025-05-29 17:56:44 -07:00
ケイラ
232c72ffd6
feat: group apps together on workspace page ( #18018 )
2025-05-29 12:01:51 -06:00
Bruno Quaresma
e0718a600e
feat: group external apps on task page ( #18107 )
...
https://github.com/user-attachments/assets/ac03f9ad-9b89-400b-aabe-fade2997319b
2025-05-29 14:10:27 -03:00
Bruno Quaresma
a85351f2bf
fix: fix usage of wrong attribute ( #18109 )
...
Caused by https://github.com/coder/coder/pull/18104
2025-05-29 14:02:34 -03:00
Bruno Quaresma
458780d059
fix: handle empty display_name on templates ( #18106 )
2025-05-29 13:13:15 -03:00
Bruno Quaresma
d06eff2b2f
feat: add view workspace button in task page ( #18105 )
...
<img width="1613" alt="Screenshot 2025-05-29 at 12 57 41"
src="https://github.com/user-attachments/assets/7ae199c2-7e36-47d2-84cc-d0ae820ff372 "
/>
2025-05-29 13:12:58 -03:00
Bruno Quaresma
d779126ee3
chore: rollback PR #18081 ( #18104 )
...
Rollback https://github.com/coder/coder/pull/18081
2025-05-29 13:12:13 -03:00
Jaayden Halko and Steven Masley
177bda3187
fix: autofill with workspace build parameters from the latest build ( #18091 )
...
Set the form parameters using autofill parameters based on the workspace
build parameters for the latest build
---------
Co-authored-by: Steven Masley <stevenmasley@gmail.com >
2025-05-29 11:24:55 -04:00
Bruno Quaresma
201b0b10e8
chore: simplify AgentRow interface ( #18087 )
2025-05-29 11:45:50 -03:00
Steven Masley
8387dd27ab
chore: add form_type parameter argument to db ( #17920 )
...
`form_type` is a new parameter field in the terraform provider. Bring
that field into coder/coder.
Validation for `multi-select` has also been added.
2025-05-29 08:55:19 -05:00
Bruno Quaresma
5f34d01906
refactor: replace MUI components and refactor styles ( #18082 )
...
**Before:**
<img width="1196" alt="Screenshot 2025-05-28 at 13 26 03"
src="https://github.com/user-attachments/assets/86c2830e-6777-441c-aedc-64fef472e369 "
/>
**After:**
<img width="1197" alt="Screenshot 2025-05-28 at 13 24 19"
src="https://github.com/user-attachments/assets/08e2dc4e-424a-43d8-a343-0ac8e03c9948 "
/>
2025-05-29 08:27:52 -03:00
Bruno Quaresma
69c90064a8
fix: rename build.workspace_owner_name to build.workspace_owner_username ( #18078 )
...
I forgot to update the the build logs to use username instead of name.
Introduced on: https://github.com/coder/coder/pull/18025
2025-05-29 06:52:25 -03:00
Hugo Dutka
bbf90611b3
fix: use owner username instead of owner name in tasks list links ( #18098 )
...
Fixes a bug where if you click on a task in the tasks list, you see:

2025-05-29 09:31:41 +00:00
Bruno Quaresma
2ec7404197
chore: make owner_name and owner_username consistent ( #18081 )
...
We've been using owner_name inconsistently as username. So this PR fixes
it by making the attribute naming more consistent.
2025-05-28 17:25:32 -03:00
Bruno Quaresma
bc3b8d5a51
feat: add task page ( #18076 )
...
**Demo:**

2025-05-28 15:19:05 -03:00
Atif Ali
6a2f22abf7
chore: add JetBrains icon ( #18073 )
2025-05-28 20:33:12 +05:00
Ethan
2bcbd9bdbd
fix(site): remove trailing comment from cursor.svg ( #18072 )
...
The trailing comment was preventing the SVG from rendering on Coder
Desktop macOS, with the SVG loader we use. I've moved it to a place
where it's apparently OK? Couldn't tell you why.
https://validator.w3.org/ had no complaints.
I tested this by hardcoding the icon to that served by a build of coder
with this new svg.

The first icon is without the trailing comment, the second is with.
2025-05-28 09:17:38 +02:00
Jaayden Halko
2ded3b59e9
chore: remove beta badges ( #18069 )
2025-05-27 16:48:02 -04:00
Steven Masley and Jaayden Halko
b4531c4218
feat: make dynamic parameters respect owner in form ( #18013 )
...
Closes https://github.com/coder/coder/issues/18012
---------
Co-authored-by: Jaayden Halko <jaayden.halko@gmail.com >
2025-05-27 15:43:00 -05:00
Jaayden Halko
5b9c40481f
feat: add form_type error ( #18067 )
...
Normally parameters had red text for error diagnostics. The goal here is
to make errors more obvious when the form_type is error meaning the
parameter could not be processed correctly.
<img width="543" alt="Screenshot 2025-05-27 at 18 35 50"
src="https://github.com/user-attachments/assets/2265553e-34a3-4526-8209-6253d541f784 "
/>
2025-05-27 15:35:11 -04:00
ケイラ
9fc3329575
feat: persist app groups in the database ( #17977 )
2025-05-27 13:13:08 -06:00
Mathias Fredriksson
a18eb9d08f
feat(site): allow recreating devcontainers and showing dirty status ( #18049 )
...
This change allows showing the devcontainer dirty status in the UI as
well as a recreate button to update the devcontainer.
Closes #16424
2025-05-27 19:42:24 +03:00
Jaayden Halko
23d14233bf
chore: hide classic workspace checkbox when experiment is not enabled ( #18061 )
...
resolves coder/preview#137
This hides the `Use classic workspace creation form` checkbox on the
template settings page if the dynamic-parameters experiment is not
enabled
Add mention of "workspace parameters settings form" in the checkbox
description as this is also affected.
2025-05-27 12:02:54 -04:00
Bruno Quaresma
d63417b542
fix: update WorkspaceOwnerName to use user.name instead of user.username ( #18025 )
...
We have been using the user.username instead of user.name in wrong
places, making it very confusing for the UI.
2025-05-27 11:42:07 -03:00
Bruno Quaresma
9827c97f32
feat: add AI Tasks page ( #18047 )
...
**Preview:**
<img width="1624" alt="Screenshot 2025-05-26 at 21 25 04"
src="https://github.com/user-attachments/assets/2a51915d-2527-4467-bf99-1f2d876b953b "
/>
2025-05-27 11:34:07 -03:00
Cian Johnston
ce134bc63a
fix: handle invalid provisioning timings in ui ( #18058 )
...
Relates to https://github.com/coder/coder/issues/15432
* Adds a storybook entry for zero values in provisioner timings.
* Coerces a 'zero' start time to an 'instant'.
* Improves timing chart handling for large timeframes. Previously, this
would have caused the tab to run out of memory when encountering a
`time.Time{}`.
* Render 'instants' as 'invalid' in timing chart.
2025-05-27 15:10:57 +01:00
Bruno Quaresma
5b90c69b90
chore: simplify workspace routing ( #17981 )
2025-05-27 11:05:47 -03:00
Michael Suchacz
01d144c56e
chore: update cursor icon to be an svg without binary data ( #18051 )
2025-05-27 14:15:33 +02:00
Bruno Quaresma
afaa20e166
chore: add proxy provider decorator for storybook ( #18023 )
2025-05-26 22:39:44 -03:00
dependabot[bot]
f678f921db
chore: bump undici from 6.21.1 to 6.21.2 in /site ( #17856 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 6.21.1 to 6.21.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/nodejs/undici/releases ">undici's
releases</a>.</em></p>
<blockquote>
<h2>v6.21.2</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(types): add missing DNS interceptor by <a
href="https://github.com/slagiewka "><code>@slagiewka</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/4024 ">nodejs/undici#4024</a></li>
<li>[v6.x] fix wpts on windows by <a
href="https://github.com/mcollina "><code>@mcollina</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/4093 ">nodejs/undici#4093</a></li>
<li>Removed clients with unrecoverable errors from the Pool <a
href="https://redirect.github.com/nodejs/undici/pull/4088 ">nodejs/undici#4088</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/slagiewka "><code>@slagiewka</code></a>
made their first contribution in <a
href="https://redirect.github.com/nodejs/undici/pull/4024 ">nodejs/undici#4024</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/nodejs/undici/compare/v6.21.1...v6.21.2 ">https://github.com/nodejs/undici/compare/v6.21.1...v6.21.2 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/nodejs/undici/commit/b63d939953fe20cfd6718e8eed437da983ac7b12 "><code>b63d939</code></a>
Bumped v6.21.2</li>
<li><a
href="https://github.com/nodejs/undici/commit/de1e4b8a39d102bb34155c3fdec3f18806b93d9c "><code>de1e4b8</code></a>
[v6.x] fix wpts on windows (<a
href="https://redirect.github.com/nodejs/undici/issues/4093 ">#4093</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/4e07dda835ffb2ff7a1b1323dd94c61b8feaa3c5 "><code>4e07dda</code></a>
test: fix windows wpt (<a
href="https://redirect.github.com/nodejs/undici/issues/4050 ">#4050</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/133387138c9158d3b6e9493833986c34837035ad "><code>1333871</code></a>
Removed clients with unrecoverable errors from the Pool (<a
href="https://redirect.github.com/nodejs/undici/issues/4088 ">#4088</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/a0e76c73a8ecb913beea7e2210e40d12b7c5cf69 "><code>a0e76c7</code></a>
fix(types): add missing DNS interceptor (<a
href="https://redirect.github.com/nodejs/undici/issues/4024 ">#4024</a>)</li>
<li>See full diff in <a
href="https://github.com/nodejs/undici/compare/v6.21.1...v6.21.2 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts page](https://github.com/coder/coder/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-26 19:41:27 +00:00
Susana Ferreira
6f6e73af03
feat: implement expiration policy logic for prebuilds ( #17996 )
...
## Summary
This PR introduces support for expiration policies in prebuilds. The TTL
(time-to-live) is retrieved from the Terraform configuration
([terraform-provider-coder
PR](https://github.com/coder/terraform-provider-coder/pull/404 )):
```
prebuilds = {
instances = 2
expiration_policy {
ttl = 86400
}
}
```
**Note**: Since there is no need for precise TTL enforcement down to the
second, in this implementation expired prebuilds are handled in a single
reconciliation cycle: they are deleted, and new instances are created
only if needed to match the desired count.
## Changes
* The outcome of a reconciliation cycle is now expressed as a slice of
reconciliation actions, instead of a single aggregated action.
* Adjusted reconciliation logic to delete expired prebuilds and
guarantee that the number of desired instances is correct.
* Updated relevant data structures and methods to support expiration
policies parameters.
* Added documentation to `Prebuilt workspaces` page
* Update `terraform-provider-coder` to version 2.5.0:
https://github.com/coder/terraform-provider-coder/releases/tag/v2.5.0
Depends on: https://github.com/coder/terraform-provider-coder/pull/404
Fixes: https://github.com/coder/coder/issues/17916
2025-05-26 20:31:24 +01:00
Bruno Quaresma
589f18627e
chore: update vite deps and simplify config ( #18036 )
2025-05-26 16:29:36 -03:00
Bruno Quaresma
c18169a402
chore: remove ts-prune ( #18037 )
...
We are using knip
2025-05-26 16:17:52 -03:00
Bruno Quaresma
aec64e0c73
chore: remove unused exports ( #18038 )
2025-05-26 16:17:21 -03:00
Bruno Quaresma
f3311400d1
chore: upgrade tanstack/react-query to 5.77.0 ( #18039 )
2025-05-26 16:16:55 -03:00
Mathias Fredriksson
0731304905
feat(agent/agentcontainers): recreate devcontainers concurrently ( #18042 )
...
This change introduces a refactor of the devcontainers recreation logic
which is now handled asynchronously rather than being request scoped.
The response was consequently changed from "No Content" to "Accepted" to
reflect this.
A new `Status` field was introduced to the devcontainer struct which
replaces `Running` (bool). This reflects that the devcontainer can now
be in various states (starting, running, stopped or errored).
The status field also protects against multiple concurrent recrations,
as long as they are initiated via the API.
Updates #16424
2025-05-26 18:30:52 +03:00
Bruno Quaresma
5cdda2ea7d
chore: replace date-fns by dayjs ( #18022 )
...
This change replaces date-fns with dayjs throughout the codebase for
more consistent date/time handling and to reduce bundle size. It also
tries to make the formatting and usage consistent.
**Why dayjs over date-fns?**
Just because we were using dayjs more broadly. Its formatting
capabilities, were also easier to extend.
2025-05-25 00:32:36 -03:00
Bruno Quaresma
70edc2403a
chore: remove chartjs ( #18016 )
...
- Remove ChartJS in favor of Recharts
- Migrate ActiveUserChart to use the new chart design
<img width="1624" alt="Screenshot 2025-05-23 at 15 00 03"
src="https://github.com/user-attachments/assets/5f451a88-f2ef-4139-a888-c0358eb8cf17 "
/>
2025-05-24 11:33:16 -03:00
Jaayden Halko
196eccb457
feat: add beta labels for dynamic params ( #17985 )
...
<img width="820" alt="Screenshot 2025-05-23 at 18 48 56"
src="https://github.com/user-attachments/assets/5b781501-3817-4be1-8143-f03f8cb88901 "
/>
<img width="790" alt="Screenshot 2025-05-23 at 18 48 32"
src="https://github.com/user-attachments/assets/541ad77e-fd37-4f52-ae2c-7b1f698c23fc "
/>
2025-05-23 15:51:31 -04:00
Jaayden Halko
ce4c8c7451
fix: prevent layout shift when Select component dropdown appears ( #17990 )
...
When scrollbars are always visible, open the dropdown for a `Select
`component causes a layout shift because of scrollbars being hidden when
the` Select` is open. This fix prevents the layout shift from the
scrollbar being removed.
https://github.com/user-attachments/assets/6b0aff70-c585-401b-911d-f0805b54903e
2025-05-23 15:51:14 -04:00
Jaayden Halko
516fb4489e
feat: display required badge instead of diagnostic text when extra code = required ( #18006 )
...
The tooltip hover uses the summary text from the diagnostic
<img width="562" alt="Screenshot 2025-05-23 at 12 51 51"
src="https://github.com/user-attachments/assets/2246abc7-dc1c-4dc2-8303-bee62d152e21 "
/>
2025-05-23 10:43:17 -04:00