Skip to content

[HOLD for payment 2023-10-10] [$500] Web - Receipt scan request container corners are not rounded while it is in progress #27869

Closed

Description

@kbecciv

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:

  1. Click on the FAB and request money
  2. Choose scan > then Choose file
  3. Choose where you want to request from and click request
  4. Click on the request message on the main chat to open the IOU room
  5. Notice the corners of the scan request container

Expected Result:

The corners of the scan request container should be rounded

Actual Result:

Receipt scan request container corners are not rounded while it is in progress ( No border radius )

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.72.6
Reproducible in staging?: y
Reproducible in production?: n
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
Notes/Photos/Videos: Any additional supporting documentation

Screencast.from.20-09-23.05_08_04.webm
Recording.4629.mp4

Expensify/Expensify Issue URL:
Issue reported by: @Ahmed-Abdella
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695176494284799

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0116d11f7e44782d5a
  • Upwork Job ID: 1704583117854482432
  • Last Price Increase: 2023-09-20
  • Automatic offers:
    • fedirjh | Reviewer | 26784222
    • getusha | Contributor | 26784224
    • Ahmed-Abdella | Reporter | 26784225

Activity

  1. added
    DeployBlockerCash
    on Sep 20, 2023
  2. dukenv0307 commented on Sep 20, 2023

    @dukenv0307
    Contributor

    Proposal

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

    Dev - receipt scan request container corners are not rounded while it is in progress

    What is the root cause of that problem?

    We add moneyRequestPreviewBox style here that contains borderRadius style

    style={[styles.moneyRequestPreviewBox, ...props.containerStyles]}

    App/src/styles/styles.js

    Lines 2725 to 2730 in 52dc94d

    moneyRequestPreviewBox: {
    backgroundColor: theme.cardBG,
    borderRadius: variables.componentBorderRadiusLarge,
    maxWidth: variables.sideBarWidth,
    width: '100%',
    },

    But we don't add this to the wrap View of the child container


    <View style={[isScanning || props.isWhisper ? styles.reportPreviewBoxHoverBorder : undefined]}>

    Because the width of this View is full and we don't have an overflow hidden style, the scan container is not rounded

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

    We can add overflow: 'hidden' style to moneyRequestPreviewBox style to hide the overflow width of children's container

    App/src/styles/styles.js

    Lines 2725 to 2730 in 52dc94d

    moneyRequestPreviewBox: {
    backgroundColor: theme.cardBG,
    borderRadius: variables.componentBorderRadiusLarge,
    maxWidth: variables.sideBarWidth,
    width: '100%',
    },

    What alternative solutions did you explore? (Optional)

    We can add moneyRequestPreviewBox style for the wrap View of the child container


    <View style={[isScanning || props.isWhisper ? styles.reportPreviewBoxHoverBorder : undefined]}>

    Result

    Screenshot 2023-09-20 at 16 23 28
  3. OSBotify commented on Sep 20, 2023

    @OSBotify
    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.
  4. melvin-bot commented on Sep 20, 2023

    @melvin-bot

    Triggered auto assignment to @bondydaa (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  5. dummy-1111 commented on Sep 20, 2023

    @dummy-1111
    Contributor

    This is a regression of this PR

  6. bondydaa commented on Sep 20, 2023

    @bondydaa
    Contributor

    doh thanks for letting us know @getusha @fedirjh can you comment so I can assign?

  7. bondydaa commented on Sep 20, 2023

    @bondydaa
    Contributor

    that being said i don't think we need to block the deploy b/c of this so going to remove the blocker, mostly just a style thing right?

  8. added
    Daily
    and removed
    DeployBlockerCash
    Hourly
    on Sep 20, 2023
  9. 37 remaining items

  10. jliexpensify commented on Oct 9, 2023

    @jliexpensify
    Contributor

    Payment Summary:

    Upwork job

    Please see this comment for context

  11. jliexpensify commented on Oct 9, 2023

    @jliexpensify
    Contributor

    Also @fedirjh and @getusha can you accept those offers? Cheers!

  12. jliexpensify commented on Oct 11, 2023

    @jliexpensify
    Contributor

    BUMPING @fedirjh and @getusha to accept the offers please.

    BUMPING @fedirjh to complete the checklist!

  13. fedirjh commented on Oct 11, 2023

    @fedirjh
    Contributor

    BugZero Checklist:

    • Link to the PR: Fix missing margin between name and request money preview box #27692
    • Link to comment: The author has handled this regression
    • Link to discussion: N/A This is a simple styling bug, no additional discussion is needed.
    • Determine if we should create a regression test for this bug: N/A, this is a little styling bug that doesn’t affect UX, no regression test is needed.

    Payment Summary:

    @jliexpensify This was handled as a regression for another PR, I think the correct summary should be :

    • Reporter: 50$
    • Contributor: 250$
    • C+: 250$
  14. jliexpensify commented on Oct 11, 2023

    @jliexpensify
    Contributor

    Thank you @fedirjh ! @getusha please accept the offer so I can pay everyone, thanks!

  15. getusha commented on Oct 11, 2023

    @getusha
    Contributor

    @jliexpensify i don't think i should be getting paid here, this was a regression from a PR fixing a regression from another PR. i don't know how we process that 😄

  16. jliexpensify commented on Oct 11, 2023

    @jliexpensify
    Contributor

    Huh ok...that's not something I have come across before...let me check what we do here and update you both!

    Slack thread - https://expensify.slack.com/archives/C01SKUP7QR0/p1697061567091469

  17. jliexpensify commented on Oct 12, 2023

    @jliexpensify
    Contributor

    Hmm ok, so - here are the Regression Guidelines:

    image

    If this is a regression of a regression, then I would imagine the payout would be:

  18. melvin-bot commented on Oct 17, 2023

    @melvin-bot

    @bondydaa, @jliexpensify, @fedirjh, @getusha Eep! 4 days overdue now. Issues have feelings too...

  19. jliexpensify commented on Oct 17, 2023

    @jliexpensify
    Contributor

    Just confirming - no further regressions here right? If not, I'll move to paying based off this

  20. fedirjh commented on Oct 17, 2023

    @fedirjh
    Contributor

    no further regressions here right?

    Yes.

  21. jliexpensify commented on Oct 17, 2023

    @jliexpensify
    Contributor

    Everyone paid, job closed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions