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

[HOLD for payment 2024-04-03] [$250] [Wave Collect] [Ideal Nav] Workspaces - Status bar is white in workspace list when app is in light mode #38304

Closed
2 of 6 tasks
izarutskaya opened this issue Mar 14, 2024 · 35 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Design External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@izarutskaya
Copy link

izarutskaya commented Mar 14, 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!


Found when validating PR : #37421

Version Number: 1.4.52-0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

Precondition:

  • App is in light mode.
  1. Launch New Expensify app.
  2. Go to Profile.
  3. Go to Workspaces.

Expected Result:

The status bar will appear black when app is in light mode.

Actual Result:

The status bar is white when app is in light mode.

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

Bug6413464_1710418834485.Screen_Recording_20240314_201622_New_Expensify.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c548479525f9eebb
  • Upwork Job ID: 1768704311192559616
  • Last Price Increase: 2024-03-15
  • Automatic offers:
    • bernhardoj | Contributor | 0
Issue OwnerCurrent Issue Owner: @sakluger
@izarutskaya izarutskaya added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 14, 2024
Copy link

melvin-bot bot commented Mar 14, 2024

Triggered auto assignment to @abekkala (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@izarutskaya
Copy link
Author

@abekkala I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@bernhardoj
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

The status bar text is white which makes it invisible in light mode.

What is the root cause of that problem?

We define the status bar style for the workspace list page as light content.

[SCREENS.SETTINGS.WORKSPACES]: {
backgroundColor: colors.productLight100,
statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT,
},

This value is used in CustomStatusBarAndBackground. Because it's set to light content, the status bar color becomes white.

What changes do you think we should make in order to solve the problem?

Change the status bar style to dark content.
CONST.STATUS_BAR_STYLE.DARK_CONTENT

we might need to check for other page too

@ghost
Copy link

ghost commented Mar 15, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Workspaces - Status bar is white in workspace list when app is in light mode

What is the root cause of that problem?

Only in the Workspace Setting Page i.e. Here :

[SCREENS.SETTINGS.WORKSPACES]: {
backgroundColor: colors.productLight100,
statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT,
},

we are using CONST.STATUS_BAR_STYLE.LIGHT_CONTENT, because of which the status bar is showing white content on white background.

What changes do you think we should make in order to solve the problem?

Since, there is a white background and white content case, we need to change it to CONST.STATUS_BAR_STYLE.DARK_CONTENT.

NOTE : NO OTHER PAGE NEEDS TO UPDATE THIS STYLE

What alternative solutions did you explore? (Optional)

N/A

Result :

Screen.Recording.2024-03-15.at.8.45.49.AM.mov

Copy link

melvin-bot bot commented Mar 15, 2024

Triggered auto assignment to @shawnborton (Design), see these Stack Overflow questions for more details.

@abekkala
Copy link
Contributor

I agree that we should have dark text at the top when in light mode and light text when in dark mode.
It seems we're keeping light text in both modes.

@shawnborton
Copy link
Contributor

Yeah, that seems like a bug to me. Flagging @mountiny @luacmartins as I think this is related to the ideal-nav v2 changes.

@mountiny mountiny changed the title Workspaces - Status bar is white in workspace list when app is in light mode [Wave Collect] [Ideal Nav] Workspaces - Status bar is white in workspace list when app is in light mode Mar 15, 2024
@mountiny mountiny self-assigned this Mar 15, 2024
@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Mar 15, 2024
@melvin-bot melvin-bot bot changed the title [Wave Collect] [Ideal Nav] Workspaces - Status bar is white in workspace list when app is in light mode [$500] [Wave Collect] [Ideal Nav] Workspaces - Status bar is white in workspace list when app is in light mode Mar 15, 2024
Copy link

melvin-bot bot commented Mar 15, 2024

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

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

melvin-bot bot commented Mar 15, 2024

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

@mountiny
Copy link
Contributor

Seems like coming from the ideal nav, seems like a minor change so changing to $250

@parasharrajat can you please review the proposals

@mountiny mountiny changed the title [$500] [Wave Collect] [Ideal Nav] Workspaces - Status bar is white in workspace list when app is in light mode [$250] [Wave Collect] [Ideal Nav] Workspaces - Status bar is white in workspace list when app is in light mode Mar 15, 2024
Copy link

melvin-bot bot commented Mar 15, 2024

Upwork job price has been updated to $250

@abhigurjeet
Copy link

Proposal


Please re-state the problem that we are trying to solve in this issue.

In Workspace Setting Page - Status bar is white in workspace list when app is in light mode


What is the root cause of that problem?

In Workspace Setting Page :

[SCREENS.SETTINGS.WORKSPACES]: {
backgroundColor: colors.productLight100,
statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT,
},
[SCREENS.SETTINGS.WALLET.ROOT]: {

CONST.STATUS_BAR_STYLE is set to LIGHT_CONTENT which is causing the status bar to show light content on white LIGHT theme.
Since the backgroundColor: colors.productLight100 is White and CONST.STATUS_BAR_STYLE is set to LIGHT_CONTENT, this makes the status bar appear white almost entirely.


What changes do you think we should make in order to solve the problem?

CONST.STATUS_BAR_STYLE should be set to DARK_CONTENT for light theme.

Current Behaviour:

WhatsApp.Video.2024-03-16.at.12.20.33.AM.mp4

After making the required Changes:

The Status bar will have STATUS_BAR_STYLE set to DARK_CONTENT and the status bar will appear correctly in the app.


@parasharrajat Please review my proposal.

Copy link

melvin-bot bot commented Mar 15, 2024

📣 @abhigurjeet! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Make sure you've read and understood the contributing guidelines.
  2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@abhigurjeet
Copy link

Contributor details
Your Expensify account email: abhigurjeet@gmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~013b026a356f3bc13f

Copy link

melvin-bot bot commented Mar 15, 2024

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@ghost
Copy link

ghost commented Mar 15, 2024

updated proposal with a note

@melvin-bot melvin-bot bot added the Overdue label Mar 18, 2024
@parasharrajat
Copy link
Member

Checking proposals....

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Mar 19, 2024
@bernhardoj
Copy link
Contributor

PR is ready

cc: @parasharrajat

@parasharrajat
Copy link
Member

On it.

@abekkala abekkala removed their assignment Mar 22, 2024
@abekkala abekkala added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Mar 22, 2024
Copy link

melvin-bot bot commented Mar 22, 2024

Triggered auto assignment to @sakluger (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 22, 2024
@abekkala
Copy link
Contributor

abekkala commented Mar 22, 2024

@sakluger I'm ooo until April 08 - I'll be taking back any Open issues when I return


CURRENT STATUS

PR has been created. Once it's deployed to prod this title should update with payment date.

Payments would go to:

@abekkala abekkala self-assigned this Mar 22, 2024
@sakluger
Copy link
Contributor

PR is on staging, I'll add the payment date once it's on prod.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Mar 27, 2024
@melvin-bot melvin-bot bot changed the title [$250] [Wave Collect] [Ideal Nav] Workspaces - Status bar is white in workspace list when app is in light mode [HOLD for payment 2024-04-03] [$250] [Wave Collect] [Ideal Nav] Workspaces - Status bar is white in workspace list when app is in light mode Mar 27, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 27, 2024
Copy link

melvin-bot bot commented Mar 27, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Mar 27, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.56-8 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-04-03. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Mar 27, 2024

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:

  • [@parasharrajat] The PR that introduced the bug has been identified. Link to the PR:
  • [@parasharrajat] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@parasharrajat] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@parasharrajat] Determine if we should create a regression test for this bug.
  • [@parasharrajat] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@sakluger / @abekkala] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@parasharrajat
Copy link
Member

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:

Regression Test Steps

Android/iOS/mWeb

  1. Switch to light mode
  2. Open Settings > Workspaces
  3. Verify the status bar text is black/dark

Do you agree 👍 or 👎 ?

@mountiny
Copy link
Contributor

I dont think we will need regression test for this one, people would notice this quickly imho

$250 to @parasharrajat and $250 to @bernhardoj

@sakluger
Copy link
Contributor

sakluger commented Apr 3, 2024

Summarizing payment on this issue:

Contributor: @bernhardoj $250, paid via Upwork
Contributor+: @parasharrajat $250, please request on Newdot

@sakluger sakluger closed this as completed Apr 3, 2024
@parasharrajat
Copy link
Member

Payment requested as per #38304 (comment)

@JmillsExpensify
Copy link

$250 approved for @parasharrajat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Design External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
No open projects
Archived in project
Development

No branches or pull requests

9 participants