Skip to content

Comments

feature(ui):per user editor scaling#205

Merged
jankapunkt merged 10 commits intomainfrom
feature/editorfontscaling
Nov 19, 2025
Merged

feature(ui):per user editor scaling#205
jankapunkt merged 10 commits intomainfrom
feature/editorfontscaling

Conversation

@desha2103
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 zoom and transform: 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.

Shobnom13 and others added 7 commits November 12, 2025 10:42
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
Copy link
Member

Well done!

@jankapunkt jankapunkt merged commit c8158c7 into main Nov 19, 2025
8 checks passed
@jankapunkt jankapunkt added this to the 1.1.0 milestone Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants