- Notifications
You must be signed in to change notification settings - Fork1k
Commit0672bf5
authored
feat: support icon and description in preset (#18977)
## Description This PR adds support for `description` and `icon` fields to`template_version_presets`. These fields will allow displaying richerinformation for presets in the UI, improving the user experience whencreating a workspace.Both fields are optional, non-nullable, and default to empty strings.## Changes* Database migration with the addition of `description VARCHAR(128)` and`icon VARCHAR(256)` columns to the `template_version_presets` table.* Updated the `CreateWorkspacePageView` in the UINote: UI changes will be addressed in a separate PR1 parent58123e1 commit0672bf5
File tree
24 files changed
+704
-576
lines changed- cli/testdata
- coderd
- apidoc
- database
- dbfake
- dbgen
- migrations
- queries
- provisionerdserver
- codersdk
- docs/reference/api
- provisionerd/proto
- provisionersdk/proto
- provisioner/terraform
- site
- e2e
- src
- api
- pages/CreateWorkspacePage
- testHelpers
24 files changed
+704
-576
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
417 | 417 |
| |
418 | 418 |
| |
419 | 419 |
| |
| 420 | + | |
| 421 | + | |
420 | 422 |
| |
421 | 423 |
| |
422 | 424 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1392 | 1392 |
| |
1393 | 1393 |
| |
1394 | 1394 |
| |
| 1395 | + | |
| 1396 | + | |
1395 | 1397 |
| |
1396 | 1398 |
| |
1397 | 1399 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + |
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)