Skip to content

Enlace del tag de las flashcards a issues en GitHub - #162

Draft
carloshm with Copilot wants to merge 2 commits into
mainfrom
copilot/add-flashcard-tag-link-issues
Draft

Enlace del tag de las flashcards a issues en GitHub#162
carloshm with Copilot wants to merge 2 commits into
mainfrom
copilot/add-flashcard-tag-link-issues

Conversation

Copilot AI commented May 4, 2026

Copy link
Copy Markdown
Contributor

Wraps the origin tag badge on flashcards with a link that opens a pre-filled GitHub issue for direct feedback, passing the flashcard ID.

  • Helper function buildFlashcardIssueUrl(flashcardId) builds a github.com/.../issues/new URL with pre-filled title, body (with flashcard ID), and flashcard-feedback label
  • All 3 flashcard views updated (study mode, grid, list) — origin badge wrapped in <a target="_blank"> with stopPropagation to avoid triggering card flip/selection
const buildFlashcardIssueUrl = (flashcardId: string) => {
  const params = new URLSearchParams({
    title: `[Flashcard] Feedback: ${flashcardId}`,
    body: `**Flashcard ID:** \`${flashcardId}\`\n\nDescribe tu feedback...\n\n`,
    labels: 'flashcard-feedback',
  });
  return `${REPO_ISSUES_URL}?${params.toString()}`;
};

Copilot AI changed the title [WIP] Add flashcard tag link to create issues on GitHub Enlace del tag de las flashcards a issues en GitHub May 4, 2026
Copilot AI requested a review from carloshm May 4, 2026 17:31
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.

enlace del tag de las flashcards a issues en github

2 participants