Closed kavimuru closed 11 months ago
@kavimuru no one assigned here, I am still able to reproduce it with the latest build
Triggered auto assignment to @slafortune (AutoAssignerTriage
), see https://stackoverflow.com/c/expensify/questions/4749 for more details.
Helping Stevie with this and here is a recording of the issue from my NewDot:
@kavimuru - I was also able to reproduce this on mobile web
I was not able to reproduce this on mobile app as shown below Andriod 12 Galaxy Z Flip4
Also shown above, command+ does zoom until it hits the page width set.
Triggered auto assignment to @madmax330 (Engineering
), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
Current assignee @slafortune is eligible for the External assigner, not assigning anyone new.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane (External
)
Triggered auto assignment to @Julesssss (External
), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
@Julesssss, @slafortune, @rushatgabhane Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
@Julesssss, @slafortune, @rushatgabhane Whoops! This issue is 2 days overdue. Let's get this updated quick!
Awaiting proposals
@slafortune time to double?
I think this is a feature request and not a bug. Do you agree @Julesssss @madmax330 @puneetlath ?
I'm not sure. If it's working on all other platforms except this one it sounds like a bug. But if it doesn't work on this platform because we need a platform specific solution then it would be a feature request.
Ah I missed this is only a bug in mweb 👍 It works for me on Android. I went to test on mweb and it fails to download the PDF file 😬
Hey @slafortune could we please double the bounty for this issue? Thanks
Doubled!
Thank, still awaiting proposals.
Proposal
Problem
What i think is happening here is that we actually don't have any built in zooming for pdf on web.
We are just using react-pdf to display the pdf in a Page(container exported from react-pdf) that always has the same width which gives 1:1 content ratio. No zoom gestures or zoom controls are implemented inside react-pdf itself.
If someone managed to zoom the content in the browser it is just the "zoom all" feature every browser has. We are not actually zooming the pdf on web by any means.
Solution - Scaling the content up
By increasing the width of the Page component exported from react-pdf and having the viewport to scroll we are actually able to scale content arbitrarily by increasing the multiplier for pageWidth either by implementing the control bar or some gesture detection mechanism.
The code snippet below is a brief showcase of changes needed for the content to scale up.
Screenshoots/ Video:
Default scale: width = pageWidth
3x scale: width = pageWidth * 3
we actually don't have any built in zooming for pdf on web
agree
increasing the multiplier for pageWidth either by implementing the control bar or some gesture detection mechanism.
@vladamx that's a really clever workaround! How difficult would it be to implement gestures? Can we import a library and call it a day?
This feels more and more like a feature request, I don't think it's a bug IMO -- much less a WAQ bug, cc @JmillsExpensify
I completely agree. Added that and a HOLD to the title. More context on this decision in Slack.
Following instructions for the weekly update chore:
@Julesssss this is one of the oldest issues in the /App repo. To help us clear out the large backlog of bugs, can you:
I recognize this issue is on hold, but once it's not on hold do you expect we should take this internal given the issue's age?
I think we already have a solution for this issue - probably can be resolved fairly quickly. See https://github.com/Expensify/App/issues/11398#issuecomment-1314551092
@tjferriss this is not a bug.
I'm unassigning as this isn't part of Bug-zero and is on hold for the foreseeable future
Updated the title to appropriately reflect that this is held during WAQ.
Not over due
@JmillsExpensify hold can be lifted here?
Great call, I removed the hold. That said, I think we should be careful about the implementation. I want to avoid an issue/PR where we haven't planned thoroughly and the PR starts to get very tricky.
@rushatgabhane @JmillsExpensify
I would like if we can expand on my existing proposal above since i have done some initial research about this topic.
Lets define what else is needed for this.
@vladamx for this feature, we can
thoughts? overkill? or more eyes would be worth it here
cc @JmillsExpensify
Love that plan @rushatgabhane.
I'll help provide any guidance needed when the time comes, assigning myself.
One idea for this issue: I think we should put it on hold until ECX. I think potentially everyone on this issue will be in Curacao?
We never got to this issue over Curacao. Thoughts about picking it back up now?
@vladamx you wanna work on this together for the pre-design? We can build off of the feedback we got on slack.
We can discuss 1:1 a bit and I can take the lead if you want
@rushatgabhane Yeah, lets discuss. I would like to implement this if that's fine. I have some spare time at the moment.
📣 @vladamx! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Contributor details Your Expensify account email: vladamx.dev@gmail.com Upwork Profile Link: https://www.upwork.com/freelancers/~017751bdb1e653662b
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
no updates yet
Still no updates
same. not a priority ig
Same as above.
Same
I'm going to close this issue in order to focus on other priorities. If we ever get back to this, we can reopen the issue.
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Should be able to zoom pdf
Actual Result:
Not able to zoom pdf
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.9-0 Reproducible in staging?: Need reproduction Reproducible in production?: Need reproduction Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/192899760-1cc94365-56d6-4eb8-b8cb-9af05c4d8662.mp4
Expensify/Expensify Issue URL: Issue reported by: @gadhiyamanan Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1663263653930829
View all open jobs on GitHub