Skip to content

feat: add copy suggestion button to debug issue cards (#778)#792

Open
sks-007 wants to merge 1 commit into
imDarshanGK:mainfrom
sks-007:feature/issue-778-copy-button
Open

feat: add copy suggestion button to debug issue cards (#778)#792
sks-007 wants to merge 1 commit into
imDarshanGK:mainfrom
sks-007:feature/issue-778-copy-button

Conversation

@sks-007
Copy link
Copy Markdown

@sks-007 sks-007 commented Jun 2, 2026

Description

This PR addresses the issue where users had to manually select and copy text from the debug issue card suggestions.

I've added a "Copy" button to the debug issue cards in both the main interface (index.html) and the standalone script (script.js). When clicked, it copies the exact suggestion text to the user's clipboard and provides visual feedback (the button text briefly changes to "✓ Copied!" with a green background, and a toast notification appears).

Related Issue

Fixes #778

Type of change

  • Bug fix
  • New feature / enhancement
  • Documentation update
  • Test addition
  • Refactor

Checklist

  • My branch is up to date with main
  • I have run pytest -v and all tests pass (N/A - this is a frontend-only change)
  • I have not introduced duplicate issues or features
  • My PR title follows the format: feat/fix/docs/test: short description
  • I have added tests for new features (Level 2 and 3 issues) (N/A - this is a minor UI addition)

@sks-007 sks-007 requested a review from imDarshanGK as a code owner June 2, 2026 14:57
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.

[Feature] Add Copy suggestion button to debug issue cards

1 participant