feat: rich parameters: introduce display_name (#6919)

* model

* DB

* fix: DisplayName

* proto

* Proto

* Update go dep

* fixme

* fix format

* config

* fmt

* fix

* Fix

* fix

* chore(UI): redirecting from workspace page if 404 (#6880)

* model

* CLI: Display parameter

* fix

* update dep

* fix

* fix

* fix

* UI changes

* fmt

---------

Co-authored-by: Kira Pilot <kira@coder.com>
This commit is contained in:
Marcin Tojek
2023-04-03 14:37:47 +02:00
committed by GitHub
co-authored by Kira Pilot
parent d9d44c1188
commit 633dfbdb2e
25 changed files with 370 additions and 297 deletions
+2
View File
@@ -3888,6 +3888,7 @@ Parameter represents a set value for the scope.
"default_value": "string",
"description": "string",
"description_plaintext": "string",
"display_name": "string",
"icon": "string",
"legacy_variable_name": "string",
"mutable": true,
@@ -3917,6 +3918,7 @@ Parameter represents a set value for the scope.
| `default_value` | string | false | | |
| `description` | string | false | | |
| `description_plaintext` | string | false | | |
| `display_name` | string | false | | |
| `icon` | string | false | | |
| `legacy_variable_name` | string | false | | |
| `mutable` | boolean | false | | |
+2
View File
@@ -2301,6 +2301,7 @@ curl -X GET http://coder-server:8080/api/v2/templateversions/{templateversion}/r
"default_value": "string",
"description": "string",
"description_plaintext": "string",
"display_name": "string",
"icon": "string",
"legacy_variable_name": "string",
"mutable": true,
@@ -2340,6 +2341,7 @@ Status Code **200**
| `» default_value` | string | false | | |
| `» description` | string | false | | |
| `» description_plaintext` | string | false | | |
| `» display_name` | string | false | | |
| `» icon` | string | false | | |
| `» legacy_variable_name` | string | false | | |
| `» mutable` | boolean | false | | |