Merge origin/main (#990, #991) into feat/admin-errors-ux; link users as id:<_id>, rebuild bundles

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Thomas DurieuxandClaude Opus 5.5 committed 2026-11-29 13:39:52 +00:00
commit c91e662034
47 files changed
+4699 -375

No files matched your search

+2 -1
View File
@@ -128,7 +128,8 @@ function installFormatters(state) {
state.errStatusClass = status => Number(status) >= 500 ? "is-error" : Number(status) >= 400 ? "is-warn" : "is-neutral";
state.errIssueHref = (id, extra = "") => `/admin/errors?issue=${encodeURIComponent(id)}${extra}`;
state.errRepoHref = id => `/admin/repositories?search=${encodeURIComponent(id)}`;
state.errUserHref = id => `/admin/users/${encodeURIComponent(id)}`;
// Log records carry the internal _id; the admin user page takes it as "id:<_id>".
state.errUserHref = id => `/admin/users/id:${encodeURIComponent(id)}`;
state.errTrendMax = trend => Math.max(1, ...(trend || [0]));
state.viewerLabel = viewerLabel;
}