chore(codersdk): deprecate WorkspaceAppStatus.{NeedsUserAttention,Icon} (#17358)

https://github.com/coder/coder/pull/17163 introduced the
`workspace_app_statuses` table. Two of these fields
(`needs_user_attention`, `icon`) turned out to be surplus to
requirements.

- Removes columns `needs_user_attention` and `icon` from
`workspace_app_statuses`
- Marks the corresponding fields of `codersdk.WorkspaceAppStatus` as
deprecated.
This commit is contained in:
Cian Johnston
2025-04-15 10:47:42 +01:00
committed by GitHub
parent 95f03c561f
commit 979687c37f
21 changed files with 119 additions and 129 deletions
+4 -1
View File
@@ -10242,12 +10242,14 @@ const docTemplate = `{
"type": "string"
},
"icon": {
"description": "Deprecated: this field is unused and will be removed in a future version.",
"type": "string"
},
"message": {
"type": "string"
},
"needs_user_attention": {
"description": "Deprecated: this field is unused and will be removed in a future version.",
"type": "boolean"
},
"state": {
@@ -16925,7 +16927,7 @@ const docTemplate = `{
"format": "date-time"
},
"icon": {
"description": "Icon is an external URL to an icon that will be rendered in the UI.",
"description": "Deprecated: This field is unused and will be removed in a future version.\nIcon is an external URL to an icon that will be rendered in the UI.",
"type": "string"
},
"id": {
@@ -16936,6 +16938,7 @@ const docTemplate = `{
"type": "string"
},
"needs_user_attention": {
"description": "Deprecated: This field is unused and will be removed in a future version.\nNeedsUserAttention specifies whether the status needs user attention.",
"type": "boolean"
},
"state": {
+4 -1
View File
@@ -9079,12 +9079,14 @@
"type": "string"
},
"icon": {
"description": "Deprecated: this field is unused and will be removed in a future version.",
"type": "string"
},
"message": {
"type": "string"
},
"needs_user_attention": {
"description": "Deprecated: this field is unused and will be removed in a future version.",
"type": "boolean"
},
"state": {
@@ -15444,7 +15446,7 @@
"format": "date-time"
},
"icon": {
"description": "Icon is an external URL to an icon that will be rendered in the UI.",
"description": "Deprecated: This field is unused and will be removed in a future version.\nIcon is an external URL to an icon that will be rendered in the UI.",
"type": "string"
},
"id": {
@@ -15455,6 +15457,7 @@
"type": "string"
},
"needs_user_attention": {
"description": "Deprecated: This field is unused and will be removed in a future version.\nNeedsUserAttention specifies whether the status needs user attention.",
"type": "boolean"
},
"state": {