-
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 2024-08-07] [$250] mweb - Wrong status bar color at the top in safari #44685
Comments
Triggered auto assignment to @johncschuster ( |
i guess this #44048 might be offending PR. |
I don't think so, because your linked PR hasn't hit staging yet and I reported this bug last week from Staging. |
oh i didn't check PR status assumed its on stag. sorry for false alert. |
Here's the offending PR: #42592 (hmm but it doesn't reach staging yet 🤦, my bad). |
Not overdue. This is actively being discussed. |
Just bumping to get this one picked back up. @shawnborton, does the status of the PR @hungvu193 mentioned (#42592) line up with when you reported the issue? |
Hmm that one is above my head! Let's see if @roryabraham has any thoughts there since he is a reviewer on that mentioned PR. |
Assigning Rory for his insight 🙏 |
@johncschuster @roryabraham this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@johncschuster, @roryabraham Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@roryabraham can you help us get unstuck when you get a sec? I'm looking for some insight on this question. Thank you! |
oh hey. So one thing that React's strict mode does is run all effects twice. Why? No idea. I'm sure the React devs had a good reason 🙃 It's possible that might effect the code that sets status bar colors, but not obvious. IIRC most of the relevant logic is in these few files:
and on iOS Safari it's controlled by this theme-color meta tag. Unfortunately it's like 2am for me, so I'm not able to help further right now 😞 |
also, I'm going to be OOO until Friday. I'll circle back as soon as I can, but let's avoid blocking on me for this. I imagine that if we make this external we'll get some reasonable proposals for me to review by the time I get back. |
ProposalPlease re-state the problem that we are trying to solve in this issue.In light mode, the status bar is using a dark green color even if the device is in light mode. I believe this is a FE issue and should be external. What is the root cause of that problem?This is reproducible locally (please disable strict mode) or staging by doing the following:
We are using nested However, after signing in, the inner What changes do you think we should make in order to solve the problem?The idea is that in case the inner nested
What alternative solutions did you explore? (Optional)There're a second problem: The status bar won't change to the correct theme background color, instead still kept at the light green color ( |
Current assignee @roryabraham is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@johncschuster, @roryabraham, @eh2077 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 @eh2077 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.14-6 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-08-07. 🎊 For reference, here are some details about the assignees on 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:
|
Acknowledged! I'll issue payment after the regression threshold is cleared. |
@eh2077 can you complete the BZ Checklist above? |
I have issued payment for @dominictb. Thanks for your contributions! 🎉 |
Checklist
|
@johncschuster Just working on the checklist when you commented, completed! |
Awesome. Thank you! I've just issued payment for @eh2077. We're good to button this one up! 🎉 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.3-1
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
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1719557238761689
Action Performed:
Expected Result:
Should not be a dark color
Actual Result:
In light mode, the status bar is using a dark green color
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
RPReplay_Final1719586325.MP4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @johncschusterThe text was updated successfully, but these errors were encountered: