waybetter/packages/shell
CRT a6a9d52ed8 Feature modules in a new app, i18n rename, and what the first area port needed
- create-waybetter: the generated app has a feature table (one area, one feature, three modes), a feature module, the registry in its runtime, the cards and the first-run screen in its panel
- waybetter i18n rename --map <file> [--copy]: keys move or are copied in every catalog with each language's own value
- feature context: win (no globals in a module), text() for a feature's words (t('...') is read as a whole catalog key by the i18n tools)
- probes: `when` (only counts while the part of the page it lives in is there)
- cards: a caret, an empty area says its features come later; the first-run screen takes the whole panel
2026-09-30 12:25:15 +00:00
..
scripts shell: the panel, createPanel(site) (moved from wayBetter for X) 2026-09-30 07:03:40 +00:00
src Feature modules in a new app, i18n rename, and what the first area port needed 2026-09-30 12:25:15 +00:00
tests Panel: area plugin cards with per-feature toggles, the Fixes list, modes (first-run screen and Settings) 2026-09-30 11:34:14 +00:00
package.json shell: the Store view and install screen as framework React components, strings in the framework catalogs 2026-09-29 04:08:04 +00:00
README.md docs: the panel in the framework (what an app supplies, which sections it gets, words, native commands) 2026-09-30 07:03:41 +00:00
tsconfig.build.json shell: the panel, createPanel(site) (moved from wayBetter for X) 2026-09-30 07:03:40 +00:00

shell (internal)

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 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).