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
{{ message }}
Repository navigation
[HOLD for payment 2024-05-20] [$250] Skeleton loader uses lighter color for page header #40244
The skeleton loader for the top page/chat header should use the same color background as the skeleton loader for the chat messages in the main content screen.
Actual Result:
The skeleton loader used in the top page/chat header is using slightly lighter colors
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]Skeleton loader uses lighter color for page header[/-][+][$250] Skeleton loader uses lighter color for page header[/+]on Apr 15, 2024
changed the title [-][$250] Skeleton loader uses lighter color for page header[/-][+][HOLD for payment 2024-05-20] [$250] Skeleton loader uses lighter color for page header[/+]on May 13, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.72-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
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:
[@abdulrahuman5196] The PR that introduced the bug has been identified. Link to the PR:
[@abdulrahuman5196] 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:
[@abdulrahuman5196] 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:
[@abdulrahuman5196] Determine if we should create a regression test for this bug.
[@abdulrahuman5196] 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.
[@twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
I dont' think this was actually an introduced bug right, but it was actually a new feature. It never looked this way before right? We just got our greys wrong originally. I'm also not sure we can do regression testing for this?
Activity
melvin-bot commentedon Apr 15, 2024
Triggered auto assignment to @twisterdotcom (
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.allgandalf commentedon Apr 15, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Loading lines colour of header and report doesn't match
What is the root cause of that problem?
Currently we have the lines colour as
theme.highlightBGthis gives us faint linesApp/src/components/ReportHeaderSkeletonView.tsx
Lines 47 to 53 in 1cb6e00
What changes do you think we should make in order to solve the problem?
We need to use
skeletonLHNInas bg colour andtheme.skeletonLHNOutas foreground colour.We do the same for report screen:
App/src/components/ReportActionsSkeletonView/SkeletonViewLines.tsx
Lines 18 to 24 in 1cb6e00
The colour of these styles for dark mode is :
App/src/styles/theme/themes/dark.ts
Lines 85 to 86 in 1cb6e00
And for light mode is:
App/src/styles/theme/themes/light.ts
Lines 85 to 86 in 1cb6e00
This should make both the report as well as the report header consistent in loading colour
What alternative solutions did you explore? (Optional)
twisterdotcom commentedon Apr 15, 2024
Ahh:
Gonna make external.
[-]Skeleton loader uses lighter color for page header[/-][+][$250] Skeleton loader uses lighter color for page header[/+]melvin-bot commentedon Apr 15, 2024
Job added to Upwork: https://www.upwork.com/jobs/~0199d049e1997c5cb7
melvin-bot commentedon Apr 15, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 (
External)mananjadhav commentedon Apr 15, 2024
I was too slow in posting a proposal. 🐌
allgandalf commentedon Apr 15, 2024
😆 godspeed
dragnoir commentedon Apr 15, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Skeleton loader uses lighter color for page header.
What is the root cause of that problem?
On the hedare we are using
ReportHeaderSkeletonViewfor the loading animationBut on the report we use
ReportActionsSkeletonViewThose boath components uses the same
SkeletonViewContentLoaderwith different parametershere:
App/src/components/ReportHeaderSkeletonView.tsx
Lines 47 to 52 in fdae0bd
and here:
App/src/components/ReportActionsSkeletonView/SkeletonViewLines.tsx
Lines 18 to 23 in fdae0bd
Also there's an issue with the alignment of the animation
What changes do you think we should make in order to solve the problem?
1- to fix the colors:
we shoudl use the same
backgroundColorandforegroundColor2- align the header animation same as report animation
we should remove the padding left here
App/src/components/ReportHeaderSkeletonView.tsx
Line 33 in fdae0bd
POC:

40 remaining items
melvin-bot commentedon Apr 29, 2024
Triggered auto assignment to @marcochavezf, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
allgandalf commentedon May 3, 2024
Friendly bump for PR review @marcaaronallgandalf commentedon May 6, 2024
friendly bump @marcochavezf for PR review
[-][$250] Skeleton loader uses lighter color for page header[/-][+][HOLD for payment 2024-05-20] [$250] Skeleton loader uses lighter color for page header[/+]melvin-bot commentedon May 13, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon May 13, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.72-1 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-20. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon May 13, 2024
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:
twisterdotcom commentedon May 20, 2024
Payment Summary:
I dont' think this was actually an introduced bug right, but it was actually a
new feature. It never looked this way before right? We just got our greys wrong originally. I'm also not sure we can do regression testing for this?