Conversation
- Introduced a new feature to export diagnostic logs as a ZIP archive. - Implemented IPC channel for exporting logs, allowing the renderer to trigger exports. - Created a service to handle log file staging, ZIP creation, and cleanup. - Added UI elements in settings for exporting logs, including a button and feedback messages. - Ensured that only top-level `.log` files are included in the export, preserving their content. - Implemented error handling for export failures and cancellation scenarios. - Added unit tests to verify the functionality of the diagnostic log export service. - Refactored logger service imports to a new directory structure for better organization.
… and improved labels
…tion and structured JSON output
…, and localization updates fix: Change log references to privacyLog in settings and localization files for multiple languages
## Summary - ## Type of Change - [ ] Bug fix - [ ] Feature - [ ] Documentation - [ ] Refactor - [ ] Build, CI, or release - [ ] Other ## Related Issues Closes # ## Changes - ## Testing - [ ] `npm run build:main` - [ ] `npm run build:preload` - [ ] `npm run typecheck` - [ ] `npm run lint` - [ ] `npm run test:unit` - [ ] `Not run` ## Checklist - [ ] I kept this pull request focused and avoided unrelated refactors. - [ ] I followed the Electron layer boundary: Renderer → Preload/Bridge → Main. - [ ] I validated IPC input at the boundary when applicable. - [ ] I avoided `any`, `@ts-ignore`, and unnecessary `@ts-expect-error`. - [ ] I updated Simplified Chinese locale files for new or changed user-visible UI text. - [ ] I updated documentation when behavior, setup, or user-facing functionality changed. - [ ] I considered privacy, security, and user-data impact. --------- Co-authored-by: Jet <jetyu91@163.com>
## Summary - ## Type of Change - [ ] Bug fix - [ ] Feature - [ ] Documentation - [ ] Refactor - [ ] Build, CI, or release - [ ] Other ## Related Issues Closes # ## Changes - ## Testing - [ ] `npm run build:main` - [ ] `npm run build:preload` - [ ] `npm run typecheck` - [ ] `npm run lint` - [ ] `npm run test:unit` - [ ] `Not run` ## Checklist - [ ] I kept this pull request focused and avoided unrelated refactors. - [ ] I followed the Electron layer boundary: Renderer → Preload/Bridge → Main. - [ ] I validated IPC input at the boundary when applicable. - [ ] I avoided `any`, `@ts-ignore`, and unnecessary `@ts-expect-error`. - [ ] I updated Simplified Chinese locale files for new or changed user-visible UI text. - [ ] I updated documentation when behavior, setup, or user-facing functionality changed. - [ ] I considered privacy, security, and user-data impact. --------- Co-authored-by: Jet <jetyu91@163.com>
…ed Chinese, and Traditional Chinese
# Conflicts: # README.md # README_CN.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Type of Change
Related Issues
Closes #
Changes
Testing
npm run build:mainnpm run build:preloadnpm run typechecknpm run lintnpm run test:unitNot runChecklist
any,@ts-ignore, and unnecessary@ts-expect-error.