You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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.
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
@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!
Activity
melvin-bot commentedon Jun 24, 2023
Triggered auto assignment to @jliexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jun 24, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)Pujan92 commentedon 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.
App/src/pages/home/ReportScreen.js
Line 250 in 6728589
This prop we need to maintain and pass to
HeaderGapcomponent fromScreenwrapperto apply dynamic bg color.App/src/components/ScreenWrapper/index.js
Line 134 in 6728589
Ref - #19433 (comment)
dhairyasenjaliya commentedon Jun 25, 2023
I believe this was intentionally added and kept that way since we are aligning with LHN cc @shawnborton
jliexpensify commentedon Jun 25, 2023
I can't repro this on v1.3.32-5 even after logging out/in again:
@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 commentedon Jun 25, 2023
@jliexpensify I tested it by running the desktop app locally on
devon Mac.jliexpensify commentedon Jun 25, 2023
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:
@shawnborton - before I apply the External label, can you confirm if this is intentional?
[-]Desktop - Margin above chat report header on desktop[/-][+]Desktop - Margin above Request Money chat report header[/+]shawnborton commentedon Jun 26, 2023
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 commentedon Jun 26, 2023
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
22 remaining items
jliexpensify commentedon Jul 17, 2023
Nice, thanks @grgia !
[-][PAY SIBTAIN] Desktop - Margin above Request Money chat report header[/-][+][WAITING ON PR MERGE] Desktop - Margin above Request Money chat report header[/+]melvin-bot commentedon 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 commentedon Jul 22, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01b8eeb668f4618a9e
melvin-bot commentedon Jul 22, 2023
Triggered auto assignment to Contributor Plus for review of internal employee PR - @abdulrahuman5196 (
Internal)jliexpensify commentedon Jul 23, 2023
Looks like these were deployed to prod over the weekend, will re-test now.
jliexpensify commentedon Jul 23, 2023
I'm on v1.3.43-7 for the Mac Desktop app and can't see it anymore: