import type { AppRegistryMeta } from 'officerdev'; import { Bookmark, FolderTree } from 'lucide-react'; import { CollectionsPanel } from './CollectionsPanel'; import { LinksPanel } from './LinksPanel'; // Two panels: what you have saved, and how it is filed. // // It was one — the settings form — and that was the mistake worth naming. A plugin whose only screen is // its configuration is one you cannot leave: nothing is behind it, so the first thing anybody does after // installing is look for the way forward and not find one. The settings are a disclosure inside the // collections panel now, reachable when something is wrong and out of the way when it is not. // // `availableOnPanel: false` keeps them out of the generic picker: they belong to the /linkwarden screen // rather than being things to drop into an arbitrary dashboard. export const appRegistryMetas: AppRegistryMeta[] = [ { key: 'linkwarden-collections', name: 'Collections', icon: FolderTree, component: CollectionsPanel, availableOnPanel: false }, { key: 'linkwarden-links', name: 'Links', icon: Bookmark, component: LinksPanel, availableOnPanel: false }, ];