-
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 2023-02-14] [$1000] Company address : Pressing on the address suggestion opacity is background are not in the dark mode #13838
Comments
@grgia Do you have any update on this? I'm going to move it back to daily so we can push it forward and not lose sight of it 👍 |
Job added to Upwork: https://www.upwork.com/jobs/~01e12ff05603e27012 |
Current assignee @slafortune is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Current assignee @grgia is eligible for the External assigner, not assigning anyone new. |
ProposalThere is no style prop to change the background color when row is being pressed, the solution is to set the backgroundColor To fix this we need these changes: diff --git a/src/components/AddressSearch.js b/src/components/AddressSearch.js
index 4d465c990..8547c6fa7 100644
--- a/src/components/AddressSearch.js
+++ b/src/components/AddressSearch.js
@@ -10,6 +10,8 @@ import styles from '../styles/styles';
import TextInput from './TextInput';
import Log from '../libs/Log';
import * as GooglePlacesUtils from '../libs/GooglePlacesUtils';
+import themeColors from '../styles/themes/default';
+import * as StyleUtils from '../styles/StyleUtils';
// The error that's being thrown below will be ignored until we fork the
// react-native-google-places-autocomplete repo and replace the
@@ -220,6 +222,7 @@ const AddressSearch = (props) => {
styles.borderRight,
],
row: [
+ StyleUtils.getBackgroundColorStyle(themeColors.componentBG),
styles.pv4,
styles.ph3,
styles.overflowAuto,
Democompany-address.mp4 |
Proposal Use iff --git a/src/libs/actions/Policy.js b/src/libs/actions/Policy.js
index 0f6784e7d..038d8e941 100644
pujanshah@Pujans-MacBook-Air App %
pujanshah@Pujans-MacBook-Air App % git diff
diff --git a/src/components/AddressSearch.js b/src/components/AddressSearch.js
index 1b749cc72..c2646d1b1 100644
description: [styles.googleSearchText],
separator: [styles.googleSearchSeparator],
}}
+ listUnderlayColor={themeColors.border}
onLayout={(event) => { |
ProposalItem pressed color should be consistent across the app Lines 273 to 274 in fafab61
Solution: App/src/components/AddressSearch.js Line 154 in fafab61
+ import themeColors from '../styles/themes/default';
+ listUnderlayColor={themeColors.buttonPressedBG} pressed.color.movNOTE: |
Root Case Proposal diff --git a/src/components/AddressSearch.js b/src/components/AddressSearch.js
index 4d465c990a..bf3de142a4 100644
--- a/src/components/AddressSearch.js
+++ b/src/components/AddressSearch.js
@@ -10,6 +10,7 @@ import styles from '../styles/styles';
import TextInput from './TextInput';
import Log from '../libs/Log';
import * as GooglePlacesUtils from '../libs/GooglePlacesUtils';
+import themeColors from '../styles/themes/default';
// The error that's being thrown below will be ignored until we fork the
// react-native-google-places-autocomplete repo and replace the
@@ -208,6 +209,7 @@ const AddressSearch = (props) => {
}
},
}}
+ listUnderlayColor={themeColors.transparent}
styles={{
textInputContainer: [styles.flexColumn],
listView: [ |
Color I have used based on this slack message |
Actually I have used transparent based on OptionRow on press behaviour on native, we don't have hover effect on mobile and for web this package not support hover color so I have used transparent to match OptionRow onPress behaviour. |
@Santhosh-Sellavel @grgia both PRs are ready for review |
@slafortune Just a heads up, this issue qualifies for the speed bonus as everything was completed in 2 days, thanks! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.66-0 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-14. 🎊 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.
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
@situchan please propose regression test steps. |
Regression Test Proposal
|
I've send invites to @Santhosh-Sellavel , @situchan , and @daraksha-dk @Santhosh-Sellavel and @situchan can you make sure to complete the above check list? Thanks! |
|
@grgia Can you check and let me know if you differ here -> #13838 (comment) |
Paid all contracts 👍 @grgia can you confirm the above looks good to you? Do regression steps look good? |
@slafortune looks good to me! |
@slafortune, @grgia, @Santhosh-Sellavel, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@slafortune are we good to close this one out? |
I was just waiting for this convo - https://expensify.slack.com/archives/C01SKUP7QR0/p1677276599228649 |
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:
Expected Result:
Background and opacity should be according to our theme
Actual Result:
It's not according to our theme
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.43-1
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
select.issue.mp4
Expensify/Expensify Issue URL:
Issue reported by: @daraksha-dk
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1672076042941419
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: