waybetter/packages/runtime/tests
2026-10-01 04:25:04 +07: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 23:42:21 +07: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-29 01:35:44 +07: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-29 01:35:44 +07:00
features.test.ts Modes: a mode that no longer matches the features reads "Custom (based on <mode>)" and offers "Re-apply <mode>" 2026-10-01 03:33:41 +07:00
hubs.test.ts Extract the wayBetter framework core from wayBetter for X 2026-09-28 03:01:33 +07:00
i18n.test.ts App menu and mode words in every catalog: find in page, update check, safe mode, report a problem, Custom/Re-apply 2026-10-01 03:50:45 +07:00
linkRouting.test.ts Extract the wayBetter framework core from wayBetter for X 2026-09-28 03:01:33 +07:00
pageLang.test.ts pageLang: report X's language even when installed before <html> exists or before the IPC bridge 2026-09-29 11:01:53 +07:00
paneNav.test.ts Extract the wayBetter framework core from wayBetter for X 2026-09-28 03:01:33 +07:00
permissions.test.ts Plugin permissions and app installs: @permissions header, per-plugin API views, validated install/remove 2026-09-29 01:08:52 +07:00
pluginApi.test.ts Plugin API: a style injected at document start waits for the document root 2026-10-01 03:39:16 +07: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 18:11:42 +07:00
stringPacks.test.ts String packs: a page gets only the slice of the inventory its packs' keys need (sliceInventory, isPageInventory); a slice does not call other keys new 2026-10-01 03:30:21 +07:00
stringPackTranslate.test.ts String packs: translate mode. Strings carry an invisible key marker, a click on a word opens an editor that checks the edit with the pack rules, edits collect in the tab as a draft pack that applies after a reload, and "Copy pack file" gives the pack; the Languages section switches it on (the delivery then carries the whole inventory, packs or not); native code accepts such a delivery without packs 2026-10-01 04:25:04 +07:00
styles.test.ts runtime: styles for created roots are constructed sheets (CSP-proof) 2026-09-29 04:09:14 +07: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 21:04:12 +07:00
themeStructure.test.ts Theme engine v2, the document side: component tokens, layout variants, decoration, icon packs 2026-09-30 23:22:36 +07: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 22:58:48 +07: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 21:47:09 +07:00