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

Merge Code for upgrade project and UI changes for vaccination and HC in main #961

Merged
merged 10 commits into from
Mar 8, 2024

Conversation

DivyaniPatel96
Copy link
Contributor

Merge Code for upgrade project and UI changes for vaccination and HC in main

…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
@Akhror
Copy link
Collaborator

Akhror commented Mar 4, 2024

Did we create a new release for these changes?
Build has to be created here: https://github.com/UNICEFECAR/parenting-app-bebbo-mobile/releases.
And UAT has to be conducted using the release build which was created from dev branch.

# - main
pull_request:
branches:
- main
Copy link
Collaborator

@Akhror Akhror Mar 4, 2024

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.

Copy link
Contributor Author

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

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")
Copy link
Collaborator

@Akhror Akhror Mar 4, 2024

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.

Copy link
Contributor Author

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.

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove indentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay sure

@@ -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.",
Copy link
Collaborator

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?

Copy link
Contributor Author

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).
*/
Copy link
Collaborator

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.

Copy link
Contributor Author

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}} ",
Copy link
Collaborator

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?

Copy link
Contributor Author

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 ",
Copy link
Collaborator

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

Copy link
Contributor Author

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) {
Copy link
Collaborator

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 = [];
}

Copy link
Contributor Author

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

Copy link
Collaborator

@Akhror Akhror left a 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
@Akhror Akhror self-requested a review March 8, 2024 06:57
@DivyaniPatel96 DivyaniPatel96 merged commit 974c195 into main Mar 8, 2024
2 of 3 checks passed
deepakmali-dgsl pushed a commit that referenced this pull request Aug 13, 2024
Merge Code for upgrade project and UI changes for vaccination and HC in main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants