Skip to content

feat: feedback page redesign (screenshot first, technical tab with copy) - #40

Merged
StanBarrows merged 1 commit into
productionfrom
main
Oct 22, 2026
Merged

StanBarrows merged 1 commit into
productionfrom
main

Conversation

@StanBarrows

Copy link
Copy Markdown
Contributor

Redesign of the signed feedback page.

Feedback tab (default): the screenshot first, large; the sender's message floats over it as a card (avatar, name, email with copy, comment, page with copy, time, chips for browser, viewport, marks, console errors). Sticky while scrolling a long screenshot, hideable. On phones the card sits above the screenshot.

Technical tab (#technical in the URL, survives reload): console with errors/warnings highlighted, source:line, repeat count and stack traces; failed requests with status badges; custom data; environment (browser, OS, device, viewport, screen, page size, timezone, languages, page, referrer, origin, IP, user ID, time to send, widget version, user agent). A copy button on every value and entry, Copy all per section and Copy report with everything as plain text for a ticket. The tab shows the console error count.

Top bar: project, ID (copy), status, Download, Full size, Mark as completed / Reopen.

Security: one inline script for tabs and copy, allowed by the per-request nonce (script-src 'nonce-…'), everything else unchanged: no external resources, no style attributes, all browser data escaped.

Tests: Pest 336 passed (page content, copy values, report text, CSP with exactly one nonce'd script); full stack E2E 14 passed in Chromium + WebKit incl. hiding the card, switching tabs, #technical after reload and Copy report into the clipboard. Checked visually in light, dark and mobile.

🤖 Generated with Claude Code

- Feedback tab: the screenshot first, the sender's message (name, email,
  comment, page, time) as a sticky card over it, hideable.
- Technical tab: environment, console (errors and warnings highlighted,
  stack traces), failed requests and custom data, a copy button on every
  value and entry, Copy report as plain text, error count on the tab.
- One inline script for tabs and copy buttons, allowed by the per-request
  nonce; still nothing from other hosts. Light and dark, mobile layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@StanBarrows
StanBarrows merged commit 648029d into production Oct 22, 2026
13 checks passed
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