waybetter/packages/shell
CRT a834b0b513 Panel: area plugin cards with per-feature toggles, the Fixes list, modes (first-run screen and Settings)
- PanelSite.features: the app's feature table; AreaPlugins draws one card per area (switch, count, grouped features, Settings button that runs the area's command in the site tab) and the core flags as Fixes
- a feature still backed by an old plugin file is switched through plugin_set_enabled from its card and left out of the JavaScript plugins list
- Modes: Onboarding (three cards, recommended preselected; an existing setup may be kept) and ModeSettings with the keep-my-changes question; openOnboardingWhenDue for ShellSite.start
- flags are saved sparsely (only what differs from the table's defaults)
- PanelSite.appearance.extra; palette commands of an area are listed under its name
- the kit's words for feature settings and health notes; English in the framework catalog
2026-09-30 11:34:14 +00:00
..
scripts shell: the panel, createPanel(site) (moved from wayBetter for X) 2026-09-30 07:03:40 +00:00
src 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
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).