feat: maintenance windows and Markdown descriptions
Monitors and groups get one-off or recurring maintenance. While it is in progress, failures neither open incidents nor alert, so the SLA is not affected; successes still resolve earlier incidents. The console shows monitors under maintenance and lists windows on a new page and on monitor pages. Status pages announce maintenance in progress and planned for the next two weeks and mark affected components; the occurrences are part of the snapshot and evaluated when the page is shown, so this also works from cache during an API outage. Maintenance and status page descriptions are rendered as Markdown. Closes #71 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
259b3b8e05
commit
43b0a35f20
28 files changed
+3918
-894
No files matched your search
@@ -106,7 +106,8 @@ templ StatusPageEditor(p Page, me Me, e PageEditor) {
|
||||
@valueField(i18n.T(ctx, "pages.slug"), "slug", e.Slug, "", true)
|
||||
<label class="mb-4 block">
|
||||
<span class="mb-1 block text-xs font-medium uppercase tracking-wider text-muted">{ i18n.T(ctx, "pages.description") }</span>
|
||||
<textarea name="description" rows="3" class="w-full border border-rule bg-transparent px-2.5 py-1.5 outline-none focus:border-ink">{ e.Description }</textarea>
|
||||
<textarea name="description" rows="4" maxlength="10000" class="w-full border border-rule bg-transparent px-2.5 py-1.5 font-mono text-xs outline-none focus:border-ink">{ e.Description }</textarea>
|
||||
<span class="mt-1 block text-xs text-muted">{ i18n.T(ctx, "common.markdown_hint") }</span>
|
||||
</label>
|
||||
@checkbox(i18n.T(ctx, "pages.published"), "published", e.Published)
|
||||
<h3 class="mt-6 mb-3 text-xs font-medium uppercase tracking-wider text-muted">{ i18n.T(ctx, "pages.theme") }</h3>
|
||||
|
||||
Reference in new issue
Block a user