feat(sessions): add detail page, Notification component, and session API improvements
- add SessionDetailPage with breadcrumbs, DescriptionList, status badge, masked token - add Notification component (info/success/error/warning/note variants) for contextual messages - use Notification for 404 errors on session and environment detail pages - add GET /sessions/:id endpoint; sanitize token (head…tail) and strip cookies/localStorage - change DELETE /sessions/:id to return 204 No Content so client redirect works correctly - add onRowClick prop to Table for clickable rows; stop propagation on actions column - update status badges: open=success (green), closed=error (red) on both list and detail
This commit is contained in:
@@ -36,6 +36,17 @@
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.codeInline {
|
||||
font-family: var(--font-mono, ui-monospace, monospace);
|
||||
font-size: 0.85em;
|
||||
padding: 0.15em 0.45em;
|
||||
background: var(--color-code-bg, color-mix(in srgb, var(--color-bg-raised) 60%, var(--color-secondary) 40%));
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-sm);
|
||||
color: var(--color-secondary-fg);
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
/* ── Environment cards ──────────────────────────────────────── */
|
||||
|
||||
.envGrid {
|
||||
|
||||
Reference in New Issue
Block a user