import type { AppRegistryMeta } from 'officerdev'; import { PanelLeft, LayoutGrid } from 'lucide-react'; import { SoulseekNav } from './SoulseekNav'; import { SoulseekView } from './SoulseekView'; // `panels.ts`, not `.tsx` — discovery checks for that exact name. A section nav on the left and the view // on the right, both reading `:section` from the URL rather than being told by each other. // // `availableOnPanel: false` because the screen renders the workspace `locked`: these are not swappable, // and offering them in a picker would be a lie. export const appRegistryMetas: AppRegistryMeta[] = [ { key: 'soulseek-nav', name: 'Soulseek', icon: PanelLeft, component: SoulseekNav, availableOnPanel: false }, { key: 'soulseek-view', name: 'Soulseek', icon: LayoutGrid, component: SoulseekView, availableOnPanel: false }, ];