layout shifts
This commit is contained in:
@@ -138,6 +138,15 @@ export const defaultChartLayout: ChartPanel[] = [
|
||||
|
||||
export const storedChartLayout = persisted<ChartPanel[]>('chart_layout_v1', defaultChartLayout);
|
||||
|
||||
/**
|
||||
* Time range the meteograms open on. 'auto' narrows to three days on a phone,
|
||||
* where a full week of hours is too dense to read, and shows everything on
|
||||
* roomier screens.
|
||||
*/
|
||||
export type ChartRangePref = 'auto' | 'today' | '3d' | '5d' | 'all';
|
||||
|
||||
export const storedChartRange = persisted<ChartRangePref>('chart_range_v1', 'auto');
|
||||
|
||||
/** Selected ensemble model for the 14-day spread forecast. */
|
||||
export const storedEnsembleModel = persisted<string>('ensemble_model', 'ncep_gefs_seamless');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user