Skip to content

feat(feedback): add screenshot capture and console log UI#5451

Open
rebelchris wants to merge 4 commits intomainfrom
eng-595-screenshot-and-console-log-to-feedback
Open

feat(feedback): add screenshot capture and console log UI#5451
rebelchris wants to merge 4 commits intomainfrom
eng-595-screenshot-and-console-log-to-feedback

Conversation

@rebelchris
Copy link
Contributor

@rebelchris rebelchris commented Feb 4, 2026

Summary

  • Add screenshot capture using Screen Capture API (getDisplayMedia) with image upload functionality
  • Add console log capturing hook (useCaptureConsoleLogs) that intercepts console.log/warn/error
  • Update FeedbackModal with screenshot preview, capture/upload buttons, and console logs toggle
  • Extend GraphQL types to support screenshot URLs and console log strings in feedback submissions

Key Decisions

  • Used Screen Capture API for screenshot capture as it provides native browser support
  • Console logs are captured from session start and formatted with timestamps and log levels
  • Screenshot preview includes remove functionality for user control
  • Added test fixture updates to maintain TypeScript compatibility

Closes ENG-595

Created by Huginn 🐦‍⬛

Preview domain

https://eng-595-screenshot-and-console-l.preview.app.daily.dev

- Add useCaptureConsoleLogs hook to capture console.log/warn/error
- Add screenshot utility with Screen Capture API (getDisplayMedia)
- Update FeedbackModal with screenshot capture/upload buttons
- Add screenshot preview with remove functionality
- Add console logs checkbox toggle
- Extend FeedbackInput GraphQL types with screenshot and consoleLogs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add missing required properties to test fixtures to fix TypeScript
errors after settings context interface was updated.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rebelchris rebelchris requested a review from a team as a code owner February 4, 2026 12:51
@vercel
Copy link

vercel bot commented Feb 4, 2026

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

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Feb 4, 2026 2:18pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Feb 4, 2026 2:18pm

Request Review

Co-authored-by: Ole-Martin Bratteng <1681525+omBratteng@users.noreply.github.com>
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.

3 participants