Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a persisted UI zoom-level setting so the app can restore interface scaling across launches (Tauri webview zoom + config persistence), along with supporting UI and translation updates.
Changes:
- Introduces
ui_zoom_levelto the persisted config (Rust + generated TS typings) and applies it at window creation. - Adds a “Zoom level” numeric setting in the UI and a
SettingsAPI.setUIZoomLevelhelper to apply + persist changes. - Updates settings UI styling and refreshes translation catalogs with the new strings.
Reviewed changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/translations/zh-TW.po | Adds new Zoom-related msgids and updates source references. |
| src/translations/zh-CN.po | Adds new Zoom-related msgids and updates source references. |
| src/translations/ru.po | Adds new Zoom-related msgids and updates source references. |
| src/translations/ja.po | Adds new Zoom-related msgids and updates source references. |
| src/translations/fr.po | Adds new Zoom-related msgids and updates source references. |
| src/translations/es.po | Adds new Zoom-related msgids and updates source references. |
| src/translations/en.po | Adds English strings for the new Zoom setting and updates source references. |
| src/stores/SettingsAPI.ts | Adds webview zoom setter and persists ui_zoom_level via config bridge. |
| src/routes/settings.ui.tsx | Adds a new Settings UI numeric input for zoom level. |
| src/generated/typings.ts | Updates generated Config type to include ui_zoom_level. |
| src/components/Setting.tsx | Unifies <select> styling with the shared settingInput styles. |
| src-tauri/src/plugins/config.rs | Adds ui_zoom_level to Rust config with default value. |
| src-tauri/src/main.rs | Applies persisted zoom level to the main window on startup. |
| .vscode/settings.json | Configures oxc.configPath to point at vite.config.ts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
9a5149b to
4daaf34
Compare
7ea2fef to
3c764b7
Compare
4daaf34 to
cf6962d
Compare
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.
Fix #953