Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Jan 23, 2026

Summary

Adds an optional checkbox to the feedback modal (bug reports and feature requests) that allows users to attach application logs. When enabled, the last 500 lines of logs are included in the GitHub issue/discussion body with user-specific information redacted.

Redaction includes:

  • macOS paths (/Users/username/...)
  • Linux paths (/home/username/...)
  • Windows paths (C:\Users\username\...)
  • Email addresses
  • IPv4 addresses

Logs are wrapped in a collapsible <details> block to keep the issue body readable.

Updates since initial revision

  • Added @hypr/plugin-tracing to desktop dependencies (was missing, causing CI typecheck failure)
  • Added IPv4 address redaction to log sanitization

Review & Testing Checklist for Human

  • Test URL length limits - GitHub URLs have character limits. Test with actual logs to ensure 500 lines doesn't cause URL truncation or submission failures. Consider reducing the line count if issues occur.
  • Verify redaction patterns are sufficient - The regex patterns may not catch all sensitive data (e.g., API keys, tokens, IPv6 addresses, or other PII that could appear in logs). Consider if additional patterns are needed.
  • Verify log file path - The code assumes the log file is named log in the logs directory (from tracingCommands.logsDir()). Confirm this matches the actual tracing plugin behavior.
  • Test end-to-end - Open the feedback modal, check the checkbox, submit a bug report, and verify the logs appear correctly in the GitHub issue with proper redaction.

Recommended test plan:

  1. Open the app and trigger some log activity
  2. Open feedback modal (bug report)
  3. Check the "Attach application logs" checkbox
  4. Submit the report
  5. Verify the GitHub issue contains the logs in a collapsible section
  6. Verify user paths, emails, and IP addresses are properly redacted

Notes

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 23, 2026

Deploy Preview for hyprnote-storybook canceled.

Name Link
🔨 Latest commit aca74ef
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/6973b0561648a000081775f7

@netlify
Copy link

netlify bot commented Jan 23, 2026

Deploy Preview for hyprnote canceled.

Name Link
🔨 Latest commit aca74ef
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/6973b0561648a000081775f5

@netlify
Copy link

netlify bot commented Jan 23, 2026

Deploy Preview for howto-fix-macos-audio-selection canceled.

Name Link
🔨 Latest commit aca74ef
🔍 Latest deploy log https://app.netlify.com/projects/howto-fix-macos-audio-selection/deploys/6973b0561b1a640008610667

devin-ai-integration bot and others added 3 commits January 23, 2026 15:59
Co-Authored-By: john@hyprnote.com <john@hyprnote.com>
Co-Authored-By: john@hyprnote.com <john@hyprnote.com>
Co-Authored-By: john@hyprnote.com <john@hyprnote.com>
@ComputelessComputer ComputelessComputer merged commit 6229fef into main Jan 23, 2026
21 of 22 checks passed
@ComputelessComputer ComputelessComputer deleted the devin/1769183403-help-modal-log-attachment branch January 23, 2026 17:43
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