chore: enable coder inbox by default (#17077)

Add a flag to enable Coder Inbox by default, as well as supporting disabling the feature.
This commit is contained in:
Danielle Maywood
2025-03-25 12:51:26 +00:00
committed by GitHub
parent 5f3a53f01b
commit cd19e79d9b
15 changed files with 260 additions and 42 deletions

16
coderd/apidoc/docs.go generated
View File

@ -12658,6 +12658,14 @@ const docTemplate = `{
"description": "How often to query the database for queued notifications.",
"type": "integer"
},
"inbox": {
"description": "Inbox settings.",
"allOf": [
{
"$ref": "#/definitions/codersdk.NotificationsInboxConfig"
}
]
},
"lease_count": {
"description": "How many notifications a notifier should lease per fetch interval.",
"type": "integer"
@ -12783,6 +12791,14 @@ const docTemplate = `{
}
}
},
"codersdk.NotificationsInboxConfig": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
}
},
"codersdk.NotificationsSettings": {
"type": "object",
"properties": {