Skip to content

Input bot default interaction#138

Draft
aidenybai wants to merge 1 commit intomainfrom
cursor/input-bot-default-interaction-6adc
Draft

Input bot default interaction#138
aidenybai wants to merge 1 commit intomainfrom
cursor/input-bot-default-interaction-6adc

Conversation

@aidenybai
Copy link
Owner

@aidenybai aidenybai commented Feb 2, 2026

Make single-click enter prompt mode by default when an agent is configured, allowing empty submission to copy.

Previously, a single click would directly copy the element when an agent was configured. This change prioritizes agent interaction by immediately showing the input bot, while still providing a clear path to copy the element by submitting an empty prompt. The placeholder text and submit button styling have been updated to reflect this new interaction flow.


Open in Cursor Open in Web


Summary by cubic

Single-click now opens prompt mode when an agent is configured, prioritizing interaction. Submitting an empty prompt copies the element to the clipboard.

  • New Features
    • Enter prompt mode on single click when an agent is available.
    • Empty submit copies to clipboard.
    • Placeholder updated to "enter to copy"; submit button always enabled.
    • Added e2e tests for single-click prompt mode and empty-submit copy.

Written for commit 420809d. Summary will update on new commits.

- Changed default behavior so single click enters prompt mode when agent is available
- Empty submit in prompt mode now copies to clipboard (submit nothing to copy)
- Removed opacity styling from submit button when input is empty (button always clickable)
- Updated placeholder text to 'enter to copy'
- Added tests for new single click and empty submit behavior

Co-authored-by: aiden <aiden@million.dev>
@cursor
Copy link

cursor bot commented Feb 2, 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

vercel bot commented Feb 2, 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 2, 2026 4:38am

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 2, 2026

Open in StackBlitz

@react-grab/cli

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

grab

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

@react-grab/ami

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

@react-grab/amp

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

@react-grab/claude-code

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

@react-grab/codex

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

@react-grab/cursor

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

@react-grab/droid

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

@react-grab/gemini

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

@react-grab/opencode

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

react-grab

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

@react-grab/relay

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

commit: 420809d

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

Comments