Skip to content

Commit

Permalink
Merge branch 'develop' into feature/getFromLocalStorageOrApi
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepsinn authored Jun 4, 2021
2 parents f9c0bde + 1c60f1f commit 2747d55
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM gitpod/workspace-full:latest

RUN bash -c ". .nvm/nvm.sh && nvm install 10 && nvm use 10 && nvm alias default 10"

RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
9 changes: 9 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
image:
file: .gitpod.Dockerfile
tasks:
- command: gp await-port 3000 && sleep 3 && gp preview $(gp url 3000)/src/index.html
- init: npm install -g eslint bower && npm install
command: npm start
ports:
- port: 3000
onOpen: ignore
6 changes: 3 additions & 3 deletions src/data/qmStates.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ var qmStates = [
"variableSearchParameters": {
"limit": 100,
"includePublic": true,
"manualTracking": true
// Don't do this or blood pressure doesn't show up. Plus we just put manualTracking at the top anyway. "manualTracking": true
},
"hideNavigationMenu": null,
"doneState": null,
Expand Down Expand Up @@ -174,7 +174,7 @@ var qmStates = [
"variableSearchParameters": {
"limit": 100,
"includePublic": true,
"manualTracking": true
// Don't do this or blood pressure doesn't show up. Plus we just put manualTracking at the top anyway. "manualTracking": true
},
"hideNavigationMenu": null,
"skipReminderSettingsIfPossible": null,
Expand Down Expand Up @@ -206,7 +206,7 @@ var qmStates = [
"variableSearchParameters": {
"limit": 100,
"includePublic": true,
"manualTracking": true
// Don't do this or blood pressure doesn't show up. Plus we just put manualTracking at the top anyway. "manualTracking": true
},
"hideNavigationMenu": null,
"doneState": null,
Expand Down
4 changes: 3 additions & 1 deletion src/js/controllers/measurementAddCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,9 @@ angular.module('starter').controller('MeasurementAddCtrl', [
setupUnit(category.defaultUnitAbbreviatedName, v.valence);
}
var m = qm.measurements.newMeasurement(v);
if(m.variableName.toLowerCase().indexOf('blood pressure') > -1){$rootScope.bloodPressure.show = true;}
if(m.variableName.toLowerCase().indexOf('blood pressure') > -1){
qmService.rootScope.setProperty('bloodPressure', {systolicValue: null, diastolicValue: null, show: true});
}
if(m.variableCategoryName){
setupVariableCategory(m.variableCategoryName);
}else{
Expand Down

1 comment on commit 2747d55

@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_reminders_spec.js
Cypress Dashboard or Build Log or S3

ionic_reminders-ionic

BUILD LOG

Please sign in to comment.