chore(dashboard): remove last simple/expert mode remnants

Rename expert.css → scene.css (file contained WCAG touch targets and
3D scene layout, nothing mode-specific). Remove dead dashboardMode !==
'expert' guard in timeline seek handler. Simple/expert toggle and
localStorage key were already removed in prior commits.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
jedarden 2026-04-24 21:28:50 -04:00
parent b5e0039211
commit e6fa1a7bf6
3 changed files with 4 additions and 16 deletions

View file

@ -187,13 +187,6 @@
font-size: var(--text-xl);
}
/* Mode toggle buttons */
.mode-toggle-btn {
min-height: 44px;
min-width: 44px;
padding: var(--space-3) var(--space-4);
}
/* Action items */
.action-item .action-remove {
min-width: 44px;

View file

@ -45,7 +45,7 @@
events: [],
cursor: null,
total: 0,
dashboardMode: 'expert',
dashboardMode: 'live',
filters: {
categories: {
presence: true,
@ -537,7 +537,7 @@
if (newMode === 'ambient') {
state.dashboardMode = 'ambient';
} else {
state.dashboardMode = 'expert';
state.dashboardMode = 'live';
}
if (newMode === 'timeline') {
@ -1111,7 +1111,7 @@
// System events: node_online, node_offline, ota_update, baseline_changed, system, learning_milestone, anomaly_learned
const systemEventTypes = ['node_online', 'node_offline', 'ota_update', 'baseline_changed', 'system', 'learning_milestone', 'anomaly_learned'];
const isSystemEvent = systemEventTypes.indexOf(event.type) !== -1;
const secondaryClass = (state.dashboardMode === 'expert' && isSystemEvent) ? ' secondary' : '';
const secondaryClass = isSystemEvent ? ' secondary' : '';
// Check if this event has a blob_id for explainability
const hasBlobId = event.blob_id !== undefined && event.blob_id !== null && event.blob_id !== 0;
@ -1324,10 +1324,6 @@
// Seek Handler (Time-Travel)
// ============================================
function handleSeek(timestamp, entryElement) {
if (state.dashboardMode !== 'expert') {
return;
}
// Highlight selected event
clearSelectedEvent();
if (entryElement) {

View file

@ -20,7 +20,7 @@
<link rel="stylesheet" href="css/floorplan.css">
<link rel="stylesheet" href="css/explainability.css">
<link rel="stylesheet" href="css/replay.css">
<link rel="stylesheet" href="css/expert.css">
<link rel="stylesheet" href="css/scene.css">
<link rel="stylesheet" href="css/command-palette.css">
<link rel="stylesheet" href="css/ambient.css">
@ -3497,7 +3497,6 @@
<script src="js/replay.js"></script>
<!-- Pre-Deployment Simulator -->
<script src="js/simulate.js"></script>
<!-- Simple Mode removed (progressive disclosure, see plan §8e) -->
<!-- Command Palette (legacy) -->
<!-- Command Palette (Component 34) -->
<script src="js/command-palette.js"></script>