waybetter/packages/runtime/tests
CRT 65b41f0cb4 Theme color model: a foreground the site paints dimmer than its secondary text becomes the theme's secondary text
A site may color an icon or text with one of its border grays (X's composer toolbar: 1.7:1 on its
own black). Placed by axis position it landed between a theme's background and its secondary
text, under every contrast a theme guarantees. In text usage that stretch of the axis (above the
most raised surface, below secondary text) now maps to the theme's secondary text; surface-dark
foregrounds (labels on a filled surface), borders and backgrounds are unchanged.
2026-09-30 15:58:48 +00:00
..
column.test.ts runtime column: set the column attributes on scan (config delivered at document start has no <html> yet), no scrollbar in columns, unread only above both the read items and what is on screen, a hidden 1 px webview counts as off screen 2026-09-28 16:42:21 +00:00
commands.test.ts runtime: plugin commands for the command palette (api.commands / scope.commands: register, list, run, owner = the starting plugin, removed on stop, caps, in-page shortcuts); host: start/stop scripts own and drop a plugin's commands; dev_start_script with sourceURL + devError for live reload; devErrors (file:line from a start failure) 2026-09-28 18:35:44 +00:00
devErrors.test.ts runtime: plugin commands for the command palette (api.commands / scope.commands: register, list, run, owner = the starting plugin, removed on stop, caps, in-page shortcuts); host: start/stop scripts own and drop a plugin's commands; dev_start_script with sourceURL + devError for live reload; devErrors (file:line from a start failure) 2026-09-28 18:35:44 +00:00
features.test.ts Feature health on the area cards: a feature that paused itself is named by its area's "health" palette entry, and the panel reads it for the row and the card (no new report to the host) 2026-09-30 15:00:04 +00:00
hubs.test.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
i18n.test.ts locales: the Windows installer's words (wb.installer.*) and its language files, generated from the catalogs 2026-09-30 07:48:04 +00:00
linkRouting.test.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
pageLang.test.ts pageLang: report X's language even when installed before <html> exists or before the IPC bridge 2026-09-29 04:01:53 +00:00
paneNav.test.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
permissions.test.ts Plugin permissions and app installs: @permissions header, per-plugin API views, validated install/remove 2026-09-28 18:08:52 +00:00
pluginApi.test.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
siteRuntime.test.ts Feature modules: a feature table (areas, flags, modes), a registry that runs a module only on its surfaces, one shared observer for every feature and plugin, settings from a schema, selector health with self-pause 2026-09-30 11:11:42 +00:00
stringPacks.test.ts String packs, phase 1: data-only packs that replace the wrapped site's own UI strings. Pack and inventory formats, validator (only inventory keys, parameter names, plural and select kinds, no markup), ordered idempotent engine that keeps what a restore needs, coverage and drift report; the per-site catalog hook adapter with a self-check (ok, hook not matched, no catalog seen), a fail-open webpack chunk array hook, a small DOM text net; waybetter strings check 2026-09-30 15:38:07 +00:00
styles.test.ts runtime: styles for created roots are constructed sheets (CSP-proof) 2026-09-28 21:09:14 +00:00
themeEngine.test.ts Theme engine: a rule is read as it takes effect (a Tailwind opacity utility's nested @supports value, not its solid fallback); unsupported @supports groups are left out; reach() is exported for site adapters 2026-09-30 14:04:12 +00:00
themeTokens.test.ts Theme color model: a foreground the site paints dimmer than its secondary text becomes the theme's secondary text 2026-09-30 15:58:48 +00:00
ui.test.ts runtime: plugin UI kit (api.ui: toast, alert, confirm, prompt, dialog, modal) and theme API (api.theme, --wb-* vars); theme JSON Schema; waybetter 0.2.0 2026-09-28 14:47:09 +00:00