waybetter/packages/runtime/src
CRT faa5bd292b pageLang: report X's language even when installed before <html> exists or before the IPC bridge
At document start (where the app installs the X runtime) there is no <html> element yet, so
the lang report never ran and "Follow X" never learned X's language (found live: siteLang
stayed null). It now reads lang again at readystatechange/DOMContentLoaded, and a report
that fails (no bridge yet) is retried with a bounded backoff. Tests.
2026-09-29 04:01:53 +00:00
..
accountReport.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
column.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.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.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
domHub.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
i18n.ts i18n: dependency-free message runtime, catalog checks, plugin strings, native strings 2026-09-29 02:53:48 +00:00
i18nCheck.ts i18n: dependency-free message runtime, catalog checks, plugin strings, native strings 2026-09-29 02:53:48 +00:00
linkRouting.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
netHub.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
pageLang.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.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
permissions.ts i18n: dependency-free message runtime, catalog checks, plugin strings, native strings 2026-09-29 02:53:48 +00:00
pluginApi.ts i18n: dependency-free message runtime, catalog checks, plugin strings, native strings 2026-09-29 02:53:48 +00:00
pluginI18n.ts i18n: dependency-free message runtime, catalog checks, plugin strings, native strings 2026-09-29 02:53:48 +00:00
site.ts Deck columns (Power User Mode): shell deckModel (bounded decks, paging layout, focus, unread totals), runtime column mode (hide site chrome, fill width, filters, unread tracking, no requests), host ColumnConfig bounds, TabRole, deck shortcuts, capped unread in TabState; column boxes skip rail rules 2026-09-28 15:55:57 +00:00
styles.ts runtime: styles for created roots are constructed sheets (CSP-proof) 2026-09-28 21:09:14 +00:00
themeApi.ts runtime: font roles in the theme API (fonts per role, --wb-font-<role> vars, UI kit uses the dialog/mono roles); theme schema: font.roles with Google Fonts source 2026-09-28 16:56:37 +00:00
themeTokens.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
ui.ts i18n: dependency-free message runtime, catalog checks, plugin strings, native strings 2026-09-29 02:53:48 +00:00