firefox-ios icon indicating copy to clipboard operation
firefox-ios copied to clipboard

Proof of Concept: Page Zoom (FXIOS-1157 / #7596)

Open q2r5 opened this issue 4 years ago • 26 comments
trafficstars

This is a working proof of concept for page zoom (#7596). Currently it uses the same zoom levels as Safari, but can be changed to match desktop. This needs UX and the strings put into Strings.swift before landing but otherwise should be working. (The version of the menu in the screenshots is not part of this PR)

IMG_AC6CC62DB67E-1 IMG_E179FEE6D438-1 IMG_551E8D2A62A5-1
Menu at 100% Page zoomed to 75% Menu at 75%

q2r5 avatar Mar 26 '21 18:03 q2r5

Any updates? Would love to see this implemented

cantonalex avatar Apr 22 '21 14:04 cantonalex

Recently submitted this as a bug. Would really enjoy using Firefox on my iPhone, but cannot due to this feature being absent.

Nice to see somebody else rocking the 75% to get more information on screen.

Far as the UX is concerned, it needs to be cleaned up. Whoever is maintaining the UI will hopefully incorporate this fix when revamping.

RespectIsEverything avatar Aug 25 '21 05:08 RespectIsEverything

What isn’t passing?

RespectIsEverything avatar Nov 02 '21 18:11 RespectIsEverything

@q2r5 Hello! I was tasked to integrate zoom keyboard shortcuts and could take the opportunity to integrate some of your work in PR https://github.com/mozilla-mobile/firefox-ios/pull/9689. I cherry picked your Tab.swift zoom changes making sure it states your contribution. Please let me know if you think of a better way to do this, or if you see any improvement needed 🙏

lmarceau avatar Dec 21 '21 20:12 lmarceau

This pull request has conflicts when rebasing. Could you fix it @q2r5?

mergify[bot] avatar Dec 22 '21 19:12 mergify[bot]

Hey @q2r5! I have some news about the #7596 ticket. The page action menu will be revisited soon and the zoom feature will be discussed on the design side at that point. If implemented, it looks like it would be in the design direction that @brampitoyo suggested in the ticket. It's not something we can easily do at the moment I believe and will need some development time. We can keep this PR opened in the meantime, but it won't be merged as is due to the design (and a product decision also needs to be made). Rest assured thought that this zoom feature is something we want as well! I hope this clears out the situation a little bit. Let me know if there's anything you wanna discuss on this topic!

lmarceau avatar Jan 13 '22 21:01 lmarceau

This pull request has conflicts when rebasing. Could you fix it @q2r5?

mergify[bot] avatar Feb 23 '22 20:02 mergify[bot]

@q2r5 Just to note, photon sheet rows can now contain more than one action. All actions are now defined in MainMenuActionHelper. The zoom actions would be three different SingleActionViewModel in a PhotonRowActions.

lmarceau avatar Feb 24 '22 18:02 lmarceau

With the new menu, it’s currently looking like this. I’ll update the PR with this version after a bit of cleanup.

DDFADB15-D188-437E-A58D-F732DF237C7A

q2r5 avatar Feb 24 '22 18:02 q2r5

Looks great!

Although I think the controls are backwards. Plus on the right and - on the left?

RespectIsEverything avatar Feb 24 '22 18:02 RespectIsEverything

That's great @q2r5 ! I'll bring this up with our designers so we can get some feedback 👀

lmarceau avatar Feb 24 '22 23:02 lmarceau

This pull request has conflicts when rebasing. Could you fix it @q2r5?

mergify[bot] avatar Mar 01 '22 22:03 mergify[bot]

This pull request has conflicts when rebasing. Could you fix it @q2r5?

mergify[bot] avatar Mar 03 '22 15:03 mergify[bot]

@dnarcese @topotropic Hey. This PR looks like it's good to go and it addresses a feature that's requested often by many people. I think it would be amazing to get in. Do we have the greenlight to go ahead and merge it? If not, what's holding us back from doing so, and how can we get it done?

adudenamedruby avatar Mar 11 '22 16:03 adudenamedruby

This pull request has conflicts when rebasing. Could you fix it @q2r5?

mergify[bot] avatar Mar 17 '22 13:03 mergify[bot]

It seems the only hold up is "XCTAssertEqual failed: ("Google") is not equal to ("google-b-m") - incorrect for ["en-US", "en"] and US"

Why does this keep getting blocked? Would very much like to see this feature on iOS.

RespectIsEverything avatar Apr 05 '22 22:04 RespectIsEverything

This pull request has conflicts when rebasing. Could you fix it @q2r5?

mergify[bot] avatar Apr 27 '22 23:04 mergify[bot]

Why hasn’t this been implemented?

The UI was updated similar to Safari. But the adjustments seem to only affect plain text whereas Safari alters all rendering.

This is one of the oldest pull requests. Why not just repurpose the existing UI to target the rendering rather than plain text?

This keeps getting passed up each version. Why?

RespectIsEverything avatar Jun 15 '22 22:06 RespectIsEverything

We are working on a larger project that involves adding this feature - target is to release before the end of the year.

dnarcese avatar Jun 16 '22 14:06 dnarcese

@dnarcese OK. I suppose that's an answer. It's just baffling this wasn't prioritized as @q2r5 had coded the meaty bits 15 months ago.

This specific issue is fundamental towards usability & functionality on mobile screens. It's akin to outputting at 800x600 when the monitor is capable of 1080p. Quite an unpleasant browsing experience. That is the ultimate UX concern.

The focus on menu placement as reason to withhold critical functionality is quite absurd.

RespectIsEverything avatar Jun 16 '22 18:06 RespectIsEverything

Skipped yet again in 102

RespectIsEverything avatar Jun 28 '22 17:06 RespectIsEverything

Skipped again in 103

RespectIsEverything avatar Aug 02 '22 16:08 RespectIsEverything

Skipped again in 104.

Mobile bookmark display priority & pasting “unformatted” shortcuts deemed more critical.

RespectIsEverything avatar Aug 23 '22 17:08 RespectIsEverything

Skipped again in 105.

Clearly the Homepage layout was much more important to justify ignoring this for the 18th month.

RespectIsEverything avatar Sep 20 '22 20:09 RespectIsEverything

Hi! We also just soft froze v106, I think @RespectIsEverything we can respectfully restrain another message on this topic for the v106 release as we already know it's not making it. I'm sure you can understand that although this topic looks simple from an external point of view (just merge the PR, duh), it has in fact underlying ramification internally and has a complexity of it's own (hence why we can't just merge this PR at the moment). Rest assured that this feature is on the radar and is being studied from a product perspective. In the meantime, webpage size can be increased or decreased through reader mode or through iPad keyboard shortcuts. Thanks for your understanding.

lmarceau avatar Sep 20 '22 21:09 lmarceau

@lmarceau Changing the font size options in from the Reader Mode menu only alters the size of plain text This PR pertains to scale for rendering of all elements on a page.

Ramifications exist for every decision ever made. In an ideal world, Apple wouldn't lock browsers into using WebKit on iOS. In another Shangri-La, they'd make the rendering scale available via an API.

But unless something in Apple's terms prevents this feature from being implemented, the neglect has been a willful choice by Mozilla's iOS team.

The issue itself was reported well before @q2r5 uploaded this PR 18 months ago. If being reminded about this is bothersome, perhaps the best way to unburden ones' self is by prioritizing merge of the chronologically penultimate PR.

RespectIsEverything avatar Sep 21 '22 01:09 RespectIsEverything

This pull request has conflicts when rebasing. Could you fix it @q2r5?

mergify[bot] avatar Sep 23 '22 17:09 mergify[bot]

@dnarcese

We are working on a larger project that involves adding this feature - target is to release before the end of the year.

Skipped again in 107. This isn’t tagged for 108 or 109.

So either this larger project is akin to Madoff’s legendary returns or the target is presumably pushed back beyond any reasonable belief that this will ever be implemented.

Not a small bug that sporadically glitches. This functionality is critical to using the browser on such a small screen. It’s unconscionable this wasn’t prioritized from the start.

RespectIsEverything avatar Nov 15 '22 18:11 RespectIsEverything

Hi @q2r5!

I am the assigned UX Designer for this feature.

Would you have the time to implement the feature with the following UX improvements?

Please read the product requirements for the feature on this issue.

If there are any questions, or if there is anything you need from me, please let me know on the issue itself.

Thank you!

Piratesarereal avatar Feb 27 '23 17:02 Piratesarereal

Hello @q2r5, Just wanted to add some more thoughts on the update if you are still interested in working on the zoom feature. We will aim to split the feature into smaller tickets, so they are more easily achievable (and reviewable). You could enable some of those tickets, or all. It's really as you wish! We wanted to make sure you were involved since you've been an advocate for this feature since a really long time. Let us know if that interests you and we can create sub-tickets for this work. Thank you!

lmarceau avatar Feb 28 '23 17:02 lmarceau