Added staging for new widget.
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user