Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Zoom UI in Hamburger Menu #1248

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Implement Zoom UI in Hamburger Menu #1248

merged 1 commit into from
Feb 16, 2024

Conversation

mshin-wolvic
Copy link
Collaborator

Unlike the general menu items with ImageView&TextView layout, a Zoom menu has ImageView&TextView&+/- ImageViews layout and only +/- ImageViews should handle hover and click events.
This patch configures the zoom layout and add the relevant code. The +/- ImageViews are connected to the page zoom feature, and this Zoom UI appears only in chromium-backend.

Copy link
Contributor

@zakharvoit zakharvoit left a comment

Choose a reason for hiding this comment

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

Left one nit, but I'd like somebody else from the team to review since I'm not very familiar with wolvic/ code.

Copy link
Member

@svillar svillar left a comment

Choose a reason for hiding this comment

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

We are not adding translations in PRs anymore because that messes up Weblate, so let's just include the new strings in strings.xml and remove the translations.

@svillar
Copy link
Member

svillar commented Feb 15, 2024

Ah and another comment, please add a % after the zoom level in the UI, otherwise seeing 100, 175 etc looks weird

@svillar
Copy link
Member

svillar commented Feb 15, 2024

Apart from that, the UI looks great and it works amazingly well!

@mshin-wolvic
Copy link
Collaborator Author

We are not adding translations in PRs anymore because that messes up Weblate, so let's just include the new strings in strings.xml and remove the translations.

Done.

Ah and another comment, please add a % after the zoom level in the UI, otherwise seeing 100, 175 etc looks weird

Done.

Thanks. :)

Unlike the general menu items with ImageView&TextView layout, a
Zoom menu has ImageView&TextView&+/- ImageViews layout and only
+/- ImageViews should handle hover and click events.
This patch configures the zoom layout and add the relevant code.
The +/- ImageViews are connected to the page zoom feature, and this
Zoom UI appears only in chromium-backend.
Copy link
Member

@svillar svillar left a comment

Choose a reason for hiding this comment

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

Wonderful!

@svillar svillar dismissed zakharvoit’s stale review February 16, 2024 11:56

already addressed

@svillar svillar merged commit 290eef6 into main Feb 16, 2024
20 checks passed
@svillar svillar deleted the implement_zoom_ui branch February 16, 2024 11:56
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.

4 participants