Skip to content
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

[$125] Android - Login - Status bar on login screen has black background on launch #35724

Closed
1 of 6 tasks
kbecciv opened this issue Feb 2, 2024 · 13 comments
Closed
1 of 6 tasks
Assignees
Labels
Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@kbecciv
Copy link

kbecciv commented Feb 2, 2024

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: 1.4.36.0
Reproducible in staging?: y
Reproducible in production?: n
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: Applause - internal Team
Slack conversation:

Issue found when executing PR #35215

Action Performed:

  1. Kill the app if it is open
  2. Launch the app

Expected Result:

The status bar on the login screen has a green background as the rest of the screen

Actual Result:

The status on the login screen has a black background on launch.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

image

image

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01cb64d3936a4a4d09
  • Upwork Job ID: 1753535889231740928
  • Last Price Increase: 2024-02-02
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Feb 2, 2024
Copy link
Contributor

github-actions bot commented Feb 2, 2024

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Feb 2, 2024

Triggered auto assignment to @jasperhuangg (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@kbecciv
Copy link
Author

kbecciv commented Feb 2, 2024

We think that this bug might be related to #vip-vsb
CC @quinthar

@luacmartins
Copy link
Contributor

I don't think this is a blocker. Demoting.

@luacmartins luacmartins added Daily KSv2 External Added to denote the issue can be worked on by a contributor and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Feb 2, 2024
@melvin-bot melvin-bot bot changed the title Android - Login - Status bar on login screen has black background on launch [$500] Android - Login - Status bar on login screen has black background on launch Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01cb64d3936a4a4d09

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha (External)

@luacmartins luacmartins changed the title [$500] Android - Login - Status bar on login screen has black background on launch [$125] Android - Login - Status bar on login screen has black background on launch Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

Upwork job price has been updated to $125

@ishpaul777

This comment was marked as resolved.

@getusha
Copy link
Contributor

getusha commented Feb 4, 2024

@ishpaul777 i am confused a little bit about the rca and the solution.
4696731#diff-997a5cfe9a560b7061a768c52d18b7ec49fe0c102367eb7eff720874e55869e2R22
based on the commit the name was SCREENS.HOME and SCREENS.RIGHT_MODAL.SIGN_IN is not touched RightModalNavigator, could you please explain it a bit more?

@ishpaul777
Copy link
Contributor

ishpaul777 commented Feb 4, 2024

Withdrawing my proposal for now as this requires a complete refactor for custom statusbar logic with the navigation refactor the logic seems broken specifically currentRoute name part

if (currentRoute && 'name' in currentRoute && currentRoute.name in theme.PAGE_THEMES) {
const pageTheme = theme.PAGE_THEMES[currentRoute.name];
newStatusBarStyle = pageTheme.statusBarStyle;
const backgroundColorFromRoute =
currentRoute?.params && 'backgroundColor' in currentRoute.params && typeof currentRoute.params.backgroundColor === 'string' && currentRoute.params.backgroundColor;
// It's possible for backgroundColorFromRoute to be empty string, so we must use "||" to fallback to backgroundColorFallback.
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
currentScreenBackgroundColor = backgroundColorFromRoute || pageTheme.backgroundColor;
}

and i think we might not need a different statusbar colors for most pages with these updates so its better to hold off for now, the only pages i think we might need a different status bar is sign in page so maybe we just pass a background color as prop.

@melvin-bot melvin-bot bot added the Overdue label Feb 6, 2024
@getusha
Copy link
Contributor

getusha commented Feb 6, 2024

Waiting for proposals.

@melvin-bot melvin-bot bot removed the Overdue label Feb 6, 2024
@ishpaul777
Copy link
Contributor

Also this is dupe of #35632

@luacmartins
Copy link
Contributor

Ah thanks for the flag @ishpaul777! Gonna close this issue in favor of #35632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

5 participants