feat(console): set an incident's status right in the incident list
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 12m19s
ci / test (pull_request) Successful in 12m58s
ci / build (pull_request) Successful in 15m32s
ci / image (pull_request) Successful in 4m29s

Each row of the incident list offers "Set status" to those who may write
the monitor's incidents: a status (built-in or own, the next one
preselected), an optional message and whether it shows on status pages.
An update may now just change the status, without a message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-23 23:57:05 +01:00
1 parent 2409a919c3
commit 437b6e934f
9 files changed
+1966 -1693

No files matched your search

@@ -0,0 +1,9 @@
-- +goose Up
-- An update may just change the status, without a message.
ALTER TABLE incident_updates DROP CONSTRAINT incident_updates_message_check;
ALTER TABLE incident_updates ADD CONSTRAINT incident_updates_message_check CHECK (length(message) <= 5000);
-- +goose Down
UPDATE incident_updates SET message = '–' WHERE message = '';
ALTER TABLE incident_updates DROP CONSTRAINT incident_updates_message_check;
ALTER TABLE incident_updates ADD CONSTRAINT incident_updates_message_check CHECK (length(message) BETWEEN 1 AND 5000);