docs: the panel in the framework (what an app supplies, which sections it gets, words, native commands)
This commit is contained in:
parent
1e853e8eff
commit
4987faa4f0
3 changed files with 91 additions and 4 deletions
|
|
@ -1,6 +1,14 @@
|
|||
# shell (internal)
|
||||
|
||||
Sources of `waybetter/shell/*`: the shell models, the Store screens and the shell frame
|
||||
(`src/frame`, `createShell`). Published as part of the [`waybetter`](../waybetter/README.md) package;
|
||||
not published on its own. The repository README's "The shell frame" section describes what an app
|
||||
supplies.
|
||||
Sources of `waybetter/shell/*`: the shell models, the Store screens, the shell frame (`src/frame`,
|
||||
`createShell`) and the panel (`src/panel`, `createPanel`: the app's own tab). Published as part of
|
||||
the [`waybetter`](../waybetter/README.md) package; not published on its own. The repository README's
|
||||
"The shell frame" and "The panel" sections describe what an app supplies.
|
||||
|
||||
The panel is here rather than in a package of its own because it is drawn inside the frame and
|
||||
shares its state: the frame's profile, deck, theme, sync and developer-mode stores, its native
|
||||
bridge and its language. It imports the theme document model from `../runtime` by source path;
|
||||
the package build (`packages/waybetter/scripts/build.mjs`) points those imports at `dist/runtime`.
|
||||
|
||||
`scripts/google-fonts-catalog.mjs` regenerates the font browser's offline Google Fonts list
|
||||
(`src/panel/fonts/googleFontsCatalog.json`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue