Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds per-user editor scaling functionality that allows users to zoom in/out of the editor view without modifying the document content. The zoom level resets to default (100%) on page refresh.
Key changes:
- Added zoom controls (zoom in/out buttons) to the editor toolbar
- Implemented CSS-based zoom scaling using both
zoomandtransform: scale()properties - Created zoom state management with predefined zoom levels (70%, 85%, 100%, 115%, 130%, 150%)
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| PreparationsEditor.vue | Added zoom props, computed style for zoom transformation, and event handler for toolbar zoom actions |
| EditorToolbar.vue | Added conditional zoom buttons and props to enable/disable view zoom feature |
| PreparationPage.vue | Implemented zoom state management with discrete zoom levels and increase/decrease logic |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Checked text zooming in zooming out logic according to copilot suggestions and changed code where applied.
Added test cases for checking text zoom logic stable or not. Removed unnecessary code from useZoom
added per user text zooming option in coding editor using usezoom Composable.
jankapunkt
approved these changes
Nov 19, 2025
Member
|
Well done! |
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.
No description provided.