Add a spectrum history panel
All checks were successful
/ test (pull_request) Successful in 3m36s

This introduces a framework for adding more diagnostics panels.
This commit is contained in:
Aaron Fenyes 2025-06-11 01:21:18 -07:00
parent 059224e269
commit 0be7448e24
3 changed files with 124 additions and 14 deletions

View file

@ -182,14 +182,23 @@ details[open]:has(li) .element-switch::after {
margin: 10px;
}
#diagnostics-bar {
display: flex;
}
#realization-status {
display: flex;
flex-grow: 1;
}
#realization-status .status {
margin-right: 4px;
}
#realization-status :not(.status) {
flex-grow: 1;
}
#realization-status .status::after {
content: '✓';
}
@ -198,8 +207,12 @@ details[open]:has(li) .element-switch::after {
content: '⚠';
}
#loss-history {
.diagnostics-panel {
margin-top: 10px;
min-height: 180px;
}
.diagnostics-chart {
background-color: var(--display-background);
border: 1px solid var(--border);
border-radius: 8px;