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

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

Closed
1 of 6 tasks
kbecciv opened this issue Jun 24, 2023 · 25 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff

Comments

@kbecciv
Copy link

kbecciv commented Jun 24, 2023

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
@kbecciv kbecciv added Daily KSv2 Needs Reproduction Reproducible steps needed Bug Something is broken. Auto assigns a BugZero manager. labels Jun 24, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 24, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 24, 2023

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

@Pujan92
Copy link
Contributor

Pujan92 commented Jun 24, 2023

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)

@dhairyasenjaliya
Copy link
Contributor

dhairyasenjaliya commented Jun 25, 2023

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

@jliexpensify
Copy link
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.

@allroundexperts
Copy link
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.

@jliexpensify
Copy link
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?

@jliexpensify jliexpensify removed the Needs Reproduction Reproducible steps needed label Jun 25, 2023
@jliexpensify jliexpensify changed the title Desktop - Margin above chat report header on desktop Desktop - Margin above Request Money chat report header Jun 25, 2023
@shawnborton
Copy link
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

@thienlnam
Copy link
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

@thienlnam thienlnam changed the title Desktop - Margin above Request Money chat report header [HOLD 20844] Desktop - Margin above Request Money chat report header Jun 26, 2023
@melvin-bot melvin-bot bot added the Overdue label Jun 28, 2023
@jliexpensify
Copy link
Contributor

Still on hold

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jun 28, 2023
@jliexpensify jliexpensify added Weekly KSv2 and removed Daily KSv2 labels Jul 4, 2023
@melvin-bot melvin-bot bot removed the Overdue label Jul 4, 2023
@jliexpensify
Copy link
Contributor

Still on HOLD

@thienlnam
Copy link
Contributor

Linked PR was merged!

@melvin-bot melvin-bot bot added the Overdue label Jul 12, 2023
@jliexpensify
Copy link
Contributor

jliexpensify commented Jul 13, 2023

Ah, looks like the issue is gone on Desktop!

image

@melvin-bot melvin-bot bot removed the Overdue label Jul 13, 2023
@jliexpensify
Copy link
Contributor

@allroundexperts since you qualify for a reporting bonus, do you want to be paid via New.Dot?

@jliexpensify jliexpensify changed the title [HOLD 20844] Desktop - Margin above Request Money chat report header [PAY SIBTAIN] Desktop - Margin above Request Money chat report header Jul 13, 2023
@allroundexperts
Copy link
Contributor

Yes. I'll send a request. Thanks @jliexpensify!

@Pujan92
Copy link
Contributor

Pujan92 commented Jul 13, 2023

@jliexpensify the issue is for money request report which still exists due to diff background color.

Screenshot 2023-07-14 at 12 07 44 AM

@jliexpensify
Copy link
Contributor

@Pujan92 looks like you're on Dev, and I'm on Production Desktop. @thienlnam do you mind having a look at this issue?

@grgia
Copy link
Contributor

grgia commented Jul 14, 2023

This will be fixed in #22484 / #22562

@melvin-bot
Copy link

melvin-bot bot commented Jul 15, 2023

@jliexpensify this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!

@melvin-bot melvin-bot bot added Engineering Daily KSv2 and removed Weekly KSv2 labels Jul 15, 2023
@jliexpensify
Copy link
Contributor

Nice, thanks @grgia !

@jliexpensify jliexpensify added Weekly KSv2 and removed Daily KSv2 labels Jul 17, 2023
@jliexpensify jliexpensify 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 Jul 17, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 22, 2023

@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!

@melvin-bot melvin-bot bot added Daily KSv2 Internal Requires API changes or must be handled by Expensify staff and removed Weekly KSv2 labels Jul 22, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 22, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01b8eeb668f4618a9e

@melvin-bot
Copy link

melvin-bot bot commented Jul 22, 2023

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

@jliexpensify
Copy link
Contributor

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

@jliexpensify
Copy link
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
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

9 participants