Repository navigation
feat: feedback page redesign (screenshot first, technical tab with copy) - #40
Merged
Merged
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 (
#technicalin 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,
#technicalafter reload and Copy report into the clipboard. Checked visually in light, dark and mobile.🤖 Generated with Claude Code