mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-11-02 18:19:44 +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,13 @@
|
||||
/**
|
||||
* Injectable snapshot script for browser context.
|
||||
*
|
||||
* This module provides the getSnapshotScript function that returns a
|
||||
* self-contained JavaScript string for injection into browser contexts.
|
||||
*
|
||||
* The script is injected via page.evaluate() and exposes:
|
||||
* - window.__devBrowser_getAISnapshot(): Returns ARIA snapshot YAML
|
||||
* - window.__devBrowser_selectSnapshotRef(ref): Returns element for given ref
|
||||
* - window.__devBrowserRefs: Map of ref -> Element (persists across connections)
|
||||
*/
|
||||
|
||||
export { getSnapshotScript, clearSnapshotScriptCache } from "./browser-script";
|
||||
Reference in new issue
Block a user