import type { AppRegistryMeta } from 'officerdev'; import { GitBranch } from 'lucide-react'; import { GiteaFrame } from './GiteaFrame'; import { GiteaViewHeader } from './GiteaViewHeader'; // ONE panel, where the old screen had seventeen files behind two. // // There is no nav panel because Gitea has its own, inside the frame. A second navigation beside it would // be two things claiming to say where you are, and the one that could not actually move you. export const appRegistryMetas: AppRegistryMeta[] = [ { key: 'gitea-frame', name: 'Gitea', icon: GitBranch, component: GiteaFrame, // The settings live in the HEADER, not floating over the frame: an overlay on an application that // fills its own panel sits on top of that application's controls, and is invisible until you already // know it is there. header: GiteaViewHeader, availableOnPanel: false, }, ];