Commit Graph

2096 Commits

Author SHA1 Message Date
Johan Degraeve 5f43e5e274 version 5.2.1 - build 4199 2024-05-06 23:13:56 +02:00
Johan Degraeve 517e078a5a
Merge pull request #536 from paulplant/develop
disabled Address Sanitizer in xDrip Run Scheme
2024-05-06 22:28:24 +02:00
Paul Plant 5d86d0c6bc Update XDripWatchComplication+Entry.swift 2024-05-06 14:27:29 +02:00
Paul Plant d6bd5ba6e4 correction to "data disabled" instructions for smaller Watches
- also added missing "Data disabled" string in ES localization
2024-05-05 20:07:13 +02:00
Paul Plant 34493c5ecc disabled Address Sanitizer in xDrip Run Scheme
- this option was causing issues to automatically install the xDrip Widget Extension via Xcode when building the main xDrip target.
2024-05-05 19:51:41 +02:00
Johan Degraeve 6377df1f69
Merge pull request #535 from paulplant/develop
update background color for Watch accessoryRegular complication
2024-05-05 12:40:03 +02:00
Paul Plant e2b4b1b51e update background color for Watch accessoryRegular complication
- the previous/default black background wouldn't render on Watchfaces that had a colour scheme applied
2024-05-05 11:41:22 +02:00
Johan Degraeve dff9f3a6f9 versin 5.2.0 - build 4198 2024-05-04 19:27:10 +02:00
Johan Degraeve 9792d8a57b
Merge pull request #532 from dnzxy/browser-build-updates
Various browser build updates & fixes
2024-05-04 14:02:03 +02:00
Johan Degraeve fd52892675
Merge pull request #534 from JohanDegraeve/staging-5.2
5.2 update
2024-05-04 12:12:43 +02:00
Paul Plant d2904829a0 update trace to include settings changes in 5.2.0 2024-05-04 11:27:59 +02:00
Paul Plant 4c2ca4022d target value message localization: NL
Co-Authored-By: Johan Degraeve <13840461+johandegraeve@users.noreply.github.com>
2024-05-02 08:30:11 +02:00
Paul Plant d63a22f883 remove TimeInterval() from ConstantsWidget to prevent compiler complaining 2024-05-01 21:04:26 +02:00
dnzxy 668de137a3
Various browser build updates & fixes
* Bump fastlane to 2.220.0
* Bump action container OS from macos-13 to macOS-14
* Bump Xcode selection to latest stable 15.3 (15.4 still in beta)
* Replace GH-provided GITHUB_TOKEN with user-provided GH_PAT around alive functionalities
2024-05-01 20:47:07 +02:00
Paul Plant 4657d5143d target value message localization: FR
Co-Authored-By: Patrick Sonnerat <patrick.sonnerat@hotmail.com>
2024-05-01 16:37:39 +02:00
Paul Plant 989f6f82c4 small large widget layout change for live activity
- to match systemSmall widget changes
2024-05-01 16:34:18 +02:00
Paul Plant 10ff067ff4 correction to live activity debugging 2024-05-01 13:22:06 +02:00
Paul Plant 02919651d5 remove "Show Target" option from Settings
- check if showTarget is disabled and set targetMarkValue accordingly
- targetMarkValue will be set to 0 if showTarget was disabled
- showTarget in user defaults is now deprecated but should be left in place for the next few versions until all users have transitioned over to the new method
- settings UI will show a new message when setting target value
- settings UI will show "Disabled" when target value is set to 0
- targetMarkValueInUserChosenUnit user defaults modified to allow setting 0 values
- initial localizations: EN, ES, DE
2024-05-01 13:09:27 +02:00
Paul Plant 3f33eff0f7 update settings section icons to use a constants file 2024-05-01 13:02:34 +02:00
Paul Plant 4077bb69da re-order some settings sections for clarity
- also correct Dexcom Upload icon as it was "pointing the wrong way"
- change develop settings hide timer to 120 seconds
2024-05-01 12:31:27 +02:00
Paul Plant 18570a63a1 add icons to Settings screen titles
- probably the most pointless commit ever in the world, but it actually looks much nicer than I thought it would and adds a little bit of context when quickly scrolling through the settings
- it would be much better to use SF Symbols, but the protocol only calls for a String returned so using emoticons is a rather childish, but quick and easy way to do it :)
2024-05-01 12:12:08 +02:00
Paul Plant a215d7a11d correction to Apple Watch Settings view row count 2024-04-29 21:26:47 +02:00
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 6d32a000e3 add placeholder chart data to the widgets (iOS and WatchOS)
- also remove "no trend" arrow that was previously added as it doesn't look good - prefer to leave it blank
2024-04-29 20:46:25 +02:00
Paul Plant 5f91f320ab remove the rest of @available >iOS16 checks as deployment target...
...makes them redundant
2024-04-29 19:13:07 +02:00
Paul Plant 3a955f3bfd remove legacy "show objectives" option for y-axis on charts
- glucose charts will now only work using the low/high objectives as y-axis values
- 99.99999% of all users (probably) use objectives so the settings can be safely removed to declutter
- moved the target value between high and low values
- added visual indicators for objectives/ranges to maintain consistency as per other parts of the app
- removed all localizations for the removed settings options
2024-04-29 13:31:29 +02:00
Paul Plant ab65f2eb27 move remaining complications settings row to developer settings
- move remaining complications settings row to developer settings and add a confirmation action to manually force an update (with explanation)
- change developer settings auto-hide to after 60 seconds
2024-04-29 13:02:38 +02:00
Paul Plant 379fcfd40a hide Developer Settings by default
- declutter settings menu and also hopefully avoid that people automatically just activate things
2024-04-29 13:02:38 +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 0b84e8bee4 tracing format update for active sensor max days 2024-04-22 09:20:45 +02:00
Paul Plant 64ac32fb47 remove @available iOS/WatchOS checks as deployment target makes them redundant 2024-04-20 13:21:12 +02:00
Paul Plant 8b14dc7634 logging improvements and corrections 2024-04-20 13:18:03 +02:00
Paul Plant 6e0f8c8ad5 updates to GlucoseChartType to configure new Siri intent type from the existing swiftui glucose chart
- extend and improve the current swiftui glucose chart
- add siri glucose chart type
- add conditional handlers for frame, aspectRatio and padding etc
- tidy up ConstantsGlucoseChartSwiftUI file ro improve readability and remove unnecessary constants
2024-04-20 13:01:03 +02:00
Paul Plant 2b327ac413 tidy up project structure 2024-04-20 13:01:03 +02:00
Paul Plant 8c6dfc2f15 siri integration - initial PR from @gshaviv
from https://github.com/JohanDegraeve/xdripswift/pull/492

