Skip to content

[WAITING ON PR MERGE] Desktop - Margin above Request Money chat report header #21503

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. Open the Desktop App and Login
  2. Navigate to any money request chat

Expected Result:

The chat header should not contain a top margin

Actual Result:

The chat header contains a top margin

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: n/a
**Reproducible in staging?:**n/a
Reproducible in production?: v1.3.31-3 (desktop)
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
Screenshot 2023-06-19 at 8 43 04 AM

Expensify/Expensify Issue URL:
Issue reported by: Sibtain Ali
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687147774347499

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01b8eeb668f4618a9e
  • Upwork Job ID: 1682845000617562112
  • Last Price Increase: 2023-07-22

Activity

  1. added
    Daily
    Needs Reproduction
    Bug
    on Jun 24, 2023
  2. melvin-bot commented on Jun 24, 2023

    @melvin-bot

    Triggered auto assignment to @jliexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. melvin-bot commented on Jun 24, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  4. Pujan92 commented on Jun 24, 2023

    @Pujan92
    Contributor

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

    Header background color differs for IOU report in desktop.

    What is the root cause of that problem?

    HeaderGap is applied to ScreenWrapper component and there we don't have any info about the report type. This issue exists for desktop and for moneyRequest report where header bg is not the same as chat report type.

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

    We need to pass an extra prop called headerGapBackground for ScreenWrapper from ReportScreen here and pass the respective green color when the report type is iou.

    <ScreenWrapper style={screenWrapperStyle}>

    This prop we need to maintain and pass to HeaderGap component from Screenwrapper to apply dynamic bg color.

    Ref - #19433 (comment)

  5. dhairyasenjaliya commented on Jun 25, 2023

    @dhairyasenjaliya
    Contributor

    I believe this was intentionally added and kept that way since we are aligning with LHN cc @shawnborton

  6. jliexpensify commented on Jun 25, 2023

    @jliexpensify
    Contributor

    I can't repro this on v1.3.32-5 even after logging out/in again:

    image

    image

    @allroundexperts what version are you on?

    It also seems odd that this is intentional, it's a bit jarring - but I'll wait for @shawnborton to weigh in before I close this GH.

  7. allroundexperts commented on Jun 25, 2023

    @allroundexperts
    Contributor

    I can't repro this on v1.3.32-5 even after logging out/in again:

    image

    image

    @allroundexperts what version are you on?

    It also seems odd that this is intentional, it's a bit jarring - but I'll wait for @shawnborton to weigh in before I close this GH.

    @jliexpensify I tested it by running the desktop app locally on dev on Mac.

  8. jliexpensify commented on Jun 25, 2023

    @jliexpensify
    Contributor

    Oh, so my mistake: I didn't realise this was the Desktop version! I re-downloaded it (I've not been using Desktop) and can see it on v1.3.31-3:

    image

    @shawnborton - before I apply the External label, can you confirm if this is intentional?

  9. removed
    Needs Reproduction
    on Jun 25, 2023
  10. changed the title [-]Desktop - Margin above chat report header on desktop[/-] [+]Desktop - Margin above Request Money chat report header[/+] on Jun 25, 2023
  11. shawnborton commented on Jun 26, 2023

    @shawnborton
    Contributor

    I agree that the top space is intentional, but it should match the color below it. That being said, we're redoing all of the headers for money requests/tasks/etc, so I think we could probably close this since changes are coming.

    Also, I could have sworn we reported this one like weeks ago as well? cc @JmillsExpensify @trjExpensify @grgia @thienlnam @jasperhuangg

  12. thienlnam commented on Jun 26, 2023

    @thienlnam
    Contributor

    Yes, this was implemented in the way as the task header so they have the same problem - though this problem shouldn't occur anymore once #20844 we add this, so let's just wait for this to be done instead of trying to solve this

  13. 22 remaining items

  14. jliexpensify commented on Jul 17, 2023

    @jliexpensify
    Contributor

    Nice, thanks @grgia !

  15. added
    Weekly
    and removed
    Daily
    on Jul 17, 2023
  16. changed the title [-][PAY SIBTAIN] Desktop - Margin above Request Money chat report header[/-] [+][WAITING ON PR MERGE] Desktop - Margin above Request Money chat report header[/+] on Jul 17, 2023
  17. melvin-bot commented on Jul 22, 2023

    @melvin-bot

    @jliexpensify this issue is now 4 weeks old and preventing us from maintaining WAQ. This should now be your highest priority. Please post below what your plan is to get a PR in review ASAP. Thanks!

  18. added
    Daily
    Internal
    and removed
    Weekly
    on Jul 22, 2023
  19. melvin-bot commented on Jul 22, 2023

    @melvin-bot
  20. melvin-bot commented on Jul 22, 2023

    @melvin-bot

    Triggered auto assignment to Contributor Plus for review of internal employee PR - @abdulrahuman5196 (Internal)

  21. jliexpensify commented on Jul 23, 2023

    @jliexpensify
    Contributor

    Looks like these were deployed to prod over the weekend, will re-test now.

  22. jliexpensify commented on Jul 23, 2023

    @jliexpensify
    Contributor

    I'm on v1.3.43-7 for the Mac Desktop app and can't see it anymore:

    image

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

Metadata

Metadata

Labels

BugDailyEngineeringInternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions