-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2023-10-09] [$500] IOU - Content in IOU thread and details page has different shade of gray when created offline #26235
Comments
Triggered auto assignment to @mallenexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease state again the problem we are trying to solve in this issue.Content in IOU thread and details page has different shade of gray when created offline. What is the cause of this issue?
App/src/pages/home/report/ReportActionItem.js Lines 509 to 514 in 0a7aabd
App/src/pages/home/report/ReportActionItem.js Lines 488 to 493 in 0a7aabd
And "Amount Cash", "Description", "Date" and "Merchant" in MoneyRequestView are also wrapped with OfflineWithFeedback again.App/src/components/ReportActionItem/MoneyRequestView.js Lines 113 to 154 in 0a7aabd
So MoneyRequestView has more gray than MoneyReportView .
What changes do you think we should make to solve the problem?We can remove What alternative solutions have you investigated? (Optional)None. |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOU - Content in IOU thread and details page has different shade of gray when created offline What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?We should remove |
Triggered auto assignment to @dannymcclain ( |
Triggered auto assignment to @sonialiap ( |
Bug0 Triage Checklist (Main S/O)
|
@sonialiap I'm off this week, can you please keep 👀 on this then I'll snag it back on Monday? Thx |
I'm not 100% certain of our rules/guidelines regarding offline styles, but it does seem like the details screen is extra faint. My gut says that those styles should match our regular chat and request offline styles, but I might want @shawnborton to take a look when he has time and give me the rundown of how we handle offline stuff stylistically. |
That does look quite faint. CC'ing @mountiny again here since you had some experience with these rows for manual requests. Any idea what's happening? I think the offline pattern for this would be that the rows appear at reduced opacity, but something consistent like 50% for all of them. cc @trjExpensify does that sound right? |
@shawnborton Ok that's what I was thinking but wasn't positive. I'm thinking that the details screen is getting an extra declaration of 50% opacity—making it appear at 25% opacity (50% of 50% opacity 😵💫). I did some quick Figma-ing and that details screen looks like a pretty close match to 25%. |
Yeah, that sounds right for pending create as all the data in view is pending to be created (incl. the total in the expanded header area). Also, we should add the OfflineIndicator at the bottom of the request detailed screen beneath the composer when you're offline, like we do in a chat. |
Yeah I am not sure, I guess this is a combo of two offline wrappers as the transaction as well as the thread is created optimistically, I think if we define how it should look like here, we can export it then |
@shawnborton are you cool with this? |
I think what Danny is saying is that it shouldn't be at 25% - and that's happening because we're doing 50% opacity twice. |
So we should just be using the standard 50% opacity reduction. |
Yes—what Shawn said. |
@StevenKKC Thanks for clarification. Well, I didn't notice that in the beginning neither. Sorry everyone for the confusion. This is my bad in the big part. After clearing up the situation, I must to change my stand and we should go with @ginsuma C+ reviewed 🎀 👀 🎀 (again) |
Current assignee @stitesExpensify is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @cubuspl42 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @ginsuma 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
The PR #27830 is ready for review. |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.75-12 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 2023-10-09. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
|
Issue reporter: Applause Thanks @cubuspl42 , I created the TestRail GH, we def won't check this on every regression test, maybe monthly? |
@mallenexpensify As I shared in the other thread, I don't have a good intuition here! Monthly sounds fine for me |
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:
Expected Result:
The content in the IOU details page should be the same opacity as the IOU report page which is 50% (not 25% which is happening because we're 50% opacity is being applied twice)
Actual Result:
The content in both IOU report and IOU details page has different shade of gray when created offline.
IOU details page has lighter gray than IOU report
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.58-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
20230829_132043.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: