Add page zoom control to settings for standalone app#70
Merged
typed-sigterm merged 9 commits intomainfrom Oct 17, 2025
Merged
Conversation
✅ Deploy Preview for ex-caller ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-authored-by: typed-sigterm <145281501+typed-sigterm@users.noreply.github.com>
Co-authored-by: typed-sigterm <145281501+typed-sigterm@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add page zoom adjustments in app settings
Add page zoom control to settings for standalone app
Oct 16, 2025
typed-sigterm
requested changes
Oct 16, 2025
Owner
typed-sigterm
left a comment
There was a problem hiding this comment.
- 使用 bun(
curl -fsSL https://bun.sh/install | bash),删除package-lock.json ZOOM_STEP改为0.1- 不必使用
inputZoom中转
… inputZoom intermediate ref Co-authored-by: typed-sigterm <145281501+typed-sigterm@users.noreply.github.com>
Contributor
Author
Done in commit ea30cbe:
|
Copilot
AI
changed the title
feat(standalone): add page zoom control
Add page zoom control to settings for standalone app
Oct 16, 2025
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.
Overview
Implements page zoom adjustment feature in the settings page for the standalone app, allowing users to control the page zoom level from 25% to 500% in 10% increments.
Changes
Backend (Rust)
set_zoomTauri command insrc-tauri/src/main.rsthat uses the nativeWebviewWindow::set_zoom()API to adjust the page zoom levelFrontend (TypeScript/Vue)
UserConfigSchemainsrc/utils/config.tsto include azoomfield (default: 1.0 = 100%)MIN_ZOOM(0.25),MAX_ZOOM(5.0),ZOOM_STEP(0.1)src/components/settings/ui.vue) to display zoom control using Naive UI'sNInputNumbercomponentconfig.zoomfor reactive updatesDevelopment
Key Features
v-if="__APP__", ensuring it only appears in the standalone app and is properly tree-shaken from the web buildTesting
Fixes #69
Screenshots
Manual testing required to capture screenshots of the zoom control in action within the standalone app.
Original prompt
Fixes #69
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.