feat: add support buttons (#20339)

Fixes: https://github.com/coder/coder/issues/16804
This commit is contained in:
Marcin Tojek
2025-10-22 15:35:16 +02:00
committed by GitHub
parent aa689cbb39
commit f2a410566c
16 changed files with 237 additions and 73 deletions
+1
View File
@@ -120,6 +120,7 @@ curl -X GET http://coder-server:8080/api/v2/appearance \
"support_links": [
{
"icon": "bug",
"location": "navbar",
"name": "string",
"target": "string"
}
+1
View File
@@ -473,6 +473,7 @@ curl -X GET http://coder-server:8080/api/v2/deployment/config \
"value": [
{
"icon": "bug",
"location": "navbar",
"name": "string",
"target": "string"
}
+20 -10
View File
@@ -1110,6 +1110,7 @@
"support_links": [
{
"icon": "bug",
"location": "navbar",
"name": "string",
"target": "string"
}
@@ -3138,6 +3139,7 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
"value": [
{
"icon": "bug",
"location": "navbar",
"name": "string",
"target": "string"
}
@@ -3644,6 +3646,7 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
"value": [
{
"icon": "bug",
"location": "navbar",
"name": "string",
"target": "string"
}
@@ -4752,6 +4755,7 @@ Only certain features set these fields: - FeatureManagedAgentLimit|
```json
{
"icon": "bug",
"location": "navbar",
"name": "string",
"target": "string"
}
@@ -4759,19 +4763,23 @@ Only certain features set these fields: - FeatureManagedAgentLimit|
### Properties
| Name | Type | Required | Restrictions | Description |
|----------|--------|----------|--------------|-------------|
| `icon` | string | false | | |
| `name` | string | false | | |
| `target` | string | false | | |
| Name | Type | Required | Restrictions | Description |
|------------|--------|----------|--------------|-------------|
| `icon` | string | false | | |
| `location` | string | false | | |
| `name` | string | false | | |
| `target` | string | false | | |
#### Enumerated Values
| Property | Value |
|----------|--------|
| `icon` | `bug` |
| `icon` | `chat` |
| `icon` | `docs` |
| Property | Value |
|------------|------------|
| `icon` | `bug` |
| `icon` | `chat` |
| `icon` | `docs` |
| `icon` | `star` |
| `location` | `navbar` |
| `location` | `dropdown` |
## codersdk.ListInboxNotificationsResponse
@@ -7625,6 +7633,7 @@ Only certain features set these fields: - FeatureManagedAgentLimit|
"value": [
{
"icon": "bug",
"location": "navbar",
"name": "string",
"target": "string"
}
@@ -13685,6 +13694,7 @@ None
"value": [
{
"icon": "bug",
"location": "navbar",
"name": "string",
"target": "string"
}