-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Hold for Payment - Sep 7th] Web - Attachments Preview - Zooming in the edges of an image will lead to white spaces #3901
Comments
Triggered auto assignment to @francoisl ( |
Looks like this can be external |
Triggered auto assignment to @NicMendonca ( |
What's the expected behavior here? Looks like the app kinda centers the image on the point where we're zooming in. |
@rdjuric that question might be better suited for #expensify-open-source. |
Triggered auto assignment to @roryabraham ( |
My thinking here is that we should center the image on the point we're zooming in on, but if we're within a specific distance of any edge, then we'd shift the zoomed-in section accordingly. Something like this: So if the point where we've clicked (the center of the zoom) is in any of the "gutters", then we'll shift the image horizontally and/or vertically as needed so that the zoomed-in size will fit within the bounds of the image. |
Issue reproducible during KI retests |
Hi @rdjuric! Based off @roryabraham's comment, are you keen to submit a proposal for this? |
@NicMendonca Still researching this one 😅 Thanks for the picture, @roryabraham. So I think the behavior we want is what we have in the video below? desktop.mov |
It looks to me like it might not be working perfectly in the y-axis, but yeah that's prettymuch what I had in mind. |
I have to reassign this to someone else while I'm OOO |
Triggered auto assignment to @tgolen ( |
Issue reproducible during KI retests |
Do you agree it's solution for issue? |
I don't see anything proposed yet. It seems more of an analysis. Could you please post a formal proposal? you can look at contribution guidelines to learn about creating a proposal. I am not an assigned engineer for this Task. So It does not matter if I think or not. |
Proposal (Already submitted on upwork)My name is Shane Watson from South Africa.
I already tested and you can see result above |
Thanks for your analysis @MTN718. I think what you've done so far make sense, but it's very hard to tell from your screenshots because the image you've chosen has a white background. Can you please post a screenshot with a dark background so it's easy to see that the whitespace issue is eliminated? Thanks! |
Added Videos for different size of imagesScreen.Recording.2021-08-20.at.2.14.41.PM.movScreen.Recording.2021-08-20.at.2.17.39.PM.movScreen.Recording.2021-08-20.at.2.18.22.PM.mov |
@MTN718 Looks great! Thanks for submitting those extra videos. @NicMendonca please hire @MTN718 for this issue on Upwork, and @MTN718 feel free to submit a pull request with the code changes as soon as you've been hired on Upwork. |
My Upwork account name is Shane Watson from South Africa |
@MTN718 hired! |
Thanks. Let me create PR |
Created PR. Waiting Feedback |
Issue reproducible during KI retests |
You mean issue again from PR? |
PR is not merged yet, but I just re-reviewed it. |
@roryabraham You will let me know when PR merged? or already merged? |
Issue reproducible during KI retests |
@roryabraham my PR deployed in current KI retests? |
Not yet |
🚀 Deployed to staging by @robertjchen in version: 1.0.88-3 🚀
|
🚀 Deployed to production by @roryabraham in version: 1.0.90-2 🚀
|
@NicMendonca Issue resolved? |
@NicMendonca @roryabraham any update on upwork? |
paid! |
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:
Picture is zoomed and picture fills whole preview dialogue
Actual Result:
Picture is zoomed, but there is a lot of white spaces
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:
Where is this issue occurring?
Web ✔️
iOS
Android
Desktop App
Mobile Web
Version Number:
1.0.75-5
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Bug5142406_video.mp4
Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/170015
Upwork job posting: Posted to Upwork: https://www.upwork.com/jobs/~014d8cadbc82d362b0
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: