Skip to content

Add ability to share scan result via shareable link#204

Open
NaitikVerma6776 wants to merge 1 commit into
Mrinalray:mainfrom
NaitikVerma6776:feature/share-scan-result
Open

Add ability to share scan result via shareable link#204
NaitikVerma6776 wants to merge 1 commit into
Mrinalray:mainfrom
NaitikVerma6776:feature/share-scan-result

Conversation

@NaitikVerma6776

Copy link
Copy Markdown

Summary

  • Adds a Share Result button on safe/danger result cards that copies a ?url= deep link to the clipboard
  • Opening a shared link auto-fills the URL input and triggers a scan
  • Skips the intro loader for shared links so recipients see results immediately

Closes #180

Test plan

  • Scan a URL (safe or danger) and confirm Share Result appears on the result card
  • Click Share Result and verify the clipboard contains origin/path?url=...
  • Confirm button shows Link copied! for ~2 seconds
  • Open the shared link in a new tab and confirm the input fills and scan runs automatically
  • Confirm Share Result does not appear on loading or error states

Made with Cursor

Lets users copy a ?url= deep link that auto-fills and rescans for recipients.

Co-authored-by: Cursor <cursoragent@cursor.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.

Title: Add ability to share scan result via shareable link

1 participant