Commit Graph

32 Commits

Author SHA1 Message Date
Paul Plant bd6ce1c184 add user-defined TIR back but in a better way
to avoid adding extra menu lines, use an enum to track the TIR type chosen and allow the user to just chose directly, or cycle through by double-tapping the statistics view
2023-12-24 15:00:26 +01:00
Paul Plant af42ec78e9 implement "Time in Tight Range" option
Removed old TIR option based on user-set values in favor of the newer "Time in Tight Range" method.

Two options are now:
- standardized TIR (70-180mg/dL)
- newer TITR (70-140mg/dL)

- https://diatribe.org/time-tight-range-new-diabetes-goal

- added double tap gesture to the statistics view to quickly change between both types.

-
- added transition so that the user is visually shown which limits are changed when changing types

- added localization. Initial translations for EN, ES.

- changed many of the settings menu row descriptions to remove the "?" from them to clean up the look of them.
2023-12-18 12:12:50 +01:00
Paul Plant 295d703be6 removal of ":" from the end of row labels
As the row label and text field have different and consistent formats (bold/colour), it can be implicitly seen that a given label applies to a given field/option so there's no real need to use a colon at the end.

By removing the colon from the string, we can also use them for titles etc without it looking strange

Whilst most labels previously had colons, many were missing which can give the UI a confusing look

Update Main.storyboard
2023-02-03 19:45:44 +00:00
Paul Plant 725fd67ec2 update unit strings from mg/dl to mg/dL and mmol/l to mmol/L
- mg/dl changed to mg/dL
- mmol/l changed to mmol/L

