Summary #
The gallery is an app of its own. just gallery opens it, with no Daemon. The App loses Cmd+8 and the gallery's module.
app/
-├── gallery/ # Gallery.tsx, samples.ts, login-mock.svg
-├── App.test.tsx # gallery tests, opened with Cmd+8
-├── assets/fonts/ # copied Geist files
+├── package.json # geist 1.9.2
└── Shell.tsx # no "Components" page, Location { place, repo }
+gallery/
+├── nsh.json # theme: ../ui/theme.json
+├── App.tsx # mounts GalleryPage
+├── App.test.tsx
+├── Gallery.tsx, samples.ts, assets/login-mock.svg
+└── package.json # geist 1.9.2
NSH refuses an asset from outside the app's folder, through a link or an alias too. So both apps take Geist from npm:
-import "./assets/fonts/Geist-Regular.woff2";
+import "./node_modules/geist/dist/fonts/geist-sans/Geist-Regular.woff2";
just app | gallery | test-* | pictures | shot | live-check
_fonts <dir> npm ci when node_modules/geist is missing
just lint fails when app/ and gallery/ pin different geist versions
just deploy
copy app/ ui/ protocol/ to a temp folder (sources only)
npm ci, nsh package there: the working tree stays as it is
Evidence #
- Before: the App's bundle holds the gallery: 165.5 KB JS, 588.5 KB bytecode, 7 assets,
gallery-outlineinbundle.js. After: 81.8 KB JS, 218.2 KB bytecode, 6 assets (the fonts), nogallery-outline.
just check and just test pass: 21 Daemon, 15 App and 15 gallery tests.
gallery open ./App.tsx → the outline shows, no key first
deploy the App builds from a copy → outside the working tree, packages and ui/ beside it (red before)
lint geist 1.9.1 vs 1.9.2 → fails, names both
just pictures shows Geist and Geist Mono. The deploy's copy, npm ci and nsh package steps built Pilot.app with the 6 fonts by hand. A full deploy has not run.
Merge Danger #
Door: two-way
Blast Radius: fonts
- The App's font changes a little: Geist 1.9.2 from npm. No
geistrelease matched the old files. - Building the App needs npm, and the network once.