-
Notifications
You must be signed in to change notification settings - Fork 1
feat: integrate website-hook-sdk with auto-screenshot capture component #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
prdai
merged 21 commits into
main
from
CROW-106-client-side-website-hook-sdk-integration-with-html-2-canvas
Dec 24, 2025
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
4605c53
feat: integrate website-hook-sdk with auto-screenshot capture component
Methika1234 fd28117
refactor: simplify AutoScreenshotCapture by delegating config to SDK
Methika1234 fbd5125
chore: configure auto-capture interval to 100ms
Methika1234 5800eff
feat: enable pointer tracking with 15ms batching for testing
Methika1234 5301253
chore: adjust pointer tracking to 1 second batching for performance t…
Methika1234 80f1863
refactor: replace AutoScreenshotCapture with InteractionTracker compo…
Methika1234 061d919
refactor: simplify InteractionTracker to use initInteractionTracking API
Methika1234 120033e
docs: add explanatory comments to InteractionTracker component
Methika1234 4c811e6
chore: use local website-hook-sdk for development
Methika1234 c18cf6a
chore: configure webpack and transpilation for local website-hook-sdk
Methika1234 5d0454b
chore: switch from bun to pnpm package manager
Methika1234 2b53f42
chore: remove webpack and transpilation configuration
Methika1234 234a1ca
chore: migrate properly from pnpm to bun
prdai d0c4150
chore: update pnpm lock file
prdai 92d40e9
chore: update versions
prdai 9989c94
chore: update the website hook sdk version
prdai c3ebda5
chore: update playwright ci/cd
prdai 1f69323
chore: update again
prdai c2fb82f
chore: add pnpm setup action
prdai 8352c0f
chore: specify pnpm pacakge version
prdai bb8e322
chore: add pnpm
prdai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| "use client"; | ||
|
|
||
| import { useEffect } from "react"; | ||
| import { initInteractionTracking } from "@b3-crow/website-hook-sdk"; | ||
|
|
||
| export function InteractionTracker() { | ||
| useEffect(() => { | ||
| // This starts both screenshot capture and mouse cursor tracking | ||
| initInteractionTracking({ | ||
| logging: true, // Enable detailed pointer tracking logs | ||
| }); | ||
Methika1234 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| }, []); | ||
|
|
||
| return null; | ||
| } | ||
Methika1234 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.