Added staging for new widget.

This commit is contained in:
2026-07-13 14:28:33 -07:00
parent df8bcd376e
commit e0de9800c4
3 changed files with 201 additions and 0 deletions
+19
View File
@@ -64,5 +64,24 @@ export const WIDGET_REGISTRY = {
small: { w: 3, h: 12 },
large: { w: 9, h: 12 }
}
},
"explosion_events": {
name: "Explosion Events",
category: "Daily Volcanic Activity",
description: "List of explosion events over a specified time period.",
component: lazy(() => import('../components/Widgets/ExplosionEvents.jsx')),
// The specific settings UI for this widget
settingsComponent: lazy(() => import('../components/widgets/settings/ExplosionEventsSettings.jsx')),
// The baseline data every new VAA widget starts with
defaultSettings: {
yAxisScale: 'normal' // Options: 'normal' | 'symlog'
},
allowedSizes: {
medium: { w: 6, h: 12 }
}
}
};