Skip to content

Enhance diagnostic log export and update version to 2.2.1 - #267

Merged
jetyu merged 20 commits into
previewfrom
develop
Jul 29, 2026
Merged

Enhance diagnostic log export and update version to 2.2.1#267
jetyu merged 20 commits into
previewfrom
develop

Conversation

@jetyu

@jetyu jetyu commented Jul 29, 2026

Copy link
Copy Markdown
Owner

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.

Jet and others added 20 commits July 25, 2026 23:43
- 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 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>
# Conflicts:
#	README.md
#	README_CN.md
@jetyu
jetyu merged commit a87ee53 into preview Jul 29, 2026
7 of 9 checks passed
@jetyu
jetyu deleted the develop branch July 29, 2026 01:38
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