Skip to content

Feedback dialog that opens a pre-filled GitHub issue - #25

Merged
acesonic7 merged 1 commit into
mainfrom
feat/feedback
Oct 7, 2026
Merged

acesonic7 merged 1 commit into
mainfrom
feat/feedback

Conversation

@acesonic7

Copy link
Copy Markdown
Owner

Summary

  • Feedback dialog (app/components/feedback/Feedback.tsx), opened from a Feedback button in the top bar (md and up) and links in the landing and app footers (which cover phones).
    • The form has a kind (Something's wrong / An idea / A question), a title (required), details (optional, up to 3,000 characters), and "Include the app version and your browser", ticked by default.
    • It sends nothing itself. "Continue on GitHub" opens a new tab with the right issue form filled in (lib/feedback.ts):
      • bug → bug_report.yml (what, browser, version);
      • idea → feature_request.yml (need);
      • question → a blank issue labelled question, with the context appended.
    • The dialog says a GitHub account is needed, that issues are public, and to leave out anything confidential. Study content is never attached.
  • Privacy page: adds a paragraph saying GitHub receives the pre-filled text when its page loads, and nothing is published until the person submits it.
  • Fix: the export cards rendered their how-to text in a <p>, and the Sawtooth card nests an <ol> and a <p> inside it. React reported this as a hydration error in development. The wrapper is now a <div>.

Test plan

  • npm test (1044 passed, 5 new), npx tsc --noEmit
  • Browser: the dialog opens from the top bar; Continue stays disabled without a title; the generated URL carries the bug template, title, what, browser and version; the dialog closes; there are no hydration warnings after the PlatformCard fix
  • After deploying: submit one real test issue to confirm GitHub fills the form fields, then close it

🤖 Generated with Claude Code

A Feedback button in the top bar, and links in the landing and app footers,
open a short form (something's wrong / an idea / a question, title, details,
optional app version and browser). It sends nothing itself: it opens GitHub's
bug or feature form, or a labelled question, filled in. The privacy page says
GitHub receives the text when its page loads. Also fixes invalid nesting in
the export cards' how-to text, which React reported as a hydration error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
utilitylab Ready Ready Preview Oct 7, 2026 2:30pm UTC

@acesonic7
acesonic7 merged commit a99e9d7 into main Oct 7, 2026
3 checks passed
@acesonic7
acesonic7 deleted the feat/feedback branch October 7, 2026 14:31

This branch was successfully deployed

1 active deployment
Preview — f8116369 Deployed Oct 7, 2026 by vercel[bot]
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.

1 participant