feat: support links with custom icons (#11629)

This commit is contained in:
Marcin Tojek
2024-01-15 16:56:01 +01:00
committed by GitHub
parent 5c310ec334
commit f915bdf26c
8 changed files with 46 additions and 14 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ curl -X GET http://coder-server:8080/api/v2/appearance \
},
"support_links": [
{
"icon": "string",
"icon": "bug",
"name": "string",
"target": "string"
}
+1 -1
View File
@@ -343,7 +343,7 @@ curl -X GET http://coder-server:8080/api/v2/deployment/config \
"links": {
"value": [
{
"icon": "string",
"icon": "bug",
"name": "string",
"target": "string"
}
+14 -6
View File
@@ -717,7 +717,7 @@ _None_
{
"value": [
{
"icon": "string",
"icon": "bug",
"name": "string",
"target": "string"
}
@@ -1024,7 +1024,7 @@ _None_
},
"support_links": [
{
"icon": "string",
"icon": "bug",
"name": "string",
"target": "string"
}
@@ -2277,7 +2277,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
"links": {
"value": [
{
"icon": "string",
"icon": "bug",
"name": "string",
"target": "string"
}
@@ -2655,7 +2655,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
"links": {
"value": [
{
"icon": "string",
"icon": "bug",
"name": "string",
"target": "string"
}
@@ -3359,7 +3359,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
```json
{
"icon": "string",
"icon": "bug",
"name": "string",
"target": "string"
}
@@ -3373,6 +3373,14 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
| `name` | string | false | | |
| `target` | string | false | | |
#### Enumerated Values
| Property | Value |
| -------- | ------ |
| `icon` | `bug` |
| `icon` | `chat` |
| `icon` | `docs` |
## codersdk.LogLevel
```json
@@ -4455,7 +4463,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
"links": {
"value": [
{
"icon": "string",
"icon": "bug",
"name": "string",
"target": "string"
}