-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Rename ExpensiPicker #6837
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
Rename ExpensiPicker #6837
Conversation
| import * as pickerPropTypes from './pickerPropTypes'; | ||
| import pickerStyles from './pickerStyles'; | ||
|
|
||
| const Picker = props => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BasePicker
| Picker.propTypes = pickerPropTypes.propTypes; | ||
| Picker.defaultProps = pickerPropTypes.defaultProps; | ||
| Picker.displayName = 'Picker'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BasePicker
| Picker.defaultProps = pickerPropTypes.defaultProps; | ||
| Picker.displayName = 'Picker'; | ||
|
|
||
| export default Picker; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
| import * as pickerPropTypes from './pickerPropTypes'; | ||
| import pickerStyles from './pickerStyles'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's prefix these files with base if they are only used for basePicker.
|
@parasharrajat should we do the same to all the index.js inside the pickerstyles folder? |
|
Doesn't matter much. I leave this up to you. |
|
Ok, so I think thats it, just need your approval 😄 |
parasharrajat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
cc; @puneetlath
puneetlath
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mateusbra just like the other PR. Thanks for your patience through the holidays. Everything looks good to me, but you've picked up some merge conflicts. Once you fix those I can quickly re-approve and merge. Thanks!
9414679
|
@puneetlath I think we got a problem with ExpensifyText, it looks like we still have a file calling ExpensifyText instead of Text |
|
you think its ok to deal about it in this PR? or may I open another PR dealing that? What you think we should do? |
looks like some PR was merged using ExpensifyText instead of Text after we merged the renaeme ExpensifyText PR |
|
@mateusbra The fix is merged. You can pull main. |
|
thanks @parasharrajat 😄 |
android/app/build.gradle
Outdated
| versionCode 1001012419 | ||
| versionName "1.1.24-19" | ||
| versionCode 1001012422 | ||
| versionName "1.1.24-22" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are these changes related to this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure. But when we merge main, do the new changes show in PR changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think they shoudn't show, I'm not understanding why its showing, we are currently using version 1.1.24-22 it shouldn't show as a change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to revert the last commit changes
This reverts commit dca45a8.
parasharrajat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the test will pass. SO LGTM. Nice work.
cc: @puneetlath
🎀 👀 🎀 C+ reviewed
puneetlath
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mateusbra when I try to compile it it's failing because it seems there is still a reference to ExpensifyText in src/pages/home/report/ReportActionItemMessage.js even though there is no longer an ExpensifyText component.
|
Actually, looks like that is addressed here: https://expensify.slack.com/archives/C01GTK53T8Q/p1641299616468900 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by @puneetlath in version: 1.1.25-2 🚀
|
Details
Rename component
ExpensiPickertoPicker, rename folder Picker to NativePicker in order to solve import conflictsFixed Issues
$ #6760
Tests
QA Steps
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android