mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-11-02 10:19:43 +00:00
refactor(swipe): split swipe screen modules
Move swipe screen logic into hooks/services and extract state-specific UI components to keep files small while preserving existing behavior. Reference: US-002
This commit is contained in:
1 parent
209dc652d2
commit
8d4d9d8750
55 files changed
+11127
-1681
No files matched your search
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* ARIA Snapshot module for dev-browser.
|
||||
*
|
||||
* Provides Playwright-compatible ARIA snapshots with cross-connection ref persistence.
|
||||
* Refs are stored on window.__devBrowserRefs and survive across Playwright reconnections.
|
||||
*
|
||||
* Usage:
|
||||
* import { getSnapshotScript } from './snapshot';
|
||||
* const script = getSnapshotScript();
|
||||
* await page.evaluate(script);
|
||||
* // Now window.__devBrowser_getAISnapshot() and window.__devBrowser_selectSnapshotRef(ref) are available
|
||||
*/
|
||||
|
||||
export { getSnapshotScript, clearSnapshotScriptCache } from "./browser-script";
|
||||
Reference in new issue
Block a user