Commit Graph

7 Commits

Author SHA1 Message Date
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 60874af5fd initial implementation sensor info view
- replaces the old image-based sensor countdown (only for Libre)
- will now work for all CGM systems that report a sensor start date (or sensor age in the case of Libre)
- if no current/valid data is found, the view remains hidden
- currently showing for Libre 2 EU BLE (14.5 days), compatible Libre via external transmitter (14.5 days), Dexcom G5/G6/One (10.0 days) and LibreLinkUp follower (14.0 days)
- starts at 0% progress for 0d and finishes at 100% progress for maxAge as per above line
- To simply UI, sensor countdown options are removed completely
- All maxAge values are in Constants file for easy updating if ever needed
2023-11-06 19:03:29 +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 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
Johan Degraeve a54e70747e new text for 'use other app' 2021-12-21 22:03:59 +01:00
Johan Degraeve d57fe026fb adding missing strings to translation files 2021-12-21 22:03:58 +01:00
Johan Degraeve 8f5b3b4038 Missing strings added for fi, fr, it, pl-PL, ru, sl, zh 2021-02-01 21:59:31 +01:00