Skip to content

Real-time dashboard for monitoring global news, markets, and geopolitical events

TypeScript
2.2 KB
Raw Blame
/**
 * Onboarding presets for first-time users
 */

import type { PanelId } from './panels';

export interface Preset {
	id: string;
	name: string;
	icon: string;
	description: string;
	panels: PanelId[];
}

export const PRESETS: Record<string, Preset> = {
	'news-junkie': {
		id: 'news-junkie',
		name: 'News Junkie',
		icon: 'πŸ“°',
		description: 'Stay on top of breaking news across politics, tech, and finance',
		panels: ['politics', 'tech', 'finance', 'gov', 'ai', 'mainchar', 'map']
	},
	trader: {
		id: 'trader',
		name: 'Trader',
		icon: 'πŸ“ˆ',
		description: 'Market-focused dashboard with stocks, crypto, and commodities',
		panels: [
			'markets',
			'heatmap',
			'commodities',
			'crypto',
			'polymarket',
			'whales',
			'printer',
			'finance',
			'map'
		]
	},
	geopolitics: {
		id: 'geopolitics',
		name: 'Geopolitics Watcher',
		icon: '🌍',
		description: 'Global situation awareness and regional hotspots',
		panels: [
			'map',
			'intel',
			'leaders',
			'politics',
			'gov',
			'venezuela',
			'greenland',
			'iran',
			'correlation',
			'narrative'
		]
	},
	intel: {
		id: 'intel',
		name: 'Intelligence Analyst',
		icon: 'πŸ”',
		description: 'Deep analysis, pattern detection, and narrative tracking',
		panels: ['map', 'intel', 'leaders', 'correlation', 'narrative', 'mainchar', 'politics']
	},
	minimal: {
		id: 'minimal',
		name: 'Minimal',
		icon: '⚑',
		description: 'Just the essentials - map, news, and markets',
		panels: ['map', 'politics', 'markets']
	},
	everything: {
		id: 'everything',
		name: 'Everything',
		icon: 'πŸŽ›οΈ',
		description: 'Kitchen sink - all panels enabled',
		panels: [
			'map',
			'politics',
			'tech',
			'finance',
			'gov',
			'heatmap',
			'markets',
			'monitors',
			'commodities',
			'crypto',
			'polymarket',
			'whales',
			'mainchar',
			'printer',
			'contracts',
			'ai',
			'layoffs',
			'venezuela',
			'greenland',
			'iran',
			'leaders',
			'intel',
			'correlation',
			'narrative'
		]
	}
};

export const PRESET_ORDER = [
	'news-junkie',
	'trader',
	'geopolitics',
	'intel',
	'minimal',
	'everything'
];

// Storage keys
export const ONBOARDING_STORAGE_KEY = 'onboardingComplete';
export const PRESET_STORAGE_KEY = 'selectedPreset';