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

[HOLD for payment 2024-05-09] [$250] iOS - Scan - Receipt preview in confirmation page has sharp instead of round corners #40436

Closed
1 of 6 tasks
lanitochka17 opened this issue Apr 18, 2024 · 27 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Apr 18, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.64-0
Reproducible in staging?: Y
Reproducible in production?: N
**If this was caught during regression testing, add the test name, ID and link from TestRail:**N/A
Issue reported by: Applause - Internal Team

Action Performed:

  1. Launch New Expensify app
  2. Go to workspace chat
  3. Tap + > Submit expense > Scan
  4. Snap a photo

Expected Result:

The photo preview will have round corners

Actual Result:

The photo preview has sharp corners

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6453292_1713425276276!preview_sharp_corners

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~019d52ff8df96d4166
  • Upwork Job ID: 1780980326100885504
  • Last Price Increase: 2024-04-18
  • Automatic offers:
    • ikevin127 | Reviewer | 0
    • dhairyasenjaliya | Contributor | 0
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

Triggered auto assignment to @lakchote (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@lanitochka17
Copy link
Author

@lakchote FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@lakchote lakchote added External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 18, 2024
@melvin-bot melvin-bot bot changed the title iOS - Scan - Receipt preview in confirmation page has sharp instead of round corners [$250] iOS - Scan - Receipt preview in confirmation page has sharp instead of round corners Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

Job added to Upwork: https://www.upwork.com/jobs/~019d52ff8df96d4166

@lakchote lakchote added the Daily KSv2 label Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 (External)

@lakchote
Copy link
Contributor

Not a blocker, related to UI and on iOS only too.

@dhairyasenjaliya
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

  • iOS - Scan - Receipt preview in confirmation page has sharp instead of round corners

What is the root cause of that problem?

  • The root cause is we have not added styles.overflowHidden to <ReceiptImage > used on MoneyRequestConfirmationList.tsx this might be missed during initialise building

What changes do you think we should make in order to solve the problem?

  • We should add styles.overflowHidden to the below line which fixes the issue

style={styles.moneyRequestImage}

#Alternative

  • We can also directly set styles.overflowHidden to <ReceiptImage?> or we can wrap with <View> with styles.overflowHidden property directly at component

style={style ?? [styles.w100, styles.h100]}

@lakchote
Copy link
Contributor

@cubuspl42 I'll be OOO next week until April 29th. Feel free to ping another internal engineer to review if needed.

@melvin-bot melvin-bot bot added the Overdue label Apr 22, 2024
@cubuspl42
Copy link
Contributor

@dhairyasenjaliya Have you tested the code on all platforms? Styling in React Native can be tricky, and it's easy to break one platform by fixing a visual issue on another platform

@melvin-bot melvin-bot bot removed the Overdue label Apr 22, 2024
@dhairyasenjaliya
Copy link
Contributor

@cubuspl42 sorry forgot to post screenshots im posting them now

  • SS after applying my suggestion styling on my proposal

iOS native

Android

Desktop

desktop

Web

web

M-web

m-web

@cubuspl42
Copy link
Contributor

cubuspl42 commented Apr 23, 2024

The proposal by @dhairyasenjaliya looks good to me

C+ reviewed 🎀 👀 🎀

Copy link

melvin-bot bot commented Apr 23, 2024

Triggered auto assignment to @roryabraham, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@mallenexpensify mallenexpensify added External Added to denote the issue can be worked on by a contributor and removed External Added to denote the issue can be worked on by a contributor labels Apr 23, 2024
Copy link

melvin-bot bot commented Apr 27, 2024

📣 @ikevin127 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented Apr 27, 2024

📣 @dhairyasenjaliya 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot removed the Overdue label Apr 27, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Apr 29, 2024
@dhairyasenjaliya
Copy link
Contributor

PR ready for review @ikevin127

@melvin-bot melvin-bot bot added Overdue Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Apr 29, 2024
@melvin-bot melvin-bot bot changed the title [$250] iOS - Scan - Receipt preview in confirmation page has sharp instead of round corners [HOLD for payment 2024-05-09] [$250] iOS - Scan - Receipt preview in confirmation page has sharp instead of round corners May 2, 2024
@melvin-bot melvin-bot bot removed Overdue Reviewing Has a PR in review labels May 2, 2024
Copy link

melvin-bot bot commented May 2, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented May 2, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.69-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-05-09. 🎊

For reference, here are some details about the assignees on this issue:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels May 8, 2024
@roryabraham roryabraham added the Bug Something is broken. Auto assigns a BugZero manager. label May 8, 2024
Copy link

melvin-bot bot commented May 8, 2024

Triggered auto assignment to @muttmuure (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@ikevin127
Copy link
Contributor

@muttmuure Please let me know if anything else is needed for the payment to be issued today!

@mallenexpensify
Copy link
Contributor

Contributor: @dhairyasenjaliya paid $250 via Upwork
Contributor+: @ikevin127 paid $250 via Upwork

@ikevin127 can you please fill out the BZ checklist? Doesn't look like it was auto posted, plz use the below

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@] The PR that introduced the bug has been identified. Link to the PR:
  • [@] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@] Determine if we should create a regression test for this bug.
  • [@] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@bz] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added the Overdue label May 13, 2024
Copy link

melvin-bot bot commented May 14, 2024

@lakchote, @muttmuure, @roryabraham, @dhairyasenjaliya, @ikevin127 Huh... This is 4 days overdue. Who can take care of this?

@ikevin127
Copy link
Contributor

  • [@ikevin127] The PR that introduced the bug has been identified. Link to the PR:

No PR causing this was identified, this was not caused by a recent regression.

  • [@ikevin127] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@ikevin127] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:

No need, as this was an edge case issue which happened only on iOS: Native due to differences in styling between platforms.

  • [@ikevin127] Determine if we should create a regression test for this bug.

No need for regression test here as as this was an edge case issue which happened only on iOS: Native due to differences in styling between platforms.

  • [@ikevin127] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

@melvin-bot melvin-bot bot removed the Overdue label May 14, 2024
@muttmuure
Copy link
Contributor

Thanks for getting that @mallenexpensify!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

8 participants