-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$500] Profile- No error message when the image is bigger that the required pixel limit #30904
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0120d1355064b5ee16 |
Triggered auto assignment to @joekaufmanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Judging by the code maxHeight and maxWidth are 4096 So it doesn't look like a bug And for error message we use the same constansts But if we want to update maxHeight and maxWidth ProposalPlease re-state the problem that we are trying to solve in this issue.No error message when the image is bigger that the required pixel limit What is the root cause of that problem?In constants we use 4096 as the maximum values Lines 71 to 72 in f9cf18e
What changes do you think we should make in order to solve the problem?We can update this constants like :
Lines 71 to 72 in f9cf18e
What alternative solutions did you explore? (Optional)NA |
📣 @mpiniarski! 📣
|
@joekaufmanexpensify Can you please confirm if we want to change the max pixel size to 2048x 2048 from current 4096x4096? |
@parasharrajat if the change will be required, please note, that my proposal was the first to not only state the issue but also propose the solution. The proposal above mine was edited after that. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Profile- No error message when the image is bigger that the required pixel limit What is the root cause of that problem?No root cause, as we are already setting the required pixel limit to Lines 71 to 72 in 1ab25d0
What changes do you think we should make in order to solve the problem?If we want the reduce the pixel limit to
here, Lines 71 to 72 in 1ab25d0
What alternative solutions did you explore? (Optional)NA |
Waiting on @joekaufmanexpensify to confirm #30904 (comment) |
Hey everyone, it is strictly against contribution guidelines to post duplicate proposals. |
@parasharrajat I can see you have a thumbs down on my proposal; if the reason is duplication, then I want to say I am the first who proposed a complete solution at the time of commenting, and the other two above my comment were edited after my comment. Let me attach an image to you then you will get the idea. |
Catching up on this now. @parasharrajat looking at your comment here, you mean whether we want to allow images larger than 2048px? If so, I don't personally see a reason why we wouldn't. IMO, we can probably close this one. Doesn't feel like a bug to me. |
Hey are you still searching for person to resolve the issue?. I can help you. Let me know if I need to post the proposal |
@parasharrajat @joekaufmanexpensify We can close this because 4096 pixel for max width/height was added intentionality, more context here #13899 (comment) This issue is created because we have added the wrong resolution for this TestRail Profile - Modify User Avatar in this issue, On first step we added |
Amazing @jayeshmangwani. Thank you for bringing this up. @Expensify/applause Please update the Test rail regression steps for the linked issue accordingly #30904 (comment) We are good to close this issue when that is done. cc: @joekaufmanexpensify |
I created an issue for applause to update this regression test. Closing as this is all set! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v1.3.91-6
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation: @
Action Performed:
Expected Result:
An error message indicating that the image is bigger than the required pixel limit.
Actual Result:
The photo is uploaded.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6253328_1698413707568.bug2.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: