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

move to production #2181

Merged
merged 28 commits into from
Sep 18, 2023
Merged

move to production #2181

merged 28 commits into from
Sep 18, 2023

Conversation

@Baalmart Baalmart marked this pull request as draft September 14, 2023 07:54
@Baalmart Baalmart changed the title move to production [work in progress] move to production Sep 14, 2023
@@ -589,6 +591,16 @@ const createEvent = {
filter,
page,
});
if (language !== undefined && constants.ENVIRONMENT === "STAGING ENVIRONMENT") {
let data = responseFromListEvents.data[0].data;
for (const event of data) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @BenjaminSsempala , this logic is still confusing me a little bit :)......
Especially the part of manipulating a const variable....and the logical flow of things is bit confusing!
Can we do this translation from somewhere else within the create-health-tips use case and minimise changes to this particular util function?

Copy link
Contributor

Choose a reason for hiding this comment

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

@Baalmart The translation is also in the create-health-tips, however The tips in the mobile app come along with the measurements using the /events endpoint.

filter,
limit,
skip,
});
if (language !== undefined) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Now, this logic is easier to understand than the one inside the create-events util. :) @BenjaminSsempala

@Baalmart Baalmart changed the title [work in progress] move to production move to production Sep 15, 2023
@Baalmart Baalmart marked this pull request as ready for review September 15, 2023 08:28
@Baalmart Baalmart marked this pull request as draft September 15, 2023 08:31
@Baalmart Baalmart changed the title move to production [work in progress] move to production Sep 15, 2023
@Baalmart Baalmart marked this pull request as ready for review September 18, 2023 07:31
@Baalmart Baalmart changed the title [work in progress] move to production move to production Sep 18, 2023
@Baalmart Baalmart merged commit d4165e1 into master Sep 18, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants