perf(panel): virtualize large step tables and optimize steps view switching and LOESS fit

This commit is contained in:
fish
2026-11-19 16:40:04 +09:00
parent 809bf0413b
commit 56844550f0
12 changed files with 2719 additions and 330 deletions
+36 -1
View File
@@ -29,6 +29,7 @@
.table-viewport.is-step-table {
overflow-x: auto;
overflow-anchor: none;
}
/* --- 2. 粘性表头数据表 (Sticky-Header Data Table) --- */
@@ -72,10 +73,44 @@
font-weight: 600;
}
.data-table tbody tr:hover {
.data-table tbody tr:not(.step-vspacer):not(.step-vsizer):hover {
background: var(--surface-hover);
}
.data-table tbody tr.step-vspacer,
.data-table tbody tr.step-vspacer:hover,
.data-table tbody tr.step-vsizer,
.data-table tbody tr.step-vsizer:hover {
background: transparent !important;
pointer-events: none;
}
.data-table tbody tr.step-vsizer {
visibility: hidden;
height: 0;
}
.data-table tbody tr.step-vsizer td {
padding-top: 0 !important;
padding-bottom: 0 !important;
border: none !important;
line-height: 0;
height: 0;
}
.step-vsizer-inner {
display: block;
height: 0;
overflow: hidden;
white-space: nowrap;
}
.data-table tbody tr.step-vspacer td.step-vspacer-cell {
padding: 0 !important;
border: none !important;
line-height: 0;
}
.step-model-cell {
display: inline-flex;
align-items: baseline;