Skip to content

Implement multi-platform CI/CD, localization, and AI features - #288

Merged
jetyu merged 54 commits into
previewfrom
develop
Aug 8, 2026
Merged

Implement multi-platform CI/CD, localization, and AI features#288
jetyu merged 54 commits into
previewfrom
develop

Conversation

@jetyu

@jetyu jetyu commented Aug 8, 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.

jetyu and others added 30 commits June 17, 2026 10:34
Implement multi-platform CI/CD pipeline and WorkbenchDashboard features
Add multi-platform GitHub Actions workflow for Snaptium dev builds
Implement Microsoft Store support and enhance localization features
Implement About dialog and add multilingual support for AppX packaging
Add build script, internationalization, and E2EE support
Remove license claim functionality and simplify error handling
Refactor license error handling and simplify UI boolean checks
Add license error code inference and update TypeScript config
Remove license claim functionality and update styling
Upgrade CI to Node.js 22, pin npm versions, and fix lint issues
Update README and Linux documentation
fixed French translations
Enhance community guidelines and release v2.0.5 with optimizations
Update AI feature license requirements and enhance documentation
Refactor Agent 2.0 and enhance stream output and localization
Refactor Agent 2.0 and enhance AI service with branding updates
Enhance v2.1.2 details and optimize updater settings
Enhance Knowledge Copilot settings and add Quick Capture feature
## 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>
jetyu and others added 24 commits July 31, 2026 00:04
## 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>
## 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>
- Introduced a new built-in AI source named 'Snaptium AI' with
capabilities for chat, embedding, and reranking.
- Implemented a shared constant for the built-in AI source ID, name,
base URL, and model mappings.
- Ensured the built-in source is immutable and cannot be edited or
deleted by users.
- Added functionality to fetch a public API token securely and cache it
for the Main process lifetime.
- Implemented consent handling for the first use of the built-in AI
service, requiring user confirmation before sending data.
- Updated settings normalization to automatically select the built-in
source when no user-managed sources exist.
- Enhanced error handling to provide explicit feedback on built-in
service failures without switching providers.
- Added comprehensive unit tests to validate the built-in AI service
functionality and settings normalization.

## 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>
- Replaced `useSettings` with `useSettingsPanel` in command registration and workbench components.
- Updated sync lifecycle to use new note storage path.
- Adjusted date formatting to use general language settings.
- Changed default hero image path in WorkbenchDashboard.
- Refactored workbench store to use persistence for settings saving.
- Enhanced workspace sidebar to restore focus after note and notebook deletions.
- Modified workspace context menu to return boolean for delete operations.
- Introduced new types for workspace tree selection and improved deletion selection logic.
- Cleaned up CSS by removing unused license plan styles.
- Added AI operation popover in EditorPane.vue to display AI operation options.
- Implemented AI operation handling in useEditorContextMenu.ts, including start, apply, discard, and retry functionalities.
- Enhanced context menu to enable/disable AI actions based on selection and active operations.
- Introduced NoteStorageSettings.vue for managing note storage configurations, including path selection and history version settings.
- Updated SettingsPanel.vue to include NoteStorageSettings and improved UI elements for better accessibility.
- Added styles for AI operation popover and updated settings panel layout for improved user experience.
- Introduced a Translation submenu within Smart Writing for translating selected text into Simplified Chinese, English, Traditional Chinese (Taiwan), Japanese, and Korean.
- Implemented a quick translation target setting in Smart Writing preferences, defaulting to Simplified Chinese.
- Enhanced the editor context menu to include translation actions, allowing users to translate selected text directly.
- Added validation for translation targets to ensure only supported languages are used.
- Updated the editor AI operation lifecycle to accommodate translation requests, preserving document structure and ensuring safe previews before applying changes.
- Extended existing AI prompt presets to include translation prompts and adjusted the payload structure to support target language specifications.
- Centralized action button styles into base.css for consistency.
- Introduced semantic classes: .action-button, .primary, .secondary, and .danger.
- Updated button implementations in various components to use the new styles.
- Removed redundant local styles to streamline button appearance and behavior.
- Ensured primary actions are visually distinct and follow theme colors.
- Maintained specialized styles for non-standard button elements.
@jetyu
jetyu merged commit 760d0c6 into preview Aug 8, 2026
5 of 6 checks passed
@jetyu
jetyu deleted the develop branch August 8, 2026 14:22
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