Extract the wayBetter framework core from wayBetter for X
Site-agnostic parts of the X app, behind a small site adapter: - crates/waybetter-host: webview-label security policy and tab rect clamp, account profiles with native-owned accounts (AccountRules), plugin store with bundled-plugin upgrades (PluginHost), signed data-only hotfix channel, update scheduling and crash handshake, tab payloads/link routing/tab-chrome validation, and (feature "tauri") webview helpers and the Windows system menu. - packages/runtime: DOM hub, request hub, plugin API core, OKLab theme color model, split-view rail hiding, link routing and account reporting, each configured by a SiteAdapter. - packages/shell: address bar, pane, link-drop, profile, palette and update-chip models, and window controls with the Tauri API injected. Tests moved/adapted from the app: 45 Rust (headless), 40 TypeScript.
This commit is contained in:
commit
43a9e2e1a7
48 changed files with 9768 additions and 0 deletions
1
crates/waybetter-host/tests/fixtures/hotfix-test.json.sig
vendored
Normal file
1
crates/waybetter-host/tests/fixtures/hotfix-test.json.sig
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVUdjlNRUFJZks1emZIOENOOWRkQ0JpUDYrTVkwU2NHU0hxUmV6Wk1ZamZsUkE4azNPSG94TlBETzZvK04zWkJ4SFRrRTYwSnlwT2liU3I4TFZERzNjcXEzdG41dnRTTHdBPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzkwNDY3Mzc1CWZpbGU6aG90Zml4LWZpeHR1cmUuanNvbgovS3lPaGUxQ2tnNW03UmdseVdCdUt1RjhucHJRdGhjdFQ1Q1VkUGpvU2ZZR1MrS1BsQWVzSUlWQ1lVdDdZaUJGdFdSNitXZjNJNU9vZzAyT2hEYXNCUT09Cg==
|
||||
Loading…
Add table
Add a link
Reference in a new issue