-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$250] mWeb - When tapping back, the header on mWeb stays purple for a couple of seconds #54602
Comments
Triggered auto assignment to @bfitzexpensify ( |
@bfitzexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
we delay 300 before updating the status bar color, so leads to the bug "the header on mWeb stays purple for a couple of seconds". What changes do you think we should make in order to solve the problem?
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021873780397844730879 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
Edited by proposal-police: This proposal was edited at 2025-01-01 17:34:28 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.When tapping back, the header on mWeb stays purple for a couple of seconds What is the root cause of that problem?We add a delay here to wait 300ms after the transition starts.
I tested this issue, and it only happens on mWeb, where it stays purple for a couple of seconds. It doesn’t occur on native because of differences in how browsers handle animations, rendering, or event timing compared to native platforms. What changes do you think we should make in order to solve the problem?This PR (https://github.com/Expensify/App/pull/33200/files) adds a delay to the status bar animation. To resolve this issue, we should remove the delay for mWeb to avoid the delay for mweb.
update to statusBarAnimation.set(withDelay(Browser.isMobile() ? 0 : 300, withTiming(1))); or increase the delay time to 150 statusBarAnimation.set(withDelay(Browser.isMobile() ? 150 : 300, withTiming(1))); What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?This is a UI bug and doesn’t require a unit test What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Reviewing today |
While removing the delay can fix the start timing issue, the animation of the status bar and page looks inconsistent, status bar is using fading and page content is using sliding. I think we need to fix that if it is available? 20250105035541052.mp4 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@bfitzexpensify, @ahmedGaber93 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Keeping it open for a better proposal if available #54602 (comment) |
@bfitzexpensify @ahmedGaber93 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@bfitzexpensify, @ahmedGaber93 Huh... This is 4 days overdue. Who can take care of this? |
Not overdue, still looking for proposals #54602 (comment). |
@bfitzexpensify, @ahmedGaber93 Eep! 4 days overdue now. Issues have feelings too... |
Asking for proposals on slack https://expensify.slack.com/archives/C01GTK53T8Q/p1737374826065079 |
@ahmedGaber93 There is no way we can set the animation of the bar color. We achieve fading by gradually changing the color value via js, creating a fade effect. The sliding effects are not possible. Browser controls the theme behaviour. Also, maybe there was a reason for adding the delay. Can you please look into that as well? At last, this issue is not worth solving. From a user perspective, I won't argue if animation is fading in or pops up. cc: @Expensify/design @bfitzexpensify |
Rather than need to color the status bar area, why can't we just show the purple layer behind a transparent status bar? |
Ah actually I see, that's because this is an mWeb thing... that being said, not sure what we can really do about this, I would be fine just closing personally. |
Yeah I would fine closing too. Seems like we don't have a ton of options for "fixing" this, and it's also not a super big deal IMO. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@parasharrajat Thanks for letting me know 🙏 |
Thanks, all. @bfitzexpensify We have consensus on closing this. |
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: v9.0.79-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: #53686
Email or phone of affected tester (no customers): applausetester+en@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: iPhone 15 Pro / 18
App Component: Chat Report View
Action Performed:
Expected Result:
User expects the header to turn back to green immediately after tapping back
Actual Result:
The top nav menu turns purple for a couple of seconds and stays purple when tapping back, even after exiting the banner page
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6702727_1735261423209.PR_53686_mweb.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ahmedGaber93The text was updated successfully, but these errors were encountered: