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 2023-09-20] [HOLD for payment 2023-09-18][$1000] Inconsistency: Different grayness levels on parent and child message #24263
send a reply
Notice the level of grayness on the Parent and child message
Expected Result:
Same grayness levels
Actual Result:
Different grayness levels
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
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: 1.3.51-0 Reproducible in staging?: y Reproducible in production?: y 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
So that the parent message of the thread will be wrapped by 2 OfflineWithFeedback Components. It makes the parent message of the thread become darker gray than other comments
What changes do you think we should make in order to solve the problem?
We should remove the OfflineWithFeedback in ReportActionItemParentAction
Please re-state the problem that we are trying to solve in this issue.
Inconsistency: Different grayness levels on parent and child message
What is the root cause of that problem?
The ReportActionItemParentAction content is wrapped by two OfflineWithFeedbackhere and here.
When adding a message and creating a thread with it in offline mode, both will have opacity. This makes that item looks different than only one OfflineWithFeedback wrapper.
What changes do you think we should make in order to solve the problem?
Solution 1:
We add a new prop called isDisabledOpacity to OfflineWithFeedback, and change needsOpacity here to:
constneedsOpacity=!props.isDisabledOpacity&&(...)
In ReportActionItemParentAction, we use that prop to avoid setting opacity when ReportActionItem will set it.
I can reproduce this. I can't think of any reason why we'd want parent and child messages to be in a different shade of grey here. Especially as the parent and child messages are normally the same text color while online.
changed the title [-]Inconsistency: Different grayness levels on parent and child message[/-][+][$1000] Inconsistency: Different grayness levels on parent and child message[/+]on Aug 8, 2023
Activity
melvin-bot commentedon Aug 8, 2023
Triggered auto assignment to @joekaufmanexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Aug 8, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)tienifr commentedon Aug 8, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Inconsistency: Different grayness levels on parent and child message
What is the root cause of that problem?
App/src/pages/home/report/ReportActionItemParentAction.js
Lines 55 to 60 in bba0eb2
We are applying OfflineWithFeedback to both ReportActionItemParentAction and ReportActionItemCreated with the same props
App/src/pages/home/report/ReportActionItemCreated.js
Lines 59 to 65 in c9df4db
So that the parent message of the thread will be wrapped by 2 OfflineWithFeedback Components. It makes the parent message of the thread become darker gray than other comments
What changes do you think we should make in order to solve the problem?
We should remove the OfflineWithFeedback in ReportActionItemParentAction
Result
ginsuma commentedon Aug 8, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Inconsistency: Different grayness levels on parent and child message
What is the root cause of that problem?
The
ReportActionItemParentActioncontent is wrapped by twoOfflineWithFeedbackhere and here.When adding a message and creating a thread with it in offline mode, both will have opacity. This makes that item looks different than only one
OfflineWithFeedbackwrapper.What changes do you think we should make in order to solve the problem?
Solution 1:
We add a new prop called isDisabledOpacity to OfflineWithFeedback, and change needsOpacity here to:
In ReportActionItemParentAction, we use that prop to avoid setting opacity when ReportActionItem will set it.
Solution 2:
No need to add a new prop, but it will show only one error message.
joekaufmanexpensify commentedon Aug 8, 2023
I can reproduce this. I can't think of any reason why we'd want parent and child messages to be in a different shade of grey here. Especially as the parent and child messages are normally the same text color while online.
2023-08-08_16-31-23.mp4
[-]Inconsistency: Different grayness levels on parent and child message[/-][+][$1000] Inconsistency: Different grayness levels on parent and child message[/+]melvin-bot commentedon Aug 8, 2023
Job added to Upwork: https://www.upwork.com/jobs/~0192daee63c42d4dbd
melvin-bot commentedon Aug 8, 2023
Current assignee @joekaufmanexpensify is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Aug 8, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (
External)88 remaining items
sobitneupane commentedon Sep 25, 2023
I will request payment in newDot once the payment is summarized.
cc: @joekaufmanexpensify
joekaufmanexpensify commentedon Sep 26, 2023
Great, thanks! I will work on the BZ checklist.
joekaufmanexpensify commentedon Sep 27, 2023
IMO, this is a very minor visual bug, and no regression test is needed.
joekaufmanexpensify commentedon Sep 27, 2023
BZ checklist is complete, all set to issue payment. We need to make the following payments:
joekaufmanexpensify commentedon Sep 27, 2023
@daveSeife $250 sent and contract ended!
joekaufmanexpensify commentedon Sep 27, 2023
@ginsuma $500 sent and contract ended!
joekaufmanexpensify commentedon Sep 27, 2023
@sobitneupane could you please request $500 and confirm here once that's done? TY!
daveSeife commentedon Sep 27, 2023
@joekaufmanexpensify received. Thank you!
joekaufmanexpensify commentedon Sep 28, 2023
Pending request
joekaufmanexpensify commentedon Sep 28, 2023
Closing per our slack discussion! Payment summary message for when @sobitneupane requests is here.
sobitneupane commentedon Oct 9, 2023
#24263 (comment)
Requested payment on newDot
JmillsExpensify commentedon Oct 9, 2023
$500 payment approved for @sobitneupane based on BZ summary.