@d86e/hive-panel 1.0.13 → 1.0.15
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/package.json +1 -1
- package/public/panel.css +84 -0
- package/public/panel.js +846 -60
- package/src/data.js +130 -5
- package/src/server.js +29 -1
package/package.json
CHANGED
package/public/panel.css
CHANGED
|
@@ -1242,3 +1242,87 @@ dialog.hive-dialog .hive-dialog-body { flex: 1 1 auto; min-height: 0; overflow:
|
|
|
1242
1242
|
.hive-run-failure { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--hive-line-2); }
|
|
1243
1243
|
.hive-run-failure-text { margin-top: 2px; color: var(--hive-fg-soft); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
|
|
1244
1244
|
|
|
1245
|
+
/* The panel fills the host; each lane owns its height and scrollbar. */
|
|
1246
|
+
.hive-viewport { height: 100%; min-height: 0; overflow: hidden; }
|
|
1247
|
+
.hive { height: 100%; min-height: 0; overflow: hidden; }
|
|
1248
|
+
.hive-main { min-height: 0; }
|
|
1249
|
+
.hive-board { flex: 1 1 auto; min-height: 0; }
|
|
1250
|
+
.hive-stage { flex: 1 1 auto; min-height: 0; }
|
|
1251
|
+
.hive-lanes { flex: 1 1 auto; align-items: stretch; min-height: 0; }
|
|
1252
|
+
.hive-lane { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
|
|
1253
|
+
.hive-lane-head { flex: 0 0 auto; }
|
|
1254
|
+
.hive-lane-cards { flex: 1 1 auto; min-height: 0; max-height: none; overflow-x: hidden; overflow-y: auto; }
|
|
1255
|
+
.hive-skeleton { flex: 1 1 auto; min-height: 0; }
|
|
1256
|
+
@media (max-width: 920px) {
|
|
1257
|
+
.hive-viewport { height: auto; min-height: 100dvh; overflow: auto; }
|
|
1258
|
+
.hive { height: auto; min-height: 100dvh; overflow: visible; }
|
|
1259
|
+
.hive-main { display: flex; flex-direction: column; min-height: 0; }
|
|
1260
|
+
.hive-board { flex: 0 0 auto; min-height: 600px; }
|
|
1261
|
+
.hive-stage { min-height: 560px; }
|
|
1262
|
+
.hive-lanes { flex-direction: column; min-height: 0; overflow-x: visible; overflow-y: visible; }
|
|
1263
|
+
.hive-lane { flex: 0 0 520px; width: 100%; min-height: 520px; }
|
|
1264
|
+
.hive-lane-cards { min-height: 480px; max-height: none; }
|
|
1265
|
+
.hive-skeleton { grid-template-columns: 1fr; min-height: 0; }
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
/* Task search and per-lane pagination controls. */
|
|
1269
|
+
.hive-search { flex: 0 0 auto; padding: 8px 10px 0; }
|
|
1270
|
+
.hive-search-input { box-sizing: border-box; width: 100%; padding: 5px 8px; border: 1px solid var(--hive-line); border-radius: var(--hive-radius-sm); background: var(--hive-bg-layer-1); color: var(--hive-fg); font: inherit; font-size: 12px; }
|
|
1271
|
+
.hive-search-input:focus { outline: 1px solid var(--hive-selected); outline-offset: 0; }
|
|
1272
|
+
.hive-search-results { margin-top: 6px; padding: 6px; border: 1px solid var(--hive-line-2); border-radius: var(--hive-radius-md); background: var(--hive-bg-layer-1); }
|
|
1273
|
+
.hive-search-results.is-hidden { display: none; }
|
|
1274
|
+
.hive-search-summary, .hive-search-empty { color: var(--hive-fg-faint); font-size: 11px; line-height: 1.5; }
|
|
1275
|
+
.hive-search-result { display: flex; align-items: center; gap: 6px; width: 100%; padding: 4px 6px; border: 0; background: transparent; color: var(--hive-fg); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
|
|
1276
|
+
.hive-search-result:hover { background: var(--hive-hover); }
|
|
1277
|
+
.hive-search-status { flex: 0 0 auto; font-size: 10px; }
|
|
1278
|
+
.hive-search-status.is-done { color: var(--hive-ok); }
|
|
1279
|
+
.hive-search-status.is-failed { color: var(--hive-danger); }
|
|
1280
|
+
.hive-search-status.is-claimed { color: var(--hive-accent); }
|
|
1281
|
+
.hive-search-status.is-pending { color: var(--hive-fg-faint); }
|
|
1282
|
+
.hive-search-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1283
|
+
.hive-search-id { flex: 0 0 auto; color: var(--hive-fg-faint); font-family: var(--hive-mono); font-size: 10.5px; }
|
|
1284
|
+
.hive-lane-paging { flex: 0 0 auto; padding: 0 7px 7px; }
|
|
1285
|
+
.hive-lane-more { width: 100%; padding: 3px 6px; font-size: 11px; }
|
|
1286
|
+
.hive-lane-page-error { margin-top: 4px; color: var(--hive-danger); font-size: 10.5px; line-height: 1.4; overflow-wrap: anywhere; }
|
|
1287
|
+
.hive-lane-page-error.is-hidden, .hive-lane-more.is-hidden { display: none; }
|
|
1288
|
+
|
|
1289
|
+
.hive-lane-loading { padding: 6px 8px; color: var(--hive-fg-faint); font-size: 11px; line-height: 1.5; text-align: center; }
|
|
1290
|
+
.hive-lane-loading.is-hidden { display: none; }
|
|
1291
|
+
|
|
1292
|
+
.hive-lane-head-actions { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; }
|
|
1293
|
+
.hive-lane-more-top, .hive-lane-latest { padding: 1px 5px; font-size: 10px; font-weight: 600; letter-spacing: 0; line-height: 1.4; text-transform: none; }
|
|
1294
|
+
.hive-lane-more-top.is-hidden, .hive-lane-latest.is-hidden { display: none; }
|
|
1295
|
+
|
|
1296
|
+
.hive-lane-recycle { display: flex; flex: 0 0 auto; align-items: center; gap: 4px; padding: 4px 7px; border-bottom: 1px solid var(--hive-line-2); background: var(--hive-bg-layer-2); color: var(--hive-fg-soft); font-size: 10px; line-height: 1.4; }
|
|
1297
|
+
.hive-lane-recycle.is-hidden { display: none; }
|
|
1298
|
+
.hive-lane-recycle-text { min-width: 0; overflow-wrap: anywhere; }
|
|
1299
|
+
.hive-lane-recycle-reload { flex: 0 0 auto; padding: 1px 5px; font-size: 10px; }
|
|
1300
|
+
|
|
1301
|
+
/* Native card dialog: centered, animated once on open, never on content refresh. */
|
|
1302
|
+
.hive-card-dialog { animation: none; }
|
|
1303
|
+
.hive-card-dialog.is-entering { animation: hive-card-dialog-in 150ms ease-out; }
|
|
1304
|
+
@keyframes hive-card-dialog-in {
|
|
1305
|
+
from { opacity: 0.4; transform: translateY(4px) scale(0.99); }
|
|
1306
|
+
to { opacity: 1; transform: translateY(0) scale(1); }
|
|
1307
|
+
}
|
|
1308
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1309
|
+
.hive-card-dialog.is-entering { animation: none; }
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
/* Bottom events strip: fixed height, header fixed, list owns the scrollbar. */
|
|
1313
|
+
.hive-events-drawer { display: flex; flex: 0 0 auto; flex-direction: column; height: max(320px, 38vh); min-height: 320px; max-height: 420px; overflow: hidden; }
|
|
1314
|
+
.hive-events-head { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid var(--hive-line); }
|
|
1315
|
+
.hive-events-title { min-width: 0; color: var(--hive-fg-soft); font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
|
|
1316
|
+
.hive-events-count { color: var(--hive-fg-faint); font-family: var(--hive-mono); font-size: 11px; white-space: nowrap; }
|
|
1317
|
+
.hive-events-filter { max-width: 180px; margin-left: auto; padding: 2px 4px; border: 1px solid var(--hive-line-2); border-radius: var(--hive-radius-sm); background: var(--hive-bg-layer-1); color: var(--hive-fg-soft); font: inherit; font-size: 11px; }
|
|
1318
|
+
.hive-events-recycle { color: var(--hive-warn); font-size: 10.5px; line-height: 1.4; overflow-wrap: anywhere; }
|
|
1319
|
+
.hive-events-recycle.is-hidden { display: none; }
|
|
1320
|
+
.hive-event-list { flex: 1 1 auto; min-height: 0; max-height: none; padding: 8px 10px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: auto; }
|
|
1321
|
+
.hive-event-error { color: var(--hive-danger); font-size: 11px; line-height: 1.5; }
|
|
1322
|
+
|
|
1323
|
+
.hive-settings-reinit { margin-top: 4px; }
|
|
1324
|
+
.hive-reinit-result { margin-top: 4px; }
|
|
1325
|
+
.hive-reinit-result.is-hidden { display: none; }
|
|
1326
|
+
.hive-reinit-result.is-success { color: var(--hive-ok); }
|
|
1327
|
+
.hive-reinit-result.is-error { color: var(--hive-danger); }
|
|
1328
|
+
|