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 2023-02-20] [$4000] Android - New room - The page darkens and the drop-down menu is poorly visible #13951

Closed
1 task
kbecciv opened this issue Jan 2, 2023 · 80 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented Jan 2, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open the app
  2. Login with any account
  3. Click on FAB button -> New Room
  4. Open any drop-down window (Workspace or Visibility)

Expected Result:

The page doesn't go dark, and the drop-down menu is visible well

Actual Result:

The page darkens and the drop-down menu is poorly visible

Workaround:

Unknown

Platforms:

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

  • Android / native

Version Number: 1.2.47.0

Reproducible in staging?: Yes

Reproducible in production?: no

Email or phone of affected tester (no customers):

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5882949_video_2023-01-03_01-12-23.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01959d86ee4a1f08b9
  • Upwork Job ID: 1610336595939086336
  • Last Price Increase: 2023-02-04
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Jan 2, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Jan 2, 2023
@OSBotify
Copy link
Contributor

OSBotify commented Jan 2, 2023

👋 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.

@deetergp
Copy link
Contributor

deetergp commented Jan 3, 2023

I'm pretty sure this PR is the one that introduced the bug (cc @sketchydroide)

@jasperhuangg
Copy link
Contributor

jasperhuangg commented Jan 3, 2023

@deetergp This actually happens for any dropdown menus you pull-up on Android, it isn't unique to the New Room Page. Here's a screenshot after opening the language selector dropdown on the login page. So I don't actually think the PR you linked has anything to do with this–it might be coming from elsewhere since it happens on all dropdowns.

Screenshot_20230103-130729_New Expensify

@jasperhuangg
Copy link
Contributor

jasperhuangg commented Jan 3, 2023

@deetergp To add to this I don't think this needs to be a deploy blocker since no behavior is actually broken. This is purely a visual glitch.

cc @grgia @Luke9389 could this have anything to do with this dark theme PR?

@sketchydroide
Copy link
Contributor

I'm pretty sure #13859 is the one that introduced the bug (cc @sketchydroide)

Not sure how this could be caused by that PR, it just checks if the language was changed and makes the componenent update if it did...
Am I missing something?

@deetergp deetergp added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jan 3, 2023
@melvin-bot melvin-bot bot unlocked this conversation Jan 3, 2023
@melvin-bot melvin-bot bot changed the title Android - New room - The page darkens and the drop-down menu is poorly visible [$1000] Android - New room - The page darkens and the drop-down menu is poorly visible Jan 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 3, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jan 3, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01959d86ee4a1f08b9

@melvin-bot
Copy link

melvin-bot bot commented Jan 3, 2023

Triggered auto assignment to @adelekennedy (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Jan 3, 2023

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 3, 2023

Current assignee @deetergp is eligible for the External assigner, not assigning anyone new.

@syedsaroshfarrukhdot
Copy link
Contributor

syedsaroshfarrukhdot commented Jan 3, 2023

Proposal :-

To fix it we need to set color to colorBackgroundFloating to fix the issue in styles.xml because applying background color dark to android app also causes Modals to be Dark.


diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml
index a804c14ab..b30501c5b 100644
--- a/android/app/src/main/res/values/styles.xml
+++ b/android/app/src/main/res/values/styles.xml
@@ -10,6 +10,7 @@
         <item name="android:statusBarColor">#061B09</item>
         <item name="colorAccent">@color/accent</item>
         <item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
+        <item name="colorBackgroundFloating">@color/white</item>
     </style>
 
     <!-- Themes unique to the boot splash page -->

After Fix :-

WhatsApp.Video.2023-01-03.at.11.13.45.AM.1.mp4

@deetergp
Copy link
Contributor

deetergp commented Feb 8, 2023

Thanks @shawnborton & @aimane-chnaif 👍 @adelekennedy let's hire @0xmiroslav to implement their solution.

@deetergp deetergp added Weekly KSv2 and removed Daily KSv2 labels Feb 8, 2023
@0xmiros
Copy link
Contributor

0xmiros commented Feb 8, 2023

Please assign me to the issue so I can start working on PR

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 9, 2023
@MelvinBot
Copy link

📣 @0xmiroslav You have been assigned to this job by @mallenexpensify!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Feb 9, 2023
@melvin-bot melvin-bot bot changed the title [$4000] Android - New room - The page darkens and the drop-down menu is poorly visible [HOLD for payment 2023-02-20] [$4000] Android - New room - The page darkens and the drop-down menu is poorly visible Feb 13, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 13, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.70-1 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 2023-02-20. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@MelvinBot
Copy link

MelvinBot commented Feb 13, 2023

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:

@alexpensify
Copy link
Contributor

Was there a regression test? I'm not seeing it in this GH. Thanks!

@0xmiros
Copy link
Contributor

0xmiros commented Feb 19, 2023

Regression Test Proposal

  1. Login with any account
  2. Create new workspace if not exist
  3. Go to FAB -> New room
  4. Open any dropdown menu (Workspace or Visibility)
  5. Verify that dropdown matches dark theme and the texts are clearly visible
  6. Also verify 5. on all these places:
  • Language picker on login page
  • Country picker on Settings / Profile / Personal details / Home address page. After selecting USA, check State picker
  • State picker on Settings / Payments / Add payment method / Debit card page
  • Incorporation state, Company type, State picker on Company information page (Connect bank account Step 2)
  • State picker on Personal information page (Connect bank account Step 3)
  • Choose account after adding plaid bank
  • Notification preferences on Report Settings page
  • Default currency on Workspace General settings page
  • Track distance unit picker on Reimburse expenses page

Do we agree 👍 or 👎

@0xmiros
Copy link
Contributor

0xmiros commented Feb 19, 2023

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 19, 2023
@deetergp
Copy link
Contributor

@0xmiroslav I think your regression test proposal is acceptable.

@alexpensify
Copy link
Contributor

I've chatted with @adelekennedy and believe the next step is payment. Adele will run with that process.

@0xmiros
Copy link
Contributor

0xmiros commented Feb 23, 2023

I just wanted to confirm that if timeline bonus is applicable here.

@alexpensify
Copy link
Contributor

@0xmiroslav Thanks for flagging. I'm checking with @adelekennedy that the bonus has not been prepared following your post and we will initiate the process tomorrow.

@0xmiros
Copy link
Contributor

0xmiros commented Feb 23, 2023

@0xmiroslav Thanks for flagging. I'm checking with @adelekennedy that the bonus has not been prepared following your post and we will initiate the process tomorrow.

Thanks!

@adelekennedy
Copy link

done and done! Bonuses added

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. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests