feat(web): show monitors as a group tree and limit roles to groups

The dashboard nests groups with an aggregated status, the monitor editor
offers the groups one may write to, a page manages groups, and members
can be assigned roles limited to a group or a status page. Settings move
to their own page to keep the navigation short.

Closes #57

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-22 09:19:55 +01:00
1 parent 11482ec6d5
commit b3f19e20ad
12 files changed
+2727 -1627

No files matched your search

+9
View File
@@ -38,6 +38,15 @@
continue;
}
if (el.disabled) continue;
// "<resource_type>:<id>" limits an assignment to one resource.
if (el.dataset.scope !== undefined) {
const [type, id] = el.value.split(":");
if (id) {
set("resource_type", type);
set("resource_id", id);
}
continue;
}
if (el.type === "checkbox") set(el.name, el.checked);
else if (el.dataset.number !== undefined) set(el.name, Number(el.value));
else if (el.dataset.nullable !== undefined) set(el.name, el.value || null);