import type { AppRegistryMeta } from 'officerdev'; import { FolderTree, SquareKanban } from 'lucide-react'; import { ProjectsPanel } from './ProjectsPanel'; import { BoardPanel } from './BoardPanel'; /** * Two panels: which project, and the board of it. * * Siblings that never speak to each other — the selector writes `?project=` and the board reads it. * That is `docs/navigation-audit.md`'s rule, and it is what makes a board linkable and survive a reload. * * `availableOnPanel: false` on the selector: a project list on somebody's dashboard would be a list * that changes a URL parameter nothing on that screen reads. The BOARD is offered, because a board of * the project you last chose is a perfectly good dashboard panel. */ export const appRegistryMetas: AppRegistryMeta[] = [ { key: 'kanban-projects', name: 'Projects', icon: FolderTree, component: ProjectsPanel, availableOnPanel: false, }, { key: 'kanban-board', name: 'Board', icon: SquareKanban, component: BoardPanel, }, ];