There is some boring info here: https://en.wikipedia.org/wiki/Litre
2023-02-03 18:52:22 +00:00
Paul Plant 58185737f8 various UI changes for dates/texts/fields
- change "Follow Dexcom-app" to "Read from Dexcom app" to avoid confusion with Dexcom Follow
- changes to transmitter/sensor display formats to use Nightscout format and improve clarity
- label changes
- typo correction: disclosureAaccessoryView -> disclosureAccessoryView
- simplified sensor status UIAlert and now includes sensor duration (elapsed time since start) and remaining (time until end date)
2023-01-07 21:12:01 +01:00
Paul Plant 0137e74feb lock screen dialog don't show option 2021-09-10 21:50:57 +02:00
Paul Plant a4a84ed738 Revert "Merge branch 'develop' into develop"
This reverts commit b78c9a2626, reversing
changes made to 1b0903c2d9.
2021-06-06 10:49:30 +02:00
Paul Plant 2f2c6ccfb1
New Crowdin updates (#15)
* New translations AlertTypesSettingsView.strings (French)

* New translations M5StackView.strings (Spanish)

* New translations M5StackView.strings (German)

* New translations M5StackView.strings (Dutch)

* New translations Main.strings (French)

* New translations Main.strings (Spanish)

* New translations Main.strings (Arabic)

* New translations Main.strings (German)

* New translations Main.strings (Finnish)

* New translations Main.strings (Dutch)

* New translations Main.strings (Portuguese)

* New translations Main.strings (Swedish)

* New translations LibreStates.strings (Arabic)

* New translations LibreNFC.strings (German)

* New translations LibreNFC.strings (Finnish)

* New translations LibreNFC.strings (Dutch)

* New translations LibreNFC.strings (Portuguese)

* New translations LibreStates.strings (French)

* New translations LibreStates.strings (Spanish)

* New translations LibreStates.strings (German)

* New translations LibreStates.strings (Finnish)

* New translations LibreStates.strings (Dutch)

* New translations LibreStates.strings (Swedish)

* New translations LibreStates.strings (English)

* New translations Main.strings (English)

* New translations SpeakReading.strings (French)

* New translations SpeakReading.strings (Spanish)

* New translations SpeakReading.strings (German)

* New translations SpeakReading.strings (Dutch)

* New translations WatlaaView.strings (French)

* New translations WatlaaView.strings (German)

* New translations WatlaaView.strings (Finnish)

* New translations SettingsViews.strings (Arabic)

* New translations NightScoutTestResult.strings (German)

* New translations SettingsViews.strings (French)

* New translations SettingsViews.strings (Spanish)

* New translations SettingsViews.strings (German)

* New translations SettingsViews.strings (Finnish)

* New translations SettingsViews.strings (Dutch)

* New translations SettingsViews.strings (Portuguese)

* New translations SettingsViews.strings (Swedish)

* New translations SettingsViews.strings (English)

* New translations Snooze.strings (Spanish)

* New translations Snooze.strings (Arabic)

* New translations Snooze.strings (German)

* New translations LibreNFC.strings (Arabic)

* New translations LibreNFC.strings (French)

* New translations BluetoothPeripheralsView.strings (German)

* New translations BluetoothPeripheralView.strings (Dutch)

* New translations CalibrationRequest.strings (German)

* New translations CalibrationRequest.strings (Portuguese)

* New translations Alerts.strings (Spanish)

* New translations AlertTypesSettingsView.strings (Arabic)

* New translations AlertTypesSettingsView.strings (German)

* New translations AlertTypesSettingsView.strings (Dutch)

* New translations AlertTypesSettingsView.strings (Swedish)

* New translations AlertTypesSettingsView.strings (English)

* New translations Alerts.strings (French)

* New translations BluetoothPeripheralView.strings (German)

* New translations Alerts.strings (German)

* New translations BluetoothPeripheralView.strings (French)

* New translations BluetoothPeripheralView.strings (Spanish)

* New translations Common.strings (French)

* New translations HomeView.strings (Spanish)

* New translations HomeView.strings (German)

* New translations HomeView.strings (Dutch)

* New translations LibreErrors.strings (French)

* New translations LibreErrors.strings (Spanish)

* New translations LibreErrors.strings (German)

* New translations Common.strings (Spanish)

* New translations Common.strings (Arabic)

* New translations Common.strings (German)

* New translations Common.strings (Finnish)

* New translations Common.strings (Dutch)

* New translations Common.strings (Portuguese)

* New translations Common.strings (Swedish)

* New translations Common.strings (English)

* New translations DexcomShareTestResult.strings (Arabic)

* New translations ErrorMessages.strings (German)

* New translations DexcomShareTestResult.strings (German)

* New translations ErrorMessages.strings (French)

* New translations ErrorMessages.strings (Arabic)

* New translations BluetoothPeripheralView.strings (Swedish)
2021-06-02 12:37:13 +02:00
Paul Plant 711eec852a Finalization of UI changes for chart hours and statistic period. 2021-05-06 17:51:40 +02:00
Paul Plant 57e121c675 Statistics localizations and translations 2021-05-03 23:43:17 +02:00
Johan Degraeve fcddbd2c40 Replaced Dexcom share errors 'Account Not Found' and 'Invalid Password' by generic error 'Invalid account or password'.
For two reasons :
- Dexcom share response is not always giving the right error code, for example if initial value in the settings is done with random account and random password, then Dexcom does not say if it's the account or password that is wrong
- it's simply not secure to say if it was the account or password that is wrong

And moved the string to TextsCommon as it may apply to other providers as well (never know)
2021-03-03 21:46:30 +01:00
Johan Degraeve c97571858b MiaoMiao Libre 2 support 2020-07-02 22:10:49 +02:00
Johan Degraeve f034133488 redesign Libre Utilities 2020-06-29 21:38:18 +02:00
Johan Degraeve aa4d04f8f7 fix #93 Redifined key 'firmare' as 'Hardware' in Common.strings 2020-05-17 11:48:39 +02:00
Paul Plant 84b32c908d Trace File and Dexcom Text Corrections and Spanish Translations updated 2020-05-10 11:59:55 +02:00
Paul Plant 19e6f20676 Updates to all text strings in app, addition of full Spanish translation and redundant localisations removed. 2020-04-19 20:27:13 +02:00
Johan Degraeve 3a91379b39 Bubble
Sort per category
2020-04-06 22:07:19 +02:00
Johan Degraeve 3e8d7839c5 bt redesign, DexcomG5 2020-04-06 21:57:29 +02:00
Paul Plant f3fd1bb326 Many UI changes. Theme, layout, styles, tabBar, icons. Also text corrections. 2020-04-06 21:50:37 +02:00
Johan Degraeve ecd44a525d fix #64 crash when user gives invalid value in calibration textfield 2020-01-25 11:45:43 +01:00
Johan Degraeve 5bb63fd169 Option to write latest glucose value in Calendar event. This allows to make reading visible in Apple Watch.
Following instructions are copied from Spike :
On your Apple Watch or the Watch app in your iOS device select the
"Modular" watch face and make sure you also select the "Calendar Complication" to be present in the middle of the watch face
Your glucose values should now start syncing to your watch when you receive your next reading from your CGM transmitter.
If by any chance you're not getting readings in your Apple Watch, go to the Watch app and under "General", "Reset"
click the "Reset Sync Data" and wait a few minutes.
2020-01-24 21:13:34 +01:00
Johan Degraeve 8ba5f328de M5Stack settings screens 2019-09-19 23:54:15 +02:00
Johan Degraeve 25d220e097 fix language files 2019-08-03 13:19:28 +02:00
Johan Degraeve b4908549fc Revert "version increase 2.6.0 and language file corrections"
This reverts commit b8919f1c33.
2019-08-03 13:11:16 +02:00
Johan Degraeve b8919f1c33 version increase 2.6.0 and language file corrections 2019-08-03 12:51:02 +02:00
Johan Degraeve f1f9c0f01d G5 reset 2019-07-07 23:22:39 +02:00
Johan Degraeve b9207023b4 Speak readings finished 2019-06-18 22:37:59 +02:00
Johan Degraeve db971a0e40 home view labels filled in 2019-05-24 23:50:12 +02:00
Johan Degraeve 1fafbf9ae4 Alert settings 2019-05-14 22:37:36 +02:00
Johan Degraeve 6ea1e90946 Alerts implemented with default values but not fully tested, need to finish now the UI that allows changing alert parameters so they can be changed and better tested 2019-04-28 21:20:27 +02:00
Johan Degraeve 75459ad7ef temp commit, a few alerts, default values, and no snoozing yet 2019-04-23 17:24:05 +02:00
Johan Degraeve da68361d9a settings first version 2019-03-09 14:38:36 +01:00