Skip to content

Cursor event context#200

Draft
aidenybai wants to merge 10 commits intomainfrom
cursor/cursor-event-context-ccf8
Draft

Cursor event context#200
aidenybai wants to merge 10 commits intomainfrom
cursor/cursor-event-context-ccf8

Conversation

@aidenybai
Copy link
Owner

@aidenybai aidenybai commented Feb 28, 2026

Add an ambient event context system with a floating copy badge to silently track user interactions and provide a contextual trail for coding agents.


Open in Web Open in Cursor 


Summary by cubic

Adds ambient hover/click tracking with a toolbar trail copy button that shows a count and copy feedback. Auto-copies the trail on window blur; removed the floating badge UI.

  • New Features

    • Track hover/click when not selecting: 400ms hover dwell, 100ms de-dupe, hover→click subsumption, max 10 entries, 60s freshness.
    • Trail store with copy formatting; toolbar button shows count and a check on copy (1.5s). Renderer wired via eventContextTrailCount, eventContextCopyStatus, onCopyEventContext; export EventContextEntry.
  • Refactors

    • Removed the ambient copy badge and related signals; simplified core tracking to just the trail with copy in the toolbar.

Written for commit f4f72f6. Summary will update on new commits.

cursoragent and others added 6 commits February 28, 2026 01:49
…py badge component

Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
…rer props

Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
…detection

Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
@cursor
Copy link

cursor bot commented Feb 28, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link
Contributor

vercel bot commented Feb 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-grab-website Ready Ready Preview, Comment Feb 28, 2026 3:26am

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 28, 2026

Open in StackBlitz

@react-grab/cli

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/cli@200

grab

npm i https://pkg.pr.new/aidenybai/react-grab/grab@200

@react-grab/ami

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/ami@200

@react-grab/amp

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/amp@200

@react-grab/claude-code

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/claude-code@200

@react-grab/codex

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/codex@200

@react-grab/copilot

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/copilot@200

@react-grab/cursor

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/cursor@200

@react-grab/droid

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/droid@200

@react-grab/gemini

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/gemini@200

@react-grab/opencode

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/opencode@200

react-grab

npm i https://pkg.pr.new/aidenybai/react-grab@200

@react-grab/relay

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/relay@200

@react-grab/utils

npm i https://pkg.pr.new/aidenybai/react-grab/@react-grab/utils@200

commit: f4f72f6

Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
…hover/click

Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
…back

Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
Co-authored-by: Aiden Bai <aidenybai@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants