-
Notifications
You must be signed in to change notification settings - Fork 12
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
Merge Code for upgrade project and UI changes for vaccination and HC in main #961
Conversation
…uild Upgrade project with latest react native version and bug fix in UAT build
Update string changes and resolve crash for android
Implement store and display search results and resolve image issue for details and about us screen
take pull from main branch for vaccination tab icon UI changes
Resolve bug for language selection and child profile deletion
changes in language screen for foleja
Did we create a new release for these changes? |
.github/workflows/android.yml
Outdated
# - main | ||
pull_request: | ||
branches: | ||
- main |
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.
You do not need these line for main anymore.
We should trigger it when we merge to dev.
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.
bhumika will update yml file based on the latest code
android/app/build.gradle
Outdated
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" | ||
implementation project(':react-native-lottie-splash-screen') | ||
implementation 'com.google.android.gms:play-services-base:17.3.0' | ||
implementation("com.facebook.react:react-android") |
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.
Can you make sure you applied correct indentation for your changes?
I see down below in some places wrong indentation.
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.
okay @Akhror I will remove those extra space before implementation in this file.
android/app/build.gradle
Outdated
into 'libs' | ||
} | ||
project.ext.vectoricons = [ | ||
iconFontNames: [ 'fontello.ttf' ] // Name of the font files you want to copy | ||
iconFontNames: [ 'fontello.ttf' ] // Name of the font files you want to copy |
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 remove indentation.
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.
okay sure
remove extra space from build.gradle file
@@ -391,7 +390,7 @@ const en = { | |||
"dataSaveroff": "Do you want to switch off data saver mode?", | |||
"dataSaveron": "Do you want to switch on data saver mode?", | |||
"parentGender": "Gender", | |||
"successOnboardingImport": "You have successfully uploaded your information.", | |||
"successOnboardingImport": "You have successfully uploaded your information.", |
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.
Is this extra space intentional?
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.
Hello @Akhror , No this space is not intentional and we can update in string file. kindly create one task for all string changes.
/** | ||
* This method is only called if the provider is successfully updated | ||
* (or is already up-to-date). | ||
*/ |
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.
This comment looks useful. Let's keep it.
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.
okay sure @Akhror
"childSetupListeditSiblingBtn": "Edit child's profile", | ||
"childSetupListcontinueBtnText": "Continue", | ||
"childSetupListsaveBtnText": "Save data", | ||
"drawerMenuchildInfo": "Born on {{childdob}} ", |
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.
Was extra space at the end intentional?
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.
We can update this in string changes. kindly create one task for all string changes.
"growthScreenaddWeight": "Add weight", | ||
"growthScreenaddHeight": "Add height", | ||
"growthScreennewGrowthBottomText": "Measuring a child at home is less accurate than measuring at the doctor's and can affect the accuracy of the growth chart.", | ||
"growthScreenrelatedArticle": "Related advice ", |
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.
Consider breaking this into two sentences for clarity:
"Measuring a child at home is less accurate than measuring at the doctor's. This can affect the accuracy of the growth chart."
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.
We can update this in string changes. kindly create one task for all string changes.
// return new Promise((resolve) => { | ||
let dataToStore: any; | ||
let offlineData: any; | ||
if (SchemaToUse.name == StandardDevWeightForHeightSchema.name) { | ||
offlineData = jsonData[languageCode] ? jsonData[languageCode][0].weight_for_height : undefined; | ||
if (offlineData == undefined || offlineData == "" || offlineData == {}) { | ||
if (offlineData == undefined || offlineData == "" || offlineData == null) { |
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.
Shorter version:
if (!offlineData) {
offlineData = [];
}
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.
okay sure, I will 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 added some comments. Please work on them if time permits.
work on resolve review comments
Merge Code for upgrade project and UI changes for vaccination and HC in main
Merge Code for upgrade project and UI changes for vaccination and HC in main