Glucose intent

play with response graph scale

app shortcuts

add alternate app pronounciations

Add mention in settings for shortcuts

donate intent on move to foreground

add trend to siri response

fix trend calculation for Siri

Co-Authored-By: Guy Shaviv <guy@shaviv.org>
2024-04-20 13:01:03 +02:00
Paul Plant 8e8a50f02c contact image translations (DE)
Co-Authored-By: Deniz Cengiz <48965855+dnzxy@users.noreply.github.com>
2024-04-14 15:40:04 +02:00
Paul Plant 8a1be8928a forceComplicationRefreshTimeInMinutes to 20 minutes
- change back to 20 minute forced refresh intervals

- using 10 minutes (correctly) runs out of remainingComplicationUserInfoTransfers by around 17hrs
2024-04-14 14:35:42 +02:00
Paul Plant cf797f33a8 update text strings for Contact Image 2024-04-14 14:33:08 +02:00
Paul Plant bed459135c contact image updates
- simplify even further to limit user interaction needed
- contact is now automatically created and updated based upon the app name (to allow it to work with app variants)
- contact orgranization name will show data source and update time
- contact notes will show a localized note to say that the app created the contact automatically and when
- contact will be automatically deleted from contacts if the user disables the contact image function
- initial translations done to EN, ES
2024-04-14 14:12:02 +02:00
Paul Plant 460daed601 initial adaptation to xDrip4iOS
- remove range indicator as this is combined with text colour as per xDrip4iOS UI style
- add font size scaling to keep each string size occupying the same space in the complication
- simplification
2024-04-14 09:34:26 +02:00
Paul Plant 2adc5384ec correction to watchManager() forceComplicationRefreshTimeInMinutes 2024-04-13 09:18:03 +02:00
Paul Plant a3bb69b87e rename NumberImageView to ContactImageView and move to SwiftUIViews folder 2024-04-12 21:01:27 +02:00
Paul Plant 8040eb44d8 rename "Contact Trick" to "Contact Image" in the whole project 2024-04-12 13:54:07 +02:00
Paul Plant ed3a3d84e7 remove old self. references from previous closure in processWatchState() 2024-04-11 19:43:48 +02:00
Paul Plant 9a737c8c74
Merge pull request #527 from yurique/feature/contact-trick
contact trick - missed file
2024-04-11 18:10:26 +02:00
Iurii Malchenko 29a40169c6 Merge remote-tracking branch 'yurique/feature/contact-trick' into feature/contact-trick
# Conflicts:
#	xdrip.xcodeproj/project.pbxproj
2024-04-11 17:43:28 +02:00
Iurii Malchenko 931f918278 uncommitted change 2024-04-11 17:41:20 +02:00