Commit Graph

35 Commits

Author SHA1 Message Date
Paul Plant d5f390d302 FR localization of Watch App and Complications
Co-Authored-By: Patrick Sonnerat <patrick.sonnerat@hotmail.com>
2024-04-29 21:26:47 +02:00
Paul Plant de3303f32c NL localization of Watch App and Complications
Co-Authored-By: Johan Degraeve <13840461+johandegraeve@users.noreply.github.com>
2024-04-29 11:23:59 +02:00
Paul Plant f871166c47 DE localization of Watch App and Complications
Co-Authored-By: Deniz Cengiz <48965855+dnzxy@users.noreply.github.com>
2024-04-27 21:40:37 +02:00
Paul Plant 9b4ca5b941 initial localizations of Watch App and Complications
- EN
- ES

Also changes to hide the widget values if the BG values are more than 20 minutes old
2024-04-27 18:25:50 +02:00
Paul Plant a2304836f0 changes to watch complication logic
- Apple Watch settings in main iOS app
- disable by default the complication values to prevent the (constant) user confusion
- force the user to agree that the complications will not update in real-time. If they don't, don't show values in the complications
- localizations added for Watch complications
- watch app "last reading since" changed to "x mins ago"
- double-tapping "remaining complications" will silently force a complication update
- watch state request indicator now changes to orange whilst pending reply from iOS companion app
-
2024-04-26 21:53:02 +02:00
Paul Plant 7103c3ba31 colour updates/corrections for all widgets
- colour updates/corrections for all widgets

- remove gray color for not recent readings in watch complications

- when using standard apple widgetkit constraints, changing the colour of the bg value and delta to gray when > x minutes old makes no sense as it doesn't indicate that the bg readings are old, rather than that the complication hasn't gotten new data yet (which can be normal for the Watch complication updates).
96ec614a
2024-04-11 11:42:57 +02:00
Paul Plant a3ba279dbf revert internal complication update constraint limits 2024-04-09 23:50:05 +02:00
Paul Plant d2daad8b9a initial implementation of watch/complications background refresh 2024-04-09 18:54:16 +02:00
Paul Plant 38dcd54b76 watch app corrections
- for 40mm watch size
- slightly reduce bg value size to prevent truncating when xx.x values in mmol/L
2024-03-30 09:16:49 +01:00
Paul Plant df65085ca6 add documentation and clean-up some comments/code 2024-03-23 21:15:10 +01:00
Paul Plant d97528b04c refactor some variables names related to heartbeat
- also update package version for CryptoSwift
2024-03-23 20:50:24 +01:00
Paul Plant 9fc843a849 improvements to Watch app in follower mode 2024-03-23 12:26:23 +01:00
Paul Plant b1773513e9 heartbeat UI implementation to Watch app. 3 hour option adding to chart hours swipe 2024-03-21 17:15:10 +01:00
Paul Plant 6e73d7834d Apple Watch - consider 44mm screens as "small"
- also move small screen pixel limit to constants file
2024-03-18 18:43:55 +01:00
Paul Plant 317412fba5 Watch app header view update 2024-03-16 10:17:37 +01:00
Paul Plant 6b5a529728 apple watch debug enable change
was previously activated in the iOS app via dev settings and passed to the watch state, but now just handled by the Watch app. Can be activated/deactivated by tapping 5 times the glucose chart.
2024-03-16 10:03:04 +01:00
Paul Plant a9a3d1d487 dynamically set watch view to screen size
using WKInterfaceDevice.current().screenBounds.size the chart size is modified together with text sizes in all views in order to make sure the view renders nicely in small watches
2024-03-15 20:24:36 +01:00
Paul Plant 110d6cfd33 Watch complication change and refresh time 2024-03-13 23:59:47 +01:00
Paul Plant 4f0b9589e6 widget + live activity view updates 2024-03-12 11:58:14 +01:00
Paul Plant 3229a0e532 watch app improvements, follower mode data source, iOS widget improvements
- also widget data is stored in a new userDefaults variable based upon the app bundle to avoid cross-contamination if various versions are installed on the same device
2024-03-10 11:35:05 +01:00
Paul Plant 48beccc216 implement follower mode functionality for Watch App 2024-03-06 09:15:00 +01:00
Paul Plant 2929118301 added widget .accessoryRectangle + various improvements 2024-03-05 17:22:50 +01:00
Paul Plant d671e6ab0a WidgetKit implementation for Watch and xDrip targets 2024-03-04 20:04:07 +01:00
Paul Plant 214ab60ac8 update 240226 2024-02-26 18:10:53 +01:00
Paul Plant c0308aa7f9 update 240225 2024-02-25 12:39:47 +01:00
Paul Plant c581b2bbcd initial wkcomplication structure 2024-02-23 17:42:23 +01:00
Paul Plant da7b119ec2 update 240223 2024-02-23 12:02:24 +01:00
Paul Plant f6ec1deba9 add refresh timer to watch view 2024-02-22 14:36:37 +01:00
Paul Plant e7e45aaec1 update 240221a 2024-02-21 18:56:10 +01:00
Paul Plant 8ea699d1b8 update 240221 2024-02-21 10:38:59 +01:00
Paul Plant 26057fd272 refactoring and cleaning up
removed widget/watch specific/duplicated extensions, moved common data models to xDrip target and made sure targets are set correctly for all common files.
2024-02-14 19:59:53 +01:00
Paul Plant 4d1201dfa0 Update ContentView.swift 2024-02-14 09:14:20 +01:00
Paul Plant 47309432d9 update 2024-02-14 08:41:28 +01:00
Paul Plant 8d1192c959 update 2024-02-13 20:33:54 +01:00
Paul Plant cfc97aa94c basic layout implemented 2024-02-13 20:20:19 +01:00