waybetter/packages/runtime/tests
CRT 13ac2827fe Theme icons: glyphs drawn whole in the icon's content box
Live 2026-10-01: X's search-field icon is a 28x16 box with 12px of padding; sized at 100% of that width a
pixel glyph lost its top and bottom and sat left of X's own icon. Glyphs are now sized with contain (a
scaled pack by the box's height) and placed in the content box, for masks and images alike.
2026-10-01 15:52:56 +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 DOM hub: open shadow roots of hosts a site names are part of the page 2026-10-01 05:02:01 +07:00
hubs.test.ts DOM hub: open shadow roots of hosts a site names are part of the page 2026-10-01 05:02:01 +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
stringPacksRich.test.ts String packs: rich-text entries, language conditions and word rewriting; theme doctor report; translate-mode words 2026-10-01 14:19:36 +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
themeDoctor.test.ts String packs: rich-text entries, language conditions and word rewriting; theme doctor report; translate-mode words 2026-10-01 14:19:36 +07:00
themeEngine.test.ts Theme engine: page flags instead of page-wide :has() 2026-10-01 10:42:45 +07:00
themeStructure.test.ts Theme icons: glyphs drawn whole in the icon's content box 2026-10-01 15:52:56 +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