Skip to content

Commit

Permalink
Merge branch 'develop' into feature/getVariableCategoryName
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepsinn authored Sep 17, 2020
2 parents a26a1cc + edeed75 commit 8d0c0f6
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 63 deletions.
15 changes: 0 additions & 15 deletions .idea/runConfigurations/GI_Test.xml

This file was deleted.

16 changes: 0 additions & 16 deletions .idea/runConfigurations/GI_Test_API_Suite.xml

This file was deleted.

16 changes: 0 additions & 16 deletions .idea/runConfigurations/GI_Test_Ionic_Suite.xml

This file was deleted.

13 changes: 0 additions & 13 deletions .idea/runConfigurations/ionic_pull.xml

This file was deleted.

2 changes: 1 addition & 1 deletion src/js/qmHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -4388,10 +4388,10 @@ var qm = {
qm.qmLog.errorAndExceptionTestingOrDevelopment("Could not get unit for this measurement: ", m)
} else {
if(!m.unitAbbreviatedName){m.unitAbbreviatedName = unit.abbreviatedName;}
if(unit.abbreviatedName === '/5'){m.roundedValue = Math.round(m.value);}
}
if(!m.variableName){m.variableName = m.variable;}
if(m.variableName === qm.getPrimaryOutcomeVariable().name){m.valence = qm.getPrimaryOutcomeVariable().valence;}
if(unit.abbreviatedName === '/5'){m.roundedValue = Math.round(m.value);}
m.displayValueAndUnitString = m.displayValueAndUnitString || m.value + " " + unit.abbreviatedName;
m.displayValueAndUnitString = qm.stringHelper.formatValueUnitDisplayText(m.displayValueAndUnitString)
m.valueUnitVariableName = m.displayValueAndUnitString + " " + m.variableName;
Expand Down
6 changes: 4 additions & 2 deletions src/js/services/qmService.js
Original file line number Diff line number Diff line change
Expand Up @@ -2877,8 +2877,10 @@ angular.module('starter').factory('qmService', ["$http", "$q", "$rootScope", "$i
if(!notificationExists && queue[0].reminderFrequency && !queue[0].stopTrackingDate){
qmLog.error("Notification not found for reminder we just created!", null, {'reminder': queue[0]});
}
qmLog.info("Got " + notifications.length + " notifications to from postTrackingRemindersDeferred response", null, {notifications: notifications});
qm.storage.setTrackingReminderNotifications(notifications);
qmLog.info("Got " + notifications.length +
" notifications to from postTrackingRemindersDeferred response",
null, {notifications: notifications});
putTrackingReminderNotificationsInLocalStorageAndUpdateInbox(notifications);
}
}else{
qmLog.error("No postTrackingRemindersToApi response.data!");
Expand Down

1 comment on commit 8d0c0f6

@mikepsinn
Copy link
Contributor Author

Choose a reason for hiding this comment

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

View recording of ionic_variables_spec.js
Cypress Dashboard

ionic_variables-ionic

BUILD LOG

Please sign in to comment.