Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Summary

When users tried to submit bug reports with logs attached, GitHub would show an error because the request URL was too long (logs were embedded directly in the URL query parameters).

This PR changes the approach: instead of embedding logs in the URL, users can now save logs to a local file via a native save dialog, then manually attach that file to the GitHub issue.

Changes:

  • Added tauri-plugin-fs for file writing capabilities
  • Modified feedback modal to show a save dialog when "attach logs" is checked
  • Logs are saved with a timestamped filename (e.g., hyprnote-logs-2024-01-27T10-30-00-000Z.txt)
  • GitHub issue body now instructs users to attach the saved file
  • Updated checkbox label to "Save application logs to file (for manual attachment)"

Review & Testing Checklist for Human

  • Test the save dialog flow: Check "Save application logs to file", submit feedback, verify the native save dialog appears and file is written correctly
  • Test cancel behavior: If user cancels the save dialog, the issue should still open (without log attachment instructions)
  • Verify file contents: Open the saved log file and confirm it contains the expected log content
  • Test on macOS: The native dialog behavior may differ across platforms

Recommended test plan:

  1. Open the feedback modal (Help > Send Feedback or similar)
  2. Select "Bug Report", enter a description
  3. Check "Save application logs to file"
  4. Click submit
  5. Verify save dialog appears with default filename
  6. Save the file, verify it contains logs
  7. Verify GitHub issue page opens with instructions to attach the file

Notes

…h errors

- Add tauri-plugin-fs dependency for file writing
- Modify feedback modal to save logs to a file via save dialog
- Update checkbox label to reflect new behavior
- GitHub issue body now instructs user to attach the saved log file

Co-Authored-By: john@hyprnote.com <john@hyprnote.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@netlify
Copy link

netlify bot commented Jan 27, 2026

Deploy Preview for hyprnote-storybook ready!

Name Link
🔨 Latest commit c129c49
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/6978df80ecafc300084acf48
😎 Deploy Preview https://deploy-preview-3422--hyprnote-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jan 27, 2026

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit c129c49
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/6978df8088a76c00086b8eb8
😎 Deploy Preview https://deploy-preview-3422--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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