feat(site): display user avatar (#11893)

* add owner API to workspace and workspace build responses
* display user avatar in workspace top bar

Co-authored-by: Cian Johnston <cian@coder.com>
This commit is contained in:
Bruno Quaresma
2024-01-30 14:07:06 -03:00
committed by GitHub
parent 83eea2d323
commit dcab6fa5a4
18 changed files with 216 additions and 105 deletions

6
coderd/apidoc/docs.go generated
View File

@ -12079,6 +12079,9 @@ const docTemplate = `{
"outdated": {
"type": "boolean"
},
"owner_avatar_url": {
"type": "string"
},
"owner_id": {
"type": "string",
"format": "uuid"
@ -12656,6 +12659,9 @@ const docTemplate = `{
"workspace_name": {
"type": "string"
},
"workspace_owner_avatar_url": {
"type": "string"
},
"workspace_owner_id": {
"type": "string",
"format": "uuid"

View File

@ -10953,6 +10953,9 @@
"outdated": {
"type": "boolean"
},
"owner_avatar_url": {
"type": "string"
},
"owner_id": {
"type": "string",
"format": "uuid"
@ -11501,6 +11504,9 @@
"workspace_name": {
"type": "string"
},
"workspace_owner_avatar_url": {
"type": "string"
},
"workspace_owner_id": {
"type": "string",
"format": "uuid"