feat: add sensor fusion deck#3713
Conversation
|
@SteveDigital-Dev is attempting to deploy a commit to the World Monitor Team on Vercel. A member of the Team first needs to authorize it. |
Greptile SummaryThis PR adds a Sensor Fusion Deck panel that reads from existing
Confidence Score: 3/5The panel renders completely unstyled due to the CSS insertion bug, blocking a clean ship. The CSS edit inserts ~115 lines of new rules before the closing src/styles/panels.css needs Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
PL[PanelLayoutManager] -->|creates| SFP[SensorFusionPanel]
SFP -->|constructor: getSnapshotInput lambda| CTX[AppContext]
CTX --> IC[intelligenceCache]
CTX --> ML[mapLayers]
SFP -->|render / 30s refresh| BFS[buildSensorFusionSnapshot]
IC --> BFS
ML --> BFS
BFS --> SNAP[SensorFusionSnapshot]
SNAP --> UI[Panel DOM]
Reviews (1): Last reviewed commit: "feat: add sensor fusion deck" | Re-trigger Greptile |
| text-align: center; | ||
| color: var(--text-muted, #888); | ||
| font-size: 12px; | ||
|
|
There was a problem hiding this comment.
Sensor fusion styles injected inside
.latest-brief-empty {} block
The new CSS block starts at line 3006 but the } that originally closed .latest-brief-empty (which opened at line 3001) was pushed down to line 3120 after the insertion. In browsers without CSS Nesting support every sensor fusion selector is treated as an invalid declaration and silently dropped; in browsers that do support nesting the styles only match within .latest-brief-empty, which never wraps a .sensor-fusion-panel. The fix is to add a closing } for .latest-brief-empty before the sensor fusion comment block.
Summary
Test plan
Note: Biome reports the existing panel-layout createPanels cognitive-complexity warning, but exits 0.