// `panels.ts`, not `.tsx` — discovery checks for that exact name. import type { AppRegistryMeta } from 'officerdev'; import { Globe, LayoutList } from 'lucide-react'; import { TabList } from './TabList'; import { TabPreview } from './TabPreview'; // Two panels, both self-contained — they read their own data and take no props, which is why the screen // that used to render them (`BrowserScreen.tsx`, with `appType: null` placeholders) had nothing to pass // and could simply be deleted. The Workspace hosts them directly now. export const appRegistryMetas: AppRegistryMeta[] = [ { key: 'officerdev/browser-tabs', name: 'Tabs', icon: LayoutList, component: TabList, availableOnPanel: false, }, { key: 'officerdev/browser-preview', name: 'Preview', icon: Globe, component: TabPreview, availableOnPanel: false, }, ];