Skip to content

feat: add postFeedbackWithFiles for user feedback with file attachments#19

Merged
bobbyg603 merged 9 commits intomasterfrom
feature/user-feedback
Mar 17, 2026
Merged

feat: add postFeedbackWithFiles for user feedback with file attachments#19
bobbyg603 merged 9 commits intomasterfrom
feature/user-feedback

Conversation

@bobbyg603
Copy link
Member

@bobbyg603 bobbyg603 commented Mar 10, 2026

Summary

  • Adds postFeedback(title, options?) that reads files from disk and includes them as form data params
  • Delegates to inherited postFeedback from bugsplat-js (crashTypeId=36)

Test plan

  • Call postFeedback with test database
  • Verify the report appears in BugSplat dashboard with crash type "User.Feedback"

🤖 Generated with Claude Code

bobbyg603 and others added 5 commits March 10, 2026 17:18
Adds postFeedbackWithFiles method that reads files from disk and includes
them as form data params when calling the inherited postFeedback method
from bugsplat-js (which uses crashTypeId=36, User.Feedback).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Convert file paths to BugSplatAttachment[] instead of FormDataParam[]
- Rename createAdditionalFilesFormParams to createAttachmentsFromFilePaths
- Merge file attachments with options.attachments in post/postFeedbackWithFiles
- Replace BugSplatFeedbackOptions with unified BugSplatOptions
- Update response field from crash_id to crashId

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bobbyg603 bobbyg603 changed the title Add postFeedbackWithFiles for user feedback with file attachments feat: add postFeedbackWithFiles for user feedback with file attachments Mar 16, 2026
@bobbyg603 bobbyg603 requested a review from daveplunkett March 16, 2026 22:42
@bobbyg603 bobbyg603 merged commit 2f12ec7 into master Mar 17, 2026
6 checks passed
@bobbyg603 bobbyg603 deleted the feature/user-feedback branch March 17, 2026 16:16
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.

2 participants