waybetter/packages/shell/tests
CRT 4d2c194155 Find in page: the shell's find bar per pane (Ctrl+F, the app menu, the palette) over the engine's own find
Host: `tab_find {id, action, query}` (shell-only; start, next, previous, stop). On Windows it drives WebView2's own find (`ICoreWebView2Find` from `ICoreWebView2_28`, find options from `ICoreWebView2Environment15`; its built-in find bar suppressed, all matches highlighted) and reports the engine's match count and active match to the shell as `tab-find` events. On macOS, Linux and an older WebView2 Runtime native code evaluates the engine's `window.find` in the tab instead (next and previous work, no count); WKWebView's and WebKitGTK's native find are not wired here because this tree cannot be compiled or run for them on this machine. The query is one typed line (1..=256 characters, no control characters), goes to the engine and is kept nowhere. Tabs gain no command: a tab forwards the existing key name `find` (Ctrl+F) through tab_shortcut.

Frame: FindBar.tsx takes the address field's place in its pane's toolbar while open, so the page does not move and in split view the bar is the searched pane's. "3/17" where the engine counts, "No matches" for none; Enter / F3 next, Shift+Enter / Shift+F3 previous, Esc closes, clears the highlights and gives the page the keyboard. `features.find` (on by default) gates the menu row, the palette entry and the keys. Only what the page has rendered can be found, as in a browser.

Also: this makes `pub mod find` in lib.rs (already in HEAD) resolve again.
2026-09-30 15:34:48 +00:00
..
deckModel.test.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
frame.test.ts shell: the shell frame, createShell(site) (moved from wayBetter for X) 2026-09-29 05:47:10 +00:00
language.test.ts i18n: supported and community language tiers 2026-09-30 08:48:11 +00:00
linkDrop.test.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
menu.test.ts Find in page: the shell's find bar per pane (Ctrl+F, the app menu, the palette) over the engine's own find 2026-09-30 15:34:48 +00:00
models.test.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00
panel.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
store.test.ts shell: the Store view and install screen as framework React components, strings in the framework catalogs 2026-09-29 04:08:04 +00:00
windowControls.test.ts Extract the wayBetter framework core from wayBetter for X 2026-09-27 20:01:33 +00:00