@leitwerk-dev/ui 0.1.8 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ApiTokensPage-B15IzsLp.css +1 -0
- package/dist/assets/ApiTokensPage-ClJp9PYr.js +1 -0
- package/dist/assets/ChronicleMarkdown-lqwX9Ywa.js +16 -0
- package/dist/assets/ChronicleMarkdown-wsUF8Z75.css +1 -0
- package/dist/assets/FutureLaunchDetailPage-BOoZaG11.css +1 -0
- package/dist/assets/FutureLaunchDetailPage-Bdlgm4cJ.js +1 -0
- package/dist/assets/GenericLauncher-Bf7Eb1Rw.js +1 -0
- package/dist/assets/GenericLauncher-CExW6wei.css +1 -0
- package/dist/assets/HomePage-4Q7aqPBl.css +1 -0
- package/dist/assets/HomePage-CSkNdC4m.js +1 -0
- package/dist/assets/PageHeader-DPuQInDo.css +1 -0
- package/dist/assets/PageHeader-sphJnWL1.js +1 -0
- package/dist/assets/ProcessActionsMenu-DLMywI9c.js +1 -0
- package/dist/assets/ProcessActionsMenu-VKT7PE6z.css +1 -0
- package/dist/assets/ProcessDetailPage-Cth6A0DN.css +1 -0
- package/dist/assets/ProcessDetailPage-fvvdvO19.js +14 -0
- package/dist/assets/ProcessFlowDiagram-Dx2wheGN.js +2 -0
- package/dist/assets/ProcessesPage-uLl7LXp8.js +1 -0
- package/dist/assets/ProcessesPage-yPjjrzjg.css +1 -0
- package/dist/assets/ScheduleDateTimePicker-DmojMRxN.js +1 -0
- package/dist/assets/{ScheduleDateTimePicker-CadXN9z7.css → ScheduleDateTimePicker-uacJAkIq.css} +1 -1
- package/dist/assets/SkillsPage-CJrtt8xU.css +1 -0
- package/dist/assets/SkillsPage-CotbGUxm.js +2 -0
- package/dist/assets/WatchersPage-ByWGNJet.js +1 -0
- package/dist/assets/WatchersPage-cRBnmTAD.css +1 -0
- package/dist/assets/external-links-CX92-VRP.js +1 -0
- package/dist/assets/http-client-VpPXJwbR.js +2 -0
- package/dist/assets/index-C7zNe3je.js +6 -0
- package/dist/assets/index-DtEI5gsQ.css +1 -0
- package/dist/assets/index-client-BYQviCtQ.js +2 -0
- package/dist/assets/{mermaid-render.worker-DAVgiVRG.js → mermaid-render.worker-QW2WZpEE.js} +12 -12
- package/dist/assets/process-terminal-display-BQRQwGod.js +1 -0
- package/dist/assets/router.svelte-EEldxHlO.js +1 -0
- package/dist/index.html +8 -8
- package/package.json +8 -8
- package/src/App.svelte +41 -2
- package/src/chronicle/components/ChronicleActionSection.svelte +70 -143
- package/src/chronicle/components/ChronicleCreateIssueButton.svelte +22 -0
- package/src/chronicle/components/ChronicleEntryHeader.svelte +76 -0
- package/src/chronicle/components/ChronicleExpandButton.svelte +11 -34
- package/src/chronicle/components/ChronicleFailureMessage.svelte +41 -0
- package/src/chronicle/components/ChronicleFlow.svelte +135 -28
- package/src/chronicle/components/ChronicleLeafOutcomeRendererHost.svelte +1 -8
- package/src/chronicle/components/ChronicleLeafOutcomeSection.svelte +25 -52
- package/src/chronicle/components/ChronicleLiveChip.svelte +1 -35
- package/src/chronicle/components/ChronicleLiveTail.svelte +55 -154
- package/src/chronicle/components/ChronicleMarkdown.svelte +6 -6
- package/src/chronicle/components/ChronicleOperatorInputSection.svelte +5 -18
- package/src/chronicle/components/ChronicleProcessErrorSection.svelte +10 -107
- package/src/chronicle/components/ChroniclePromptSection.svelte +6 -26
- package/src/chronicle/components/ChronicleQuestionRequest.svelte +22 -5
- package/src/chronicle/components/ChronicleReasoningDetailsOverlay.svelte +71 -109
- package/src/chronicle/components/ChronicleRecoverySection.svelte +99 -262
- package/src/chronicle/components/ChronicleScheduledActionSection.svelte +1 -1
- package/src/chronicle/components/ChronicleSectionHeader.svelte +1 -4
- package/src/chronicle/components/ChronicleStartupHistory.svelte +63 -0
- package/src/chronicle/components/ChronicleStartupRecoverySection.svelte +10 -26
- package/src/chronicle/components/ChronicleThinkingSection.svelte +25 -165
- package/src/chronicle/components/ChronicleThinkingText.svelte +1 -0
- package/src/chronicle/components/ChronicleToolApproval.svelte +40 -0
- package/src/chronicle/components/ChronicleToolCallItem.svelte +1 -1
- package/src/chronicle/components/ChronicleTurnCluster.svelte +209 -282
- package/src/chronicle/components/ChronicleTurnDetailsButton.svelte +16 -0
- package/src/chronicle/components/ChronicleTurnProgress.svelte +94 -0
- package/src/chronicle/components/ChronicleTurnRail.svelte +339 -394
- package/src/chronicle/components/CompactActionComposer.svelte +36 -13
- package/src/chronicle/components/ReadonlyJsonValue.svelte +30 -0
- package/src/chronicle/lib/action-bindings.ts +1 -1
- package/src/chronicle/lib/action-model-display.ts +2 -2
- package/src/chronicle/lib/action-preview.ts +1 -1
- package/src/chronicle/lib/chronicle-projection.ts +135 -108
- package/src/chronicle/lib/chronicle-rail-groups.ts +158 -0
- package/src/chronicle/lib/chronicle-selectable-items.ts +16 -11
- package/src/chronicle/lib/chronicle-ticket-artifact.ts +7 -0
- package/src/chronicle/lib/formatting.ts +19 -0
- package/src/chronicle/lib/leaf-outcome-loader.ts +30 -111
- package/src/chronicle/lib/leaf-outcome-runtime.ts +3 -15
- package/src/chronicle/lib/result-presentation.ts +40 -0
- package/src/chronicle/lib/retry-groups.ts +24 -0
- package/src/chronicle/lib/scroll-sync.ts +1 -0
- package/src/chronicle/lib/tool-call-summary.ts +1 -9
- package/src/chronicle/ticket-selection.ts +23 -0
- package/src/components/ElapsedTime.svelte +31 -0
- package/src/components/ExternalLink.svelte +39 -0
- package/src/components/FormFieldRenderer.svelte +4 -1
- package/src/components/GenericLauncher.svelte +40 -15
- package/src/components/KeyboardShortcutsModal.svelte +2 -2
- package/src/components/LaunchChecklist.svelte +184 -0
- package/src/components/ModalShell.svelte +49 -15
- package/src/components/PageHeader.svelte +36 -35
- package/src/components/ProcessActionsMenu.svelte +247 -138
- package/src/components/ProcessInfoOverlay.svelte +13 -21
- package/src/components/ProgressChecklist.svelte +46 -0
- package/src/components/ProgressChecklistRows.svelte +80 -0
- package/src/components/launcher-form-copy.ts +4 -1
- package/src/components/launcher-model-config.ts +1 -1
- package/src/extension-ui-dev-server.ts +2 -5
- package/src/lib/api-tokens.ts +34 -0
- package/src/lib/api.ts +330 -455
- package/src/lib/elapsed-time.ts +19 -0
- package/src/lib/external-links.ts +81 -0
- package/src/lib/flow-layout.ts +1 -8
- package/src/lib/format.ts +3 -26
- package/src/lib/future-launch-detail.ts +1 -1
- package/src/lib/http-client.ts +79 -0
- package/src/lib/launch-updates.ts +17 -0
- package/src/lib/markdown.ts +8 -1
- package/src/lib/primary-path-detail.ts +97 -3
- package/src/lib/primary-path-replay.ts +13 -7
- package/src/lib/process-row-view.ts +1 -1
- package/src/lib/process-terminal-display.ts +4 -7
- package/src/lib/processes.svelte.ts +41 -9
- package/src/lib/reasoning-history.ts +95 -0
- package/src/lib/retry-config.svelte.ts +1 -1
- package/src/lib/rich-markdown-elements.ts +2 -2
- package/src/lib/router-logic.ts +3 -0
- package/src/lib/runtime-config.ts +1 -3
- package/src/lib/test-fixtures.ts +1 -1
- package/src/lib/tool-call-rendering.ts +4 -1
- package/src/lib/ui-extensions.svelte.ts +78 -127
- package/src/lib/ws-classifier.ts +8 -1
- package/src/pages/ApiTokensPage.svelte +213 -0
- package/src/pages/FutureLaunchDetailPage.svelte +8 -38
- package/src/pages/HomePage.svelte +8 -11
- package/src/pages/ProcessCard.svelte +1 -1
- package/src/pages/ProcessDetailPage.svelte +161 -62
- package/src/pages/ProcessGallery.svelte +1 -3
- package/src/pages/ProcessesPage.svelte +7 -42
- package/src/pages/SkillsPage.svelte +32 -24
- package/src/pages/WatchersPage.svelte +31 -55
- package/src/pages/process-detail/ProcessDetailChronicle.svelte +415 -19
- package/src/pages/process-detail/ProcessDetailHeader.svelte +66 -25
- package/src/pages/process-detail/ProcessSummary.svelte +35 -0
- package/src/pages/process-detail/TicketCreationComposer.svelte +219 -0
- package/src/pages/process-detail/process-detail-action-drafts.svelte.ts +5 -5
- package/src/pages/process-detail/process-detail-actions.svelte.ts +4 -2
- package/src/pages/process-detail/process-detail-chronicle-dom.ts +39 -14
- package/src/pages/process-detail/process-detail-chronicle-scroll.svelte.ts +68 -10
- package/src/pages/process-detail/process-detail-view-model.ts +10 -23
- package/src/shell/AppShell.svelte +260 -6
- package/src/shell/RouteLoadBoundary.svelte +48 -12
- package/src/shell/Sidebar.svelte +304 -172
- package/src/styles/controls.css +188 -0
- package/dist/assets/ChronicleMarkdown-D6hFzERy.css +0 -1
- package/dist/assets/ChronicleMarkdown-iH1VLv7x.js +0 -16
- package/dist/assets/FutureLaunchDetailPage-BJphZBFH.js +0 -1
- package/dist/assets/FutureLaunchDetailPage-VPMBtpYc.css +0 -1
- package/dist/assets/GenericLauncher-D_GMtsQ5.css +0 -1
- package/dist/assets/GenericLauncher-tr1to52a.js +0 -1
- package/dist/assets/HomePage-CSHVQefI.js +0 -1
- package/dist/assets/HomePage-DYh_QHXv.css +0 -1
- package/dist/assets/PageHeader-6PdvYODN.css +0 -1
- package/dist/assets/PageHeader-C4j3zJKF.js +0 -1
- package/dist/assets/ProcessActionsMenu-BT2r9vO8.css +0 -1
- package/dist/assets/ProcessActionsMenu-gNiZGUCZ.js +0 -1
- package/dist/assets/ProcessDetailPage-CGyVxjeH.js +0 -12
- package/dist/assets/ProcessDetailPage-CSrjzajF.css +0 -1
- package/dist/assets/ProcessFlowDiagram-BX_Zjm2n.js +0 -2
- package/dist/assets/ProcessesPage-BcM38HMs.css +0 -1
- package/dist/assets/ProcessesPage-D3jjufse.js +0 -1
- package/dist/assets/ScheduleDateTimePicker-D72J6EhE.js +0 -1
- package/dist/assets/SkillsPage-B30FAFia.css +0 -1
- package/dist/assets/SkillsPage-CcYm4ATy.js +0 -2
- package/dist/assets/WatchersPage-Bac86WLp.js +0 -1
- package/dist/assets/WatchersPage-Dnfi1zUK.css +0 -1
- package/dist/assets/api-HGtUzekR.js +0 -1
- package/dist/assets/dist-DVNpSD5l.js +0 -2
- package/dist/assets/index-66T4Gmbl.css +0 -1
- package/dist/assets/index-ChVsVf6R.js +0 -7
- package/dist/assets/index-client-BqF3_t3P.js +0 -2
- package/dist/assets/retry-config.svelte-DFKCJtCe.js +0 -1
- package/dist/assets/router.svelte-C2wi6I7k.js +0 -1
- package/src/lib/process-initial-prompt.ts +0 -7
package/src/shell/Sidebar.svelte
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type {
|
|
2
|
+
import type { Actor } from "@leitwerk-dev/domain";
|
|
3
|
+
import { type FutureActionSummary, type FutureExecutionSummary, logout } from "../lib/api.js";
|
|
3
4
|
|
|
4
|
-
import { formatLocalDateTime, formatLocalDateTime24Hour } from "../lib/format.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
formatLocalDateTime,
|
|
7
|
+
formatLocalDateTime24Hour,
|
|
8
|
+
formatRelativeTime,
|
|
9
|
+
} from "../lib/format.js";
|
|
10
|
+
import { openKeyboardShortcutHelp } from "../lib/keyboard-shortcuts-help.js";
|
|
9
11
|
import type { ProcessRowView } from "../lib/process-row-view.js";
|
|
10
12
|
import {
|
|
11
13
|
futureExecutions,
|
|
@@ -28,11 +30,19 @@ import { wsStore } from "../lib/ws.svelte";
|
|
|
28
30
|
|
|
29
31
|
interface Props {
|
|
30
32
|
currentRoute: Route;
|
|
33
|
+
authEnabled: boolean;
|
|
34
|
+
actor: Actor;
|
|
35
|
+
onLoggedOut?: () => void;
|
|
31
36
|
}
|
|
32
37
|
|
|
33
38
|
const collapseBreakpointPx = 960;
|
|
34
39
|
|
|
35
|
-
let {
|
|
40
|
+
let {
|
|
41
|
+
currentRoute,
|
|
42
|
+
authEnabled,
|
|
43
|
+
actor,
|
|
44
|
+
onLoggedOut = () => window.location.assign("/"),
|
|
45
|
+
}: Props = $props();
|
|
36
46
|
|
|
37
47
|
const homePath = buildHomePath();
|
|
38
48
|
const processesPath = buildProcessesPath();
|
|
@@ -61,6 +71,9 @@ let observedReconnectCount = $state<number | null>(null);
|
|
|
61
71
|
let sidebarCollapsed = $state(false);
|
|
62
72
|
let currentProcessesPopoverOpen = $state(false);
|
|
63
73
|
let futureExecutionsPopoverOpen = $state(false);
|
|
74
|
+
let userPopoverOpen = $state(false);
|
|
75
|
+
let logoutPending = $state(false);
|
|
76
|
+
let logoutError = $state<string | null>(null);
|
|
64
77
|
let collapseSupported = $state(
|
|
65
78
|
typeof window === "undefined" ? true : window.innerWidth > collapseBreakpointPx,
|
|
66
79
|
);
|
|
@@ -69,6 +82,8 @@ let currentProcessesTriggerRef = $state<HTMLButtonElement | null>(null);
|
|
|
69
82
|
let currentProcessesPopoverRef = $state<HTMLDivElement | null>(null);
|
|
70
83
|
let futureExecutionsTriggerRef = $state<HTMLButtonElement | null>(null);
|
|
71
84
|
let futureExecutionsPopoverRef = $state<HTMLDivElement | null>(null);
|
|
85
|
+
let userTriggerRef = $state<HTMLButtonElement | null>(null);
|
|
86
|
+
let userPopoverRef = $state<HTMLDivElement | null>(null);
|
|
72
87
|
|
|
73
88
|
const connectionIssue = $derived.by(() => {
|
|
74
89
|
if ($listState.error) {
|
|
@@ -94,6 +109,7 @@ const futureExecutionsControlActive = $derived(
|
|
|
94
109
|
effectiveSidebarCollapsed &&
|
|
95
110
|
(futureExecutionsPopoverOpen || currentRoute.page === "future-launch-detail"),
|
|
96
111
|
);
|
|
112
|
+
const userName = $derived(authEnabled ? (actor.displayName ?? actor.id) : "Anonymous");
|
|
97
113
|
|
|
98
114
|
$effect(() => {
|
|
99
115
|
const reconnectCount = $wsStore.reconnectCount;
|
|
@@ -127,6 +143,7 @@ $effect(() => {
|
|
|
127
143
|
sidebarCollapsed = false;
|
|
128
144
|
currentProcessesPopoverOpen = false;
|
|
129
145
|
futureExecutionsPopoverOpen = false;
|
|
146
|
+
userPopoverOpen = false;
|
|
130
147
|
});
|
|
131
148
|
|
|
132
149
|
$effect(() => {
|
|
@@ -135,6 +152,7 @@ $effect(() => {
|
|
|
135
152
|
}
|
|
136
153
|
currentProcessesPopoverOpen = false;
|
|
137
154
|
futureExecutionsPopoverOpen = false;
|
|
155
|
+
userPopoverOpen = false;
|
|
138
156
|
});
|
|
139
157
|
|
|
140
158
|
$effect(() => {
|
|
@@ -145,10 +163,11 @@ $effect(() => {
|
|
|
145
163
|
observedRouteKey = routeKey;
|
|
146
164
|
currentProcessesPopoverOpen = false;
|
|
147
165
|
futureExecutionsPopoverOpen = false;
|
|
166
|
+
userPopoverOpen = false;
|
|
148
167
|
});
|
|
149
168
|
|
|
150
169
|
$effect(() => {
|
|
151
|
-
if (!currentProcessesPopoverOpen && !futureExecutionsPopoverOpen) {
|
|
170
|
+
if (!currentProcessesPopoverOpen && !futureExecutionsPopoverOpen && !userPopoverOpen) {
|
|
152
171
|
return;
|
|
153
172
|
}
|
|
154
173
|
|
|
@@ -157,22 +176,26 @@ $effect(() => {
|
|
|
157
176
|
if (!target) {
|
|
158
177
|
currentProcessesPopoverOpen = false;
|
|
159
178
|
futureExecutionsPopoverOpen = false;
|
|
179
|
+
userPopoverOpen = false;
|
|
160
180
|
return;
|
|
161
181
|
}
|
|
162
182
|
if (
|
|
163
183
|
currentProcessesPopoverRef?.contains(target) ||
|
|
164
|
-
futureExecutionsPopoverRef?.contains(target)
|
|
184
|
+
futureExecutionsPopoverRef?.contains(target) ||
|
|
185
|
+
userPopoverRef?.contains(target)
|
|
165
186
|
) {
|
|
166
187
|
return;
|
|
167
188
|
}
|
|
168
189
|
if (
|
|
169
190
|
currentProcessesTriggerRef?.contains(target) ||
|
|
170
|
-
futureExecutionsTriggerRef?.contains(target)
|
|
191
|
+
futureExecutionsTriggerRef?.contains(target) ||
|
|
192
|
+
userTriggerRef?.contains(target)
|
|
171
193
|
) {
|
|
172
194
|
return;
|
|
173
195
|
}
|
|
174
196
|
currentProcessesPopoverOpen = false;
|
|
175
197
|
futureExecutionsPopoverOpen = false;
|
|
198
|
+
userPopoverOpen = false;
|
|
176
199
|
};
|
|
177
200
|
|
|
178
201
|
const handleDocumentKeydown = (event: KeyboardEvent) => {
|
|
@@ -181,9 +204,12 @@ $effect(() => {
|
|
|
181
204
|
}
|
|
182
205
|
const focusTarget = currentProcessesPopoverOpen
|
|
183
206
|
? currentProcessesTriggerRef
|
|
184
|
-
:
|
|
207
|
+
: futureExecutionsPopoverOpen
|
|
208
|
+
? futureExecutionsTriggerRef
|
|
209
|
+
: userTriggerRef;
|
|
185
210
|
currentProcessesPopoverOpen = false;
|
|
186
211
|
futureExecutionsPopoverOpen = false;
|
|
212
|
+
userPopoverOpen = false;
|
|
187
213
|
focusTarget?.focus();
|
|
188
214
|
};
|
|
189
215
|
|
|
@@ -221,10 +247,6 @@ function stateKind(row: ProcessRowView): string {
|
|
|
221
247
|
}
|
|
222
248
|
}
|
|
223
249
|
|
|
224
|
-
function metaLine(row: ProcessRowView): string {
|
|
225
|
-
return row.turnLabel ? `${row.turnLabel} · ${row.processDisplayName}` : row.processDisplayName;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
250
|
function futurePath(item: FutureExecutionSummary): string {
|
|
229
251
|
if (item.kind === "action") {
|
|
230
252
|
return processPath(item.instanceId);
|
|
@@ -289,19 +311,23 @@ function openFutureItem(item: FutureExecutionSummary, event: MouseEvent) {
|
|
|
289
311
|
navigate(futurePath(item));
|
|
290
312
|
}
|
|
291
313
|
|
|
314
|
+
function closePopovers() {
|
|
315
|
+
currentProcessesPopoverOpen = false;
|
|
316
|
+
futureExecutionsPopoverOpen = false;
|
|
317
|
+
userPopoverOpen = false;
|
|
318
|
+
}
|
|
319
|
+
|
|
292
320
|
function toggleSidebar() {
|
|
293
321
|
if (!collapseSupported) {
|
|
294
322
|
return;
|
|
295
323
|
}
|
|
296
324
|
sidebarCollapsed = !sidebarCollapsed;
|
|
297
|
-
|
|
298
|
-
futureExecutionsPopoverOpen = false;
|
|
325
|
+
closePopovers();
|
|
299
326
|
}
|
|
300
327
|
|
|
301
328
|
function openSidebar() {
|
|
302
329
|
sidebarCollapsed = false;
|
|
303
|
-
|
|
304
|
-
futureExecutionsPopoverOpen = false;
|
|
330
|
+
closePopovers();
|
|
305
331
|
}
|
|
306
332
|
|
|
307
333
|
function toggleCurrentProcessesPopover() {
|
|
@@ -310,6 +336,7 @@ function toggleCurrentProcessesPopover() {
|
|
|
310
336
|
}
|
|
311
337
|
currentProcessesPopoverOpen = !currentProcessesPopoverOpen;
|
|
312
338
|
futureExecutionsPopoverOpen = false;
|
|
339
|
+
userPopoverOpen = false;
|
|
313
340
|
}
|
|
314
341
|
|
|
315
342
|
function toggleFutureExecutionsPopover() {
|
|
@@ -318,6 +345,33 @@ function toggleFutureExecutionsPopover() {
|
|
|
318
345
|
}
|
|
319
346
|
futureExecutionsPopoverOpen = !futureExecutionsPopoverOpen;
|
|
320
347
|
currentProcessesPopoverOpen = false;
|
|
348
|
+
userPopoverOpen = false;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
function toggleUserPopover() {
|
|
352
|
+
userPopoverOpen = !userPopoverOpen;
|
|
353
|
+
currentProcessesPopoverOpen = false;
|
|
354
|
+
futureExecutionsPopoverOpen = false;
|
|
355
|
+
logoutError = null;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
function showHelp() {
|
|
359
|
+
userPopoverOpen = false;
|
|
360
|
+
openKeyboardShortcutHelp();
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
async function logOut() {
|
|
364
|
+
if (logoutPending) return;
|
|
365
|
+
logoutPending = true;
|
|
366
|
+
logoutError = null;
|
|
367
|
+
try {
|
|
368
|
+
await logout();
|
|
369
|
+
onLoggedOut();
|
|
370
|
+
} catch {
|
|
371
|
+
logoutError = "Couldn't log out. Try again.";
|
|
372
|
+
} finally {
|
|
373
|
+
logoutPending = false;
|
|
374
|
+
}
|
|
321
375
|
}
|
|
322
376
|
|
|
323
377
|
function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
@@ -336,16 +390,17 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
336
390
|
class:is-selected={isSelectedRow(row)}
|
|
337
391
|
aria-current={isSelectedRow(row) ? "page" : undefined}
|
|
338
392
|
data-pressable="true"
|
|
339
|
-
title={`${row.title} — ${row.statusLine}`}
|
|
393
|
+
title={`${row.title} — ${row.statusLine} · ${row.processDisplayName}`}
|
|
394
|
+
aria-label={`${row.title} — ${row.statusLine}`}
|
|
340
395
|
onclick={(event) => openCurrentProcessRow(row, event)}
|
|
341
396
|
>
|
|
397
|
+
<span class={`row-status-dot ${stateKind(row)}`} aria-hidden="true"></span>
|
|
342
398
|
<span class="row-copy">
|
|
343
|
-
<span class="row-
|
|
344
|
-
|
|
345
|
-
<
|
|
346
|
-
<span class={`row-status-text ${stateKind(row)}`}>{row.statusLabel}</span> · {metaLine(row)}
|
|
347
|
-
</span>
|
|
399
|
+
<span class="row-heading">
|
|
400
|
+
<span class="row-title">{row.title}</span>
|
|
401
|
+
<time class="row-age" datetime={row.updatedAt}>{formatRelativeTime(row.updatedAt)}</time>
|
|
348
402
|
</span>
|
|
403
|
+
<span class="row-meta">{row.turnLabel ?? row.processDisplayName}</span>
|
|
349
404
|
</span>
|
|
350
405
|
</a>
|
|
351
406
|
{/each}
|
|
@@ -356,24 +411,20 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
356
411
|
<div class="process-list {extraListClass}">
|
|
357
412
|
{#each items as item (item.id)}
|
|
358
413
|
{@const href = futurePath(item)}
|
|
359
|
-
{@const itemMeta = futureRowMeta(item)}
|
|
360
414
|
<a
|
|
361
415
|
href={href}
|
|
362
416
|
class="process-row future-row"
|
|
363
417
|
class:is-selected={isSelectedFutureItem(item)}
|
|
364
418
|
aria-current={isSelectedFutureItem(item) ? "page" : undefined}
|
|
365
419
|
data-pressable="true"
|
|
366
|
-
title={`${item.title} — ${futureStatusLine(item)}`}
|
|
420
|
+
title={`${item.title} — ${futureStatusLine(item)} · ${futureRowSecondary(item)}`}
|
|
421
|
+
aria-label={`${item.title} — ${futureStatusLine(item)} · ${futureRowSecondary(item)}`}
|
|
367
422
|
onclick={(event) => openFutureItem(item, event)}
|
|
368
423
|
>
|
|
424
|
+
<span class={`row-status-dot ${item.status === "blocked" ? "error" : futureStateKind(item)}`} aria-hidden="true"></span>
|
|
369
425
|
<span class="row-copy">
|
|
370
426
|
<span class="row-title">{item.title}</span>
|
|
371
|
-
<span class="row-
|
|
372
|
-
<span class="row-meta">
|
|
373
|
-
<span class={`row-status-text ${futureStateKind(item)}`}>{futureRowStatusLabel(item)}</span>{#if itemMeta} · {itemMeta}{/if}
|
|
374
|
-
</span>
|
|
375
|
-
</span>
|
|
376
|
-
<span class="row-secondary">{futureRowSecondary(item)}</span>
|
|
427
|
+
<span class="row-meta">{futureRowSecondary(item)}</span>
|
|
377
428
|
</span>
|
|
378
429
|
</a>
|
|
379
430
|
{/each}
|
|
@@ -702,35 +753,19 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
702
753
|
{/if}
|
|
703
754
|
</section>
|
|
704
755
|
|
|
705
|
-
<section class="process-group
|
|
756
|
+
<section class="process-group active-group" class:is-empty={currentRows.length === 0}>
|
|
706
757
|
<div class="group-header">
|
|
707
|
-
<div class="group-heading">
|
|
708
|
-
<span class="group-count" aria-label={`${
|
|
709
|
-
{
|
|
758
|
+
<div class="group-heading">Active</div>
|
|
759
|
+
<span class="group-count" aria-label={`${currentRows.length} active process${currentRows.length === 1 ? "" : "es"}`}>
|
|
760
|
+
{currentRows.length}
|
|
710
761
|
</span>
|
|
711
762
|
</div>
|
|
712
763
|
{#if $listState.loading && currentRows.length === 0}
|
|
713
764
|
<div class="empty-state">Loading active processes…</div>
|
|
714
765
|
{:else if currentRows.length === 0}
|
|
715
766
|
<div class="empty-state">No waiting or running processes. Start one above and it will appear here.</div>
|
|
716
|
-
{:else if waitingRows.length === 0}
|
|
717
|
-
<div class="empty-state">No waiting processes.</div>
|
|
718
|
-
{:else}
|
|
719
|
-
{@render processRowList(waitingRows)}
|
|
720
|
-
{/if}
|
|
721
|
-
</section>
|
|
722
|
-
|
|
723
|
-
<section class="process-group running-group" class:is-empty={runningRows.length === 0}>
|
|
724
|
-
<div class="group-header">
|
|
725
|
-
<div class="group-heading">Running</div>
|
|
726
|
-
<span class="group-count" aria-label={`${runningRows.length} running process${runningRows.length === 1 ? "" : "es"}`}>
|
|
727
|
-
{runningRows.length}
|
|
728
|
-
</span>
|
|
729
|
-
</div>
|
|
730
|
-
{#if runningRows.length === 0}
|
|
731
|
-
<div class="empty-state">No running processes.</div>
|
|
732
767
|
{:else}
|
|
733
|
-
{@render processRowList(
|
|
768
|
+
{@render processRowList(currentRows)}
|
|
734
769
|
{/if}
|
|
735
770
|
</section>
|
|
736
771
|
</div>
|
|
@@ -743,32 +778,69 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
743
778
|
</div>
|
|
744
779
|
{/if}
|
|
745
780
|
|
|
746
|
-
<
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
781
|
+
<div class="sidebar-footer" class:is-collapsed={effectiveSidebarCollapsed}>
|
|
782
|
+
<button
|
|
783
|
+
type="button"
|
|
784
|
+
class="user-trigger"
|
|
785
|
+
class:is-collapsed={effectiveSidebarCollapsed}
|
|
786
|
+
data-action="user-menu"
|
|
787
|
+
data-pressable="true"
|
|
788
|
+
aria-haspopup="dialog"
|
|
789
|
+
aria-controls="user-menu-popover"
|
|
790
|
+
aria-expanded={userPopoverOpen}
|
|
791
|
+
aria-label={`User menu for ${userName}`}
|
|
792
|
+
title={userName}
|
|
793
|
+
bind:this={userTriggerRef}
|
|
794
|
+
onclick={toggleUserPopover}
|
|
795
|
+
>
|
|
796
|
+
<span class="footer-icon" aria-hidden="true">
|
|
797
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
|
|
798
|
+
<circle cx="12" cy="8" r="3.25"></circle>
|
|
799
|
+
<path d="M5.5 19c.7-3.4 3-5.25 6.5-5.25s5.8 1.85 6.5 5.25"></path>
|
|
800
|
+
</svg>
|
|
801
|
+
</span>
|
|
802
|
+
{#if !effectiveSidebarCollapsed}<span class="user-name">{userName}</span>{/if}
|
|
803
|
+
</button>
|
|
804
|
+
|
|
805
|
+
{#if userPopoverOpen}
|
|
806
|
+
<div
|
|
807
|
+
id="user-menu-popover"
|
|
808
|
+
class="user-popover"
|
|
809
|
+
class:is-collapsed={effectiveSidebarCollapsed}
|
|
810
|
+
data-section="user-menu-popover"
|
|
811
|
+
role="dialog"
|
|
812
|
+
aria-modal="false"
|
|
813
|
+
aria-label={`User options for ${userName}`}
|
|
814
|
+
bind:this={userPopoverRef}
|
|
815
|
+
>
|
|
816
|
+
<a class="user-popover-action" href="/account/api-tokens" onclick={(event) => { userPopoverOpen = false; followLink(event, "/account/api-tokens"); }}>API tokens</a>
|
|
817
|
+
<button type="button" class="user-popover-action" onclick={showHelp}>Show help</button>
|
|
818
|
+
{#if authEnabled}
|
|
819
|
+
<button
|
|
820
|
+
type="button"
|
|
821
|
+
class="user-popover-action"
|
|
822
|
+
disabled={logoutPending}
|
|
823
|
+
onclick={logOut}
|
|
824
|
+
>
|
|
825
|
+
{logoutPending ? "Logging out…" : "Log out"}
|
|
826
|
+
</button>
|
|
827
|
+
{#if logoutError}<p class="logout-error" role="alert">{logoutError}</p>{/if}
|
|
828
|
+
{/if}
|
|
829
|
+
</div>
|
|
830
|
+
{/if}
|
|
831
|
+
</div>
|
|
760
832
|
</aside>
|
|
761
833
|
|
|
762
834
|
<style>
|
|
763
835
|
.sidebar {
|
|
764
|
-
--sidebar-expanded-width:
|
|
836
|
+
--sidebar-expanded-width: 240px;
|
|
765
837
|
--sidebar-collapsed-width: 64px;
|
|
766
838
|
display: flex;
|
|
767
839
|
flex: 0 0 var(--sidebar-expanded-width);
|
|
768
840
|
flex-direction: column;
|
|
769
841
|
width: var(--sidebar-expanded-width);
|
|
770
|
-
min-width:
|
|
771
|
-
max-width:
|
|
842
|
+
min-width: var(--sidebar-expanded-width);
|
|
843
|
+
max-width: var(--sidebar-expanded-width);
|
|
772
844
|
height: 100%;
|
|
773
845
|
min-height: 0;
|
|
774
846
|
padding: 16px var(--space-xs) 20px;
|
|
@@ -947,18 +1019,16 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
947
1019
|
display: flex;
|
|
948
1020
|
flex-direction: column;
|
|
949
1021
|
gap: 14px;
|
|
950
|
-
padding-bottom: 54px;
|
|
951
1022
|
}
|
|
952
1023
|
|
|
953
1024
|
.collapsed-rail {
|
|
954
1025
|
display: flex;
|
|
955
1026
|
flex: 1;
|
|
956
1027
|
width: 100%;
|
|
1028
|
+
min-height: 0;
|
|
957
1029
|
flex-direction: column;
|
|
958
1030
|
align-items: center;
|
|
959
1031
|
gap: 6px;
|
|
960
|
-
padding-top: 0;
|
|
961
|
-
padding-bottom: 42px;
|
|
962
1032
|
}
|
|
963
1033
|
|
|
964
1034
|
.current-processes-anchor {
|
|
@@ -1023,68 +1093,124 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
1023
1093
|
border-top: 1px solid color-mix(in srgb, var(--chronicle-border) 72%, transparent 28%);
|
|
1024
1094
|
}
|
|
1025
1095
|
|
|
1026
|
-
.
|
|
1027
|
-
position:
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1096
|
+
.sidebar-footer {
|
|
1097
|
+
position: relative;
|
|
1098
|
+
flex: 0 0 auto;
|
|
1099
|
+
margin-top: 12px;
|
|
1100
|
+
padding-top: 12px;
|
|
1101
|
+
border-top: 1px solid color-mix(in srgb, var(--chronicle-border) 72%, transparent 28%);
|
|
1102
|
+
z-index: 3;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
.sidebar-footer.is-collapsed {
|
|
1106
|
+
width: 48px;
|
|
1107
|
+
padding-top: 8px;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.user-trigger {
|
|
1111
|
+
display: grid;
|
|
1112
|
+
grid-template-columns: 30px minmax(0, 1fr);
|
|
1031
1113
|
align-items: center;
|
|
1032
|
-
|
|
1033
|
-
width:
|
|
1034
|
-
height:
|
|
1035
|
-
|
|
1114
|
+
gap: 9px;
|
|
1115
|
+
width: 100%;
|
|
1116
|
+
min-height: 42px;
|
|
1117
|
+
padding: 5px 8px;
|
|
1118
|
+
border: 1px solid transparent;
|
|
1119
|
+
border-radius: var(--radius-sm);
|
|
1120
|
+
background: transparent;
|
|
1121
|
+
color: var(--chronicle-text-muted);
|
|
1122
|
+
font-weight: 620;
|
|
1123
|
+
text-align: left;
|
|
1036
1124
|
cursor: pointer;
|
|
1037
|
-
z-index: 3;
|
|
1038
1125
|
}
|
|
1039
1126
|
|
|
1040
|
-
.
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
transform: translateX(-50%);
|
|
1127
|
+
.user-trigger:hover,
|
|
1128
|
+
.user-trigger[aria-expanded="true"] {
|
|
1129
|
+
border-color: color-mix(in srgb, var(--chronicle-border) 72%, transparent 28%);
|
|
1130
|
+
background: color-mix(in srgb, var(--chronicle-card-surface) 78%, transparent 22%);
|
|
1131
|
+
color: var(--chronicle-text);
|
|
1046
1132
|
}
|
|
1047
1133
|
|
|
1048
|
-
.
|
|
1134
|
+
.user-trigger.is-collapsed {
|
|
1135
|
+
display: grid;
|
|
1136
|
+
grid-template-columns: 1fr;
|
|
1137
|
+
place-items: center;
|
|
1138
|
+
width: 48px;
|
|
1139
|
+
height: 48px;
|
|
1140
|
+
padding: 0;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
.footer-icon,
|
|
1144
|
+
.footer-icon svg {
|
|
1145
|
+
display: block;
|
|
1049
1146
|
width: 20px;
|
|
1050
1147
|
height: 20px;
|
|
1051
|
-
font-size: 12px;
|
|
1052
1148
|
}
|
|
1053
1149
|
|
|
1054
|
-
.
|
|
1055
|
-
|
|
1056
|
-
align-items: center;
|
|
1057
|
-
justify-content: center;
|
|
1058
|
-
width: 32px;
|
|
1059
|
-
height: 32px;
|
|
1060
|
-
border-radius: 999px;
|
|
1061
|
-
color: var(--chronicle-text);
|
|
1062
|
-
font-family: var(--font-mono);
|
|
1063
|
-
font-size: 16px;
|
|
1064
|
-
font-weight: 700;
|
|
1150
|
+
.footer-icon {
|
|
1151
|
+
justify-self: center;
|
|
1065
1152
|
}
|
|
1066
1153
|
|
|
1067
|
-
.
|
|
1068
|
-
|
|
1069
|
-
|
|
1154
|
+
.user-name {
|
|
1155
|
+
min-width: 0;
|
|
1156
|
+
overflow: hidden;
|
|
1157
|
+
font-size: 0.875rem;
|
|
1158
|
+
line-height: 1.35;
|
|
1159
|
+
text-overflow: ellipsis;
|
|
1160
|
+
white-space: nowrap;
|
|
1070
1161
|
}
|
|
1071
1162
|
|
|
1072
|
-
.
|
|
1073
|
-
content: "";
|
|
1163
|
+
.user-popover {
|
|
1074
1164
|
position: absolute;
|
|
1075
|
-
|
|
1076
|
-
|
|
1165
|
+
left: 0;
|
|
1166
|
+
bottom: calc(100% + 8px);
|
|
1167
|
+
display: grid;
|
|
1168
|
+
gap: 4px;
|
|
1169
|
+
width: 100%;
|
|
1170
|
+
padding: 6px;
|
|
1171
|
+
border: 1px solid var(--chronicle-border);
|
|
1172
|
+
border-radius: 14px;
|
|
1173
|
+
background: var(--chronicle-card-surface);
|
|
1174
|
+
box-shadow: var(--chronicle-shadow-soft);
|
|
1175
|
+
z-index: 5;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
.user-popover.is-collapsed {
|
|
1179
|
+
left: calc(100% + 12px);
|
|
1180
|
+
bottom: 0;
|
|
1181
|
+
width: 180px;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
.user-popover-action {
|
|
1185
|
+
display: block;
|
|
1186
|
+
text-decoration: none;
|
|
1187
|
+
width: 100%;
|
|
1188
|
+
min-height: 38px;
|
|
1189
|
+
padding: 8px 10px;
|
|
1190
|
+
border: 0;
|
|
1191
|
+
border-radius: 10px;
|
|
1077
1192
|
background: transparent;
|
|
1078
|
-
|
|
1079
|
-
|
|
1193
|
+
color: var(--chronicle-text);
|
|
1194
|
+
font-size: 0.875rem;
|
|
1195
|
+
font-weight: 620;
|
|
1196
|
+
text-align: left;
|
|
1197
|
+
cursor: pointer;
|
|
1080
1198
|
}
|
|
1081
1199
|
|
|
1082
|
-
.
|
|
1083
|
-
|
|
1200
|
+
.user-popover-action:hover:not(:disabled) {
|
|
1201
|
+
background: var(--chronicle-panel-muted);
|
|
1084
1202
|
}
|
|
1085
1203
|
|
|
1086
|
-
.
|
|
1087
|
-
|
|
1204
|
+
.user-popover-action:disabled {
|
|
1205
|
+
cursor: wait;
|
|
1206
|
+
opacity: 0.58;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.logout-error {
|
|
1210
|
+
margin: 4px 8px 6px;
|
|
1211
|
+
color: var(--chronicle-danger-text);
|
|
1212
|
+
font-size: var(--type-caption);
|
|
1213
|
+
line-height: 1.4;
|
|
1088
1214
|
}
|
|
1089
1215
|
|
|
1090
1216
|
.process-group {
|
|
@@ -1105,14 +1231,6 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
1105
1231
|
min-height: 124px;
|
|
1106
1232
|
}
|
|
1107
1233
|
|
|
1108
|
-
.waiting-group:not(.is-empty) {
|
|
1109
|
-
flex-grow: 1.06;
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
.running-group:not(.is-empty) {
|
|
1113
|
-
flex-grow: 0.94;
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
1234
|
.future-group:not(.is-empty) {
|
|
1117
1235
|
flex-grow: 0.8;
|
|
1118
1236
|
}
|
|
@@ -1169,8 +1287,10 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
1169
1287
|
}
|
|
1170
1288
|
|
|
1171
1289
|
.process-row {
|
|
1172
|
-
display:
|
|
1173
|
-
|
|
1290
|
+
display: grid;
|
|
1291
|
+
grid-template-columns: 12px minmax(0, 1fr);
|
|
1292
|
+
column-gap: 8px;
|
|
1293
|
+
padding: 6px var(--process-row-gutter, var(--space-xs));
|
|
1174
1294
|
border-radius: 14px;
|
|
1175
1295
|
box-shadow: inset 0 0 0 1px transparent;
|
|
1176
1296
|
color: inherit;
|
|
@@ -1195,28 +1315,52 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
1195
1315
|
min-width: 0;
|
|
1196
1316
|
}
|
|
1197
1317
|
|
|
1198
|
-
.row-
|
|
1199
|
-
display:
|
|
1318
|
+
.row-heading {
|
|
1319
|
+
display: flex;
|
|
1320
|
+
align-items: baseline;
|
|
1321
|
+
gap: 8px;
|
|
1200
1322
|
min-width: 0;
|
|
1201
1323
|
}
|
|
1202
1324
|
|
|
1203
|
-
.row-
|
|
1204
|
-
|
|
1205
|
-
|
|
1325
|
+
.row-heading .row-title {
|
|
1326
|
+
flex: 1;
|
|
1327
|
+
min-width: 0;
|
|
1206
1328
|
}
|
|
1207
1329
|
|
|
1208
|
-
.row-
|
|
1209
|
-
|
|
1210
|
-
color:
|
|
1330
|
+
.row-age {
|
|
1331
|
+
flex: none;
|
|
1332
|
+
color: var(--chronicle-text-muted);
|
|
1333
|
+
font-size: 0.75rem;
|
|
1334
|
+
line-height: 1.32;
|
|
1335
|
+
font-variant-numeric: tabular-nums;
|
|
1336
|
+
white-space: nowrap;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
.row-status-dot {
|
|
1340
|
+
width: 10px;
|
|
1341
|
+
height: 10px;
|
|
1342
|
+
margin-top: 5px;
|
|
1343
|
+
border-radius: 50%;
|
|
1344
|
+
background: var(--chronicle-text-muted);
|
|
1211
1345
|
}
|
|
1212
1346
|
|
|
1213
|
-
.row-status-
|
|
1214
|
-
|
|
1347
|
+
.row-status-dot.running,
|
|
1348
|
+
.row-status-dot.future-action {
|
|
1349
|
+
background: var(--chronicle-accent);
|
|
1215
1350
|
}
|
|
1216
1351
|
|
|
1217
|
-
.row-status-
|
|
1218
|
-
.row-status-
|
|
1219
|
-
|
|
1352
|
+
.row-status-dot.waiting,
|
|
1353
|
+
.row-status-dot.future-once {
|
|
1354
|
+
background: var(--chronicle-attention);
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
.row-status-dot.error {
|
|
1358
|
+
background: var(--chronicle-danger);
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
.row-status-dot.completed,
|
|
1362
|
+
.row-status-dot.future-cron {
|
|
1363
|
+
background: var(--chronicle-success);
|
|
1220
1364
|
}
|
|
1221
1365
|
|
|
1222
1366
|
.row-title {
|
|
@@ -1224,32 +1368,22 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
1224
1368
|
line-height: 1.32;
|
|
1225
1369
|
font-weight: 620;
|
|
1226
1370
|
color: var(--chronicle-text);
|
|
1227
|
-
display:
|
|
1228
|
-
-webkit-line-clamp: 2;
|
|
1229
|
-
-webkit-box-orient: vertical;
|
|
1371
|
+
display: block;
|
|
1230
1372
|
overflow: hidden;
|
|
1373
|
+
text-overflow: ellipsis;
|
|
1374
|
+
white-space: nowrap;
|
|
1231
1375
|
}
|
|
1232
1376
|
|
|
1233
1377
|
.row-meta {
|
|
1234
|
-
font-size: 0.
|
|
1235
|
-
line-height: 1.
|
|
1236
|
-
font-weight:
|
|
1378
|
+
font-size: 0.8125rem;
|
|
1379
|
+
line-height: 1.4;
|
|
1380
|
+
font-weight: 400;
|
|
1237
1381
|
font-variant-numeric: tabular-nums;
|
|
1238
1382
|
color: var(--chronicle-text-faint);
|
|
1239
|
-
display:
|
|
1240
|
-
-webkit-line-clamp: 2;
|
|
1241
|
-
-webkit-box-orient: vertical;
|
|
1242
|
-
overflow: hidden;
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
.row-secondary {
|
|
1246
|
-
font-size: 0.8125rem;
|
|
1247
|
-
line-height: 1.45;
|
|
1248
|
-
color: var(--chronicle-text-muted);
|
|
1249
|
-
display: -webkit-box;
|
|
1250
|
-
-webkit-line-clamp: 2;
|
|
1251
|
-
-webkit-box-orient: vertical;
|
|
1383
|
+
display: block;
|
|
1252
1384
|
overflow: hidden;
|
|
1385
|
+
text-overflow: ellipsis;
|
|
1386
|
+
white-space: nowrap;
|
|
1253
1387
|
}
|
|
1254
1388
|
|
|
1255
1389
|
|
|
@@ -1276,7 +1410,7 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
1276
1410
|
position: absolute;
|
|
1277
1411
|
left: 18px;
|
|
1278
1412
|
right: 18px;
|
|
1279
|
-
bottom:
|
|
1413
|
+
bottom: 76px;
|
|
1280
1414
|
padding: 14px;
|
|
1281
1415
|
border-radius: 16px;
|
|
1282
1416
|
border: 1px solid color-mix(in srgb, var(--chronicle-danger) 46%, var(--chronicle-border) 54%);
|
|
@@ -1306,23 +1440,27 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
1306
1440
|
width: 100%;
|
|
1307
1441
|
max-width: none;
|
|
1308
1442
|
min-width: 0;
|
|
1309
|
-
height:
|
|
1310
|
-
padding: 16px 14px;
|
|
1443
|
+
height: 100%;
|
|
1444
|
+
padding: max(16px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
|
|
1311
1445
|
border-right: 0;
|
|
1312
|
-
border-bottom:
|
|
1313
|
-
overflow:
|
|
1446
|
+
border-bottom: 0;
|
|
1447
|
+
overflow: hidden;
|
|
1314
1448
|
align-items: stretch;
|
|
1315
1449
|
}
|
|
1316
1450
|
|
|
1317
1451
|
.sidebar-header {
|
|
1318
1452
|
margin-bottom: 16px;
|
|
1453
|
+
padding-right: 48px;
|
|
1319
1454
|
}
|
|
1320
1455
|
|
|
1321
1456
|
.sidebar-scroll {
|
|
1322
|
-
display:
|
|
1323
|
-
|
|
1457
|
+
display: flex;
|
|
1458
|
+
flex: 1 1 auto;
|
|
1459
|
+
flex-direction: column;
|
|
1324
1460
|
gap: 16px;
|
|
1325
|
-
|
|
1461
|
+
min-height: 0;
|
|
1462
|
+
overflow-y: auto;
|
|
1463
|
+
overscroll-behavior: contain;
|
|
1326
1464
|
padding-bottom: 0;
|
|
1327
1465
|
}
|
|
1328
1466
|
|
|
@@ -1337,7 +1475,7 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
1337
1475
|
.process-group.is-empty,
|
|
1338
1476
|
.process-group:not(.is-empty) {
|
|
1339
1477
|
min-height: 0;
|
|
1340
|
-
flex:
|
|
1478
|
+
flex: none;
|
|
1341
1479
|
}
|
|
1342
1480
|
|
|
1343
1481
|
.sidebar-scroll > .process-group > .process-list {
|
|
@@ -1349,10 +1487,4 @@ function openCurrentProcessRow(row: ProcessRowView, event: MouseEvent) {
|
|
|
1349
1487
|
margin-top: 16px;
|
|
1350
1488
|
}
|
|
1351
1489
|
}
|
|
1352
|
-
|
|
1353
|
-
@media (max-width: 640px) {
|
|
1354
|
-
.sidebar-scroll {
|
|
1355
|
-
grid-template-columns: 1fr;
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
1490
|
</style>
|