waybetter 0.5.0: docs for the host's page commands, the runtime composition, the i18n command and dev-tools
This commit is contained in:
parent
e1aa2631d9
commit
f99b8e6755
5 changed files with 70 additions and 11 deletions
|
|
@ -50,6 +50,10 @@ pieces. The source comments document each module's contract.
|
|||
**Runtime**
|
||||
|
||||
- `accountReport`: reports the signed-in account seen in the page's own UI.
|
||||
- `siteRuntime`: composes a runtime entry: `pageInvoke`, `createFeatureFlags` (flag-controlled parts, a deck column's overrides), `installSiteRuntime` (the runtime object under `window.wayBetter` and the app's names, the members native code calls, queued native deliveries, the palette command report).
|
||||
- `pageStrings`: the page's language (English built in; native deliveries are checked as data).
|
||||
- `panelButton`: the way into the app's panel from the page: the adapter's navigation entry, or a floating button.
|
||||
- `commandReport`: reports plugin palette commands to the shell; developer-mode start errors.
|
||||
- `column`: a site tab as a narrow deck column: hides the site's chrome, lets its content fill the width, per-column filters (keywords, `/regex/`, replies, reposts, media only) and an unread count from what the site rendered. Makes no requests.
|
||||
- `domHub`: one `MutationObserver` and one animation frame shared by every DOM feature.
|
||||
- `linkRouting`: routes clicks on the app's own links per the "links to app pages" setting.
|
||||
|
|
@ -108,6 +112,8 @@ const Shell = createShell({ ...site, panel: { id: 'app', title: 'wayBetter', com
|
|||
|
||||
- `waybetter store build --config store.config.mjs`: builds an app's part of the shared store folder (its items only, validated with the apps' own rules).
|
||||
- `waybetter store sign [--init] --key <private key>` / `waybetter store verify --pub <key file>`: Ed25519 signature over the exact catalog bytes; any listed public key verifies (rotation). The private key is never printed or copied.
|
||||
- `waybetter i18n check [--write] [--verbose] [locale…]`: checks an app's catalogs (and the framework's in the same languages) with the `waybetter/i18n/check` rules, bundled plugins' inline English and the generated files; `--write` regenerates `languages.json` and the native localization files (macOS, Linux). `waybetter i18n extract [--missing]`: keys the code looks up that English lacks, and English keys without a literal lookup. Both read `waybetter.i18n.json` in the app's root (`locales`, `sources`, `nativeSources`, `bundledPlugins`, `runtimeKeys`, `native`).
|
||||
- `windows/languages/<Language>.nsh`: the Windows installer's messages for the languages Tauri does not ship, next to the installer template (`windows/installer.nsi`).
|
||||
|
||||
## Plugin UI kit (`runtime/ui`)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue