@atolis-hq/wake 0.2.76 → 0.2.77
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.
|
@@ -53,6 +53,7 @@ export const indexHtml = `<!DOCTYPE html>
|
|
|
53
53
|
.pill-needs-human { background: #4a3510; color: #ffcf7f; }
|
|
54
54
|
.pill-error { background: #3d1f1f; color: #ff8f7f; }
|
|
55
55
|
.pill-finished { background: #252830; color: #9aa2ad; }
|
|
56
|
+
.pill-frozen { background: #5c2a11; color: #ffd7a3; border: 1px solid #ff9f43; }
|
|
56
57
|
nav { display: flex; gap: 0.25rem; padding: 0.4rem 1rem 0 0.3rem; background: var(--brand-darker); border-bottom: 1px solid #2c313a; }
|
|
57
58
|
nav button { background: none; border: none; border-bottom: 2px solid transparent; color: rgba(255, 255, 255, 0.65); padding: 0.4rem 0.7rem 0.45rem; margin-bottom: -1px; cursor: pointer; font-size: 0.85rem; transition: color 0.12s ease; }
|
|
58
59
|
nav button:hover { color: #fff; }
|
|
@@ -368,6 +369,7 @@ function renderCardSummaryNodes(item) {
|
|
|
368
369
|
return [
|
|
369
370
|
el('div', { class: 'meta', style: 'display:flex;align-items:center;gap:0.3rem;flex-wrap:wrap;margin-top:0.2rem;' }, [
|
|
370
371
|
el('span', { class: pillClass, text: item.condition }),
|
|
372
|
+
...(item.isFrozen ? [el('span', { class: 'pill pill-frozen', text: 'Frozen' })] : []),
|
|
371
373
|
document.createTextNode('| ' + item.workflow + ' | ' + item.stage + (isFinished ? '' : ' | ' + fmtMs(item.timeInStageMs) + ' in stage')),
|
|
372
374
|
]),
|
|
373
375
|
el('div', { class: 'card-stats', text: statsText }),
|
|
@@ -111,6 +111,7 @@ export async function buildBoard(input) {
|
|
|
111
111
|
.map((item) => {
|
|
112
112
|
const lastRun = item.wake.lastRunId === undefined ? null : (runsById.get(item.wake.lastRunId) ?? null);
|
|
113
113
|
const { condition, reason } = deriveCondition(item, lastRun, input.config);
|
|
114
|
+
const isFrozen = isWorkItemFrozen(item);
|
|
114
115
|
const activeChildRuns = activeChildRunsForItem(item, runs, input.now);
|
|
115
116
|
const activeMainRun = lastRun?.status === 'running'
|
|
116
117
|
? {
|
|
@@ -137,6 +138,7 @@ export async function buildBoard(input) {
|
|
|
137
138
|
stage: item.wake.stage,
|
|
138
139
|
workflow: workflowNameForProjection(item, input.config),
|
|
139
140
|
labels: item.issue.labels,
|
|
141
|
+
isFrozen,
|
|
140
142
|
condition,
|
|
141
143
|
conditionReason: reason,
|
|
142
144
|
timeInStageMs: timeInStageMs(item, input.now),
|
package/dist/src/version.js
CHANGED