Skip to content

Add screenshot functionality to HelpAiChat and HelpAiDraftCard#7003

Open
Parsh wants to merge 2 commits into
sprintfrom
feat/github-issue-images
Open

Add screenshot functionality to HelpAiChat and HelpAiDraftCard#7003
Parsh wants to merge 2 commits into
sprintfrom
feat/github-issue-images

Conversation

@Parsh

@Parsh Parsh commented May 29, 2026

Copy link
Copy Markdown
Collaborator

This pull request adds support for attaching screenshots to public GitHub issues submitted via the Help AI chat flow. Users can now optionally add up to three screenshots when confirming a draft issue, and these images are uploaded with the issue report. The UI is updated to allow selecting, previewing, and removing screenshots before submission, and the backend request is updated to handle file uploads.

Feature: Screenshot Attachment to Help Issues

  • Added a new ScreenshotAsset type to represent screenshot files, and updated relevant interfaces and props to support passing screenshots throughout the Help AI chat and draft confirmation flow. [1] [2] [3] [4]
  • Enhanced the HelpAiDraftCard component to allow users to select up to three screenshots from their device, preview thumbnails, and remove any before confirming submission. UI warnings are included to remind users about sharing sensitive information. [1] [2] [3] [4]
  • Updated the HelpAiChat flow to track and pass selected screenshots when submitting or retrying a draft issue, ensuring screenshots are included with the issue if provided. [1] [2] [3] [4] [5]

Backend Integration

  • Modified the Relay.submitHelpIssue method to accept screenshots, constructing a multipart/form-data payload that includes both the JSON issue data and the attached image files, and updated error handling for robustness. [1] [2]

@Parsh Parsh requested a review from cakesoft-vaibhav May 29, 2026 08:01
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