waybetter/packages/shell
CRT eb9074d776 App menu: "Check for updates" is a real check, once, now, and says what came of it calmly
Host: `updater::check_now` runs the same check the timer runs (the same updater endpoint, nothing else) for the app's shell-only `update_check`. It never queues or retries: while a check is in flight (the timer's or an earlier request's), or within 10 seconds of the last request, it only answers with the current status (`update::may_check_now`, tested). The timer's loop uses the same single-flight guard.

Frame: the menu's Updates row is that check (`updateRow`, tested): "Checking…", "Up to date · <version>", "Downloading <version>…", "Restart to update" when an update is ready (the row then installs it), and "Could not check" with a plain sentence as its tooltip when the server does not answer. The updater's error text is never shown there, and a failure is only mentioned when the owner asked for the check in this menu; the timer's own failures stay quiet.
2026-09-30 15:54:51 +00:00
..
scripts shell: the panel, createPanel(site) (moved from wayBetter for X) 2026-09-30 07:03:40 +00:00
src App menu: "Check for updates" is a real check, once, now, and says what came of it calmly 2026-09-30 15:54:51 +00:00
tests App menu: "Check for updates" is a real check, once, now, and says what came of it calmly 2026-09-30 15:54:51 +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).