feat: improve pipeline ui and remote update labels
This commit is contained in:
@@ -1159,6 +1159,7 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
|
||||
align-items: start;
|
||||
}
|
||||
.pipeline-grid .panel:nth-child(3), .pipeline-grid .panel:nth-child(5) { grid-column: 1 / -1; }
|
||||
.pipeline-grid .pipeline-wide-panel { grid-column: 1 / -1; }
|
||||
.met-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(420px, 0.9fr) minmax(560px, 1.25fr);
|
||||
@@ -1484,10 +1485,6 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
|
||||
color: var(--text);
|
||||
}
|
||||
.pipeline-flow-frame .react-flow__controls-button svg { fill: currentColor; }
|
||||
.pipeline-flow-frame .react-flow__minimap {
|
||||
border: 1px solid var(--line);
|
||||
background: rgba(8, 13, 18, 0.88);
|
||||
}
|
||||
.pipeline-flow-frame .react-flow__edges {
|
||||
z-index: 30 !important;
|
||||
}
|
||||
@@ -1598,6 +1595,347 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
|
||||
border: 1px solid var(--line-soft);
|
||||
background: rgba(255,255,255,0.03);
|
||||
}
|
||||
.pipeline-gantt-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
}
|
||||
.pipeline-gantt-actions select {
|
||||
width: min(420px, 48vw);
|
||||
min-height: 28px;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
.pipeline-gantt-toggle {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-height: 28px;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid var(--line-soft);
|
||||
color: var(--muted);
|
||||
background: rgba(255,255,255,0.03);
|
||||
}
|
||||
.pipeline-gantt-wrap {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
.pipeline-gantt-detail-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(340px, 0.36fr);
|
||||
gap: 10px;
|
||||
align-items: start;
|
||||
}
|
||||
.pipeline-gantt-main {
|
||||
min-width: 0;
|
||||
}
|
||||
.pipeline-gantt-meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
color: var(--muted);
|
||||
}
|
||||
.pipeline-gantt-meta span {
|
||||
padding: 4px 8px;
|
||||
border: 1px solid rgba(78, 183, 168, 0.18);
|
||||
background: rgba(78, 183, 168, 0.04);
|
||||
}
|
||||
.pipeline-gantt-viewport {
|
||||
max-height: min(78vh, 820px);
|
||||
overflow: auto;
|
||||
border: 1px solid rgba(78, 183, 168, 0.26);
|
||||
background:
|
||||
linear-gradient(90deg, rgba(215, 161, 58, 0.08), transparent 18%),
|
||||
repeating-linear-gradient(0deg, rgba(255,255,255,0.026) 0, rgba(255,255,255,0.026) 1px, transparent 1px, transparent 32px),
|
||||
#081118;
|
||||
}
|
||||
.pipeline-gantt-board {
|
||||
display: grid;
|
||||
align-items: start;
|
||||
}
|
||||
.pipeline-gantt-head {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 6;
|
||||
min-height: 64px;
|
||||
padding: 8px 5px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
border-right: 1px solid var(--line-soft);
|
||||
background: linear-gradient(180deg, rgba(18, 31, 39, 0.98), rgba(8, 17, 24, 0.96));
|
||||
color: var(--accent);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.07em;
|
||||
text-transform: uppercase;
|
||||
overflow: visible;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
line-height: 1.15;
|
||||
}
|
||||
.pipeline-gantt-head.time {
|
||||
left: 0;
|
||||
z-index: 8;
|
||||
}
|
||||
.pipeline-gantt-head.node {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
text-transform: none;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
.pipeline-gantt-head.empty {
|
||||
color: var(--muted);
|
||||
text-transform: none;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.pipeline-gantt-time-axis {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
z-index: 4;
|
||||
border-right: 1px solid rgba(215, 161, 58, 0.22);
|
||||
background:
|
||||
linear-gradient(90deg, rgba(215, 161, 58, 0.08), rgba(8, 17, 24, 0.92)),
|
||||
#081118;
|
||||
}
|
||||
.pipeline-gantt-tick {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
transform: translateY(-50%);
|
||||
display: grid;
|
||||
gap: 1px;
|
||||
padding: 0 7px;
|
||||
border-top: 1px solid rgba(215, 161, 58, 0.18);
|
||||
color: var(--muted);
|
||||
font-size: 10px;
|
||||
}
|
||||
.pipeline-gantt-tick:first-child {
|
||||
transform: translateY(0);
|
||||
padding-top: 3px;
|
||||
}
|
||||
.pipeline-gantt-tick:last-child {
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
.pipeline-gantt-tick b {
|
||||
color: var(--text);
|
||||
font-weight: 700;
|
||||
}
|
||||
.pipeline-gantt-tick span {
|
||||
color: var(--faint);
|
||||
}
|
||||
.pipeline-gantt-node-col,
|
||||
.pipeline-gantt-empty-col {
|
||||
position: relative;
|
||||
border-right: 1px solid rgba(255,255,255,0.045);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255,255,255,0.018), transparent),
|
||||
repeating-linear-gradient(0deg, rgba(255,255,255,0.032) 0, rgba(255,255,255,0.032) 1px, transparent 1px, transparent 96px);
|
||||
}
|
||||
.pipeline-gantt-empty-col {
|
||||
display: grid;
|
||||
place-items: start center;
|
||||
padding-top: 28px;
|
||||
color: var(--muted);
|
||||
}
|
||||
.pipeline-gantt-bar {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
width: 6px;
|
||||
min-height: 10px;
|
||||
border: 1px solid rgba(215, 161, 58, 0.92);
|
||||
border-radius: 999px;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(246, 197, 91, 0.98), rgba(171, 107, 27, 0.92)),
|
||||
#20170b;
|
||||
color: #f7e8c5;
|
||||
box-shadow: 0 0 0 1px rgba(0,0,0,0.32), 0 0 12px rgba(215, 161, 58, 0.28);
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
text-indent: -999px;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.pipeline-gantt-bar strong {
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.pipeline-gantt-bar span {
|
||||
display: none;
|
||||
color: rgba(255,255,255,0.72);
|
||||
font-size: 10px;
|
||||
}
|
||||
.pipeline-gantt-bar.succeeded {
|
||||
border-color: rgba(78, 183, 168, 0.76);
|
||||
background: linear-gradient(180deg, rgba(78, 183, 168, 0.88), rgba(31, 111, 103, 0.72));
|
||||
color: #dffaf4;
|
||||
}
|
||||
.pipeline-gantt-bar.failed {
|
||||
border-color: rgba(207, 106, 84, 0.85);
|
||||
background: linear-gradient(180deg, rgba(207, 106, 84, 0.92), rgba(110, 42, 32, 0.74));
|
||||
color: #ffe3db;
|
||||
}
|
||||
.pipeline-gantt-bar.running {
|
||||
animation: ganttPulse 1.8s ease-in-out infinite;
|
||||
}
|
||||
.pipeline-gantt-bar.selected {
|
||||
width: 10px;
|
||||
border-color: rgba(255, 240, 198, 0.98);
|
||||
box-shadow: 0 0 0 2px rgba(8, 17, 24, 0.88), 0 0 22px rgba(246, 197, 91, 0.55);
|
||||
}
|
||||
.pipeline-gantt-detail-panel {
|
||||
position: sticky;
|
||||
top: 8px;
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
max-height: min(78vh, 820px);
|
||||
min-height: 420px;
|
||||
overflow: auto;
|
||||
padding: 10px;
|
||||
border: 1px solid rgba(215, 161, 58, 0.28);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(215, 161, 58, 0.11), transparent 36%),
|
||||
linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
|
||||
#091219;
|
||||
box-shadow: inset 3px 0 0 rgba(215, 161, 58, 0.36);
|
||||
}
|
||||
.pipeline-gantt-detail-panel.empty {
|
||||
place-items: center;
|
||||
}
|
||||
.pipeline-gantt-detail-head,
|
||||
.pipeline-attempt-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
align-items: start;
|
||||
}
|
||||
.pipeline-gantt-detail-head h3 {
|
||||
margin: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.pipeline-gantt-detail-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
.pipeline-kv-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
}
|
||||
.pipeline-kv-grid > span {
|
||||
min-width: 0;
|
||||
padding: 6px 7px;
|
||||
border: 1px solid var(--line-soft);
|
||||
background: rgba(255,255,255,0.028);
|
||||
color: var(--muted);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.pipeline-kv-grid b {
|
||||
display: block;
|
||||
color: var(--accent);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.pipeline-chip-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
}
|
||||
.pipeline-chip-row span {
|
||||
padding: 3px 6px;
|
||||
border: 1px solid rgba(78, 183, 168, 0.18);
|
||||
background: rgba(78, 183, 168, 0.055);
|
||||
color: var(--muted);
|
||||
font-size: 10px;
|
||||
}
|
||||
.pipeline-attempt-card {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 9px;
|
||||
border: 1px solid var(--line-soft);
|
||||
background: rgba(255,255,255,0.026);
|
||||
}
|
||||
.pipeline-attempt-head span {
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
}
|
||||
.pipeline-opencode-flow {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
}
|
||||
.pipeline-opencode-step,
|
||||
.pipeline-opencode-part {
|
||||
border: 1px solid rgba(255,255,255,0.08);
|
||||
background: rgba(0,0,0,0.15);
|
||||
}
|
||||
.pipeline-opencode-step > summary,
|
||||
.pipeline-opencode-part > summary {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
padding: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.pipeline-opencode-step > summary::-webkit-details-marker,
|
||||
.pipeline-opencode-part > summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
.pipeline-step-index {
|
||||
color: var(--accent-2);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.13em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.pipeline-opencode-step summary small {
|
||||
color: var(--muted);
|
||||
}
|
||||
.pipeline-opencode-step-body,
|
||||
.pipeline-opencode-part-body {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 8px;
|
||||
border-top: 1px solid var(--line-soft);
|
||||
}
|
||||
.pipeline-text-preview {
|
||||
margin: 0;
|
||||
padding: 7px 8px;
|
||||
border: 1px solid rgba(255,255,255,0.07);
|
||||
background: rgba(4, 9, 13, 0.5);
|
||||
color: #bfd3d4;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
line-height: 1.45;
|
||||
}
|
||||
.pipeline-field-list {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(82px, 0.38fr) minmax(0, 1fr);
|
||||
gap: 4px 7px;
|
||||
margin: 5px 0 0;
|
||||
}
|
||||
.pipeline-field-list dt {
|
||||
color: var(--accent-2);
|
||||
font-size: 10px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.pipeline-field-list dd {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.pipeline-opencode-part-list {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
@keyframes ganttPulse {
|
||||
0%, 100% { box-shadow: 0 0 0 1px rgba(0,0,0,0.32), 0 0 12px rgba(215, 161, 58, 0.28); }
|
||||
50% { box-shadow: 0 0 0 1px rgba(215, 161, 58, 0.52), 0 0 20px rgba(215, 161, 58, 0.48); }
|
||||
}
|
||||
.pipeline-node-control {
|
||||
min-width: 0;
|
||||
max-height: min(68vh, 720px);
|
||||
@@ -1686,6 +2024,53 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid var(--line-soft);
|
||||
}
|
||||
.pipeline-evidence-list {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
}
|
||||
.pipeline-evidence-list.compact {
|
||||
gap: 6px;
|
||||
}
|
||||
.pipeline-evidence-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(160px, 0.8fr) minmax(220px, 1.4fr) auto;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--line-soft);
|
||||
background:
|
||||
linear-gradient(90deg, rgba(78, 183, 168, 0.05), transparent 38%),
|
||||
rgba(255,255,255,0.026);
|
||||
}
|
||||
.pipeline-evidence-main {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
.pipeline-evidence-main strong {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: var(--text);
|
||||
}
|
||||
.pipeline-evidence-main span {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
}
|
||||
.pipeline-evidence-facts {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
}
|
||||
.pipeline-evidence-facts span {
|
||||
padding: 3px 6px;
|
||||
border: 1px solid rgba(255,255,255,0.07);
|
||||
background: rgba(0,0,0,0.16);
|
||||
color: var(--muted);
|
||||
}
|
||||
.compact-log code { font-size: 11px; }
|
||||
.component-strata {
|
||||
display: grid;
|
||||
@@ -1699,6 +2084,21 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
|
||||
border: 1px solid var(--line-soft);
|
||||
background: var(--panel-3);
|
||||
}
|
||||
.pipeline-run-card {
|
||||
cursor: pointer;
|
||||
}
|
||||
.pipeline-run-card.active {
|
||||
border-color: rgba(215, 161, 58, 0.68);
|
||||
box-shadow: inset 3px 0 0 rgba(215, 161, 58, 0.62);
|
||||
}
|
||||
.pipeline-run-card:focus {
|
||||
outline: 2px solid rgba(78, 183, 168, 0.58);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.pipeline-run-time {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
.component-stratum span {
|
||||
color: var(--muted);
|
||||
font-size: 10px;
|
||||
@@ -1855,9 +2255,18 @@ input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
|
||||
body { font-size: 12px; }
|
||||
.pipeline-control-runbar,
|
||||
.pipeline-control-meta,
|
||||
.pipeline-control-evidence-grid {
|
||||
.pipeline-control-evidence-grid,
|
||||
.pipeline-evidence-row,
|
||||
.pipeline-gantt-detail-layout,
|
||||
.pipeline-kv-grid,
|
||||
.pipeline-field-list {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.pipeline-gantt-actions { justify-content: stretch; }
|
||||
.pipeline-gantt-actions select { width: 100%; }
|
||||
.pipeline-gantt-bar { left: 50%; width: 5px; padding: 0; }
|
||||
.pipeline-gantt-bar.selected { width: 9px; }
|
||||
.pipeline-gantt-detail-panel { position: static; max-height: none; }
|
||||
.pipeline-flow-frame {
|
||||
min-height: 430px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user