JohanDegraeve / xdripswift

xdrip for iOS, written in Swift
GNU General Public License v3.0
342 stars 339 forks source link

Feature request: Shortcuts support for treatments #569

Open yochem opened 2 months ago

yochem commented 2 months ago

First of all, thank you for adding shortcuts support! Love it, and use it all the time.

It would be great if there would be shortcut actions for registering new treatments. This could greatly improve the UX of adding treatments.

On a side note, might it also be possible to export these (bolus and carbs) to apple health?

Thanks in advance!

paulplant commented 1 month ago

What shortcuts support did we add? I'm not sure I follow...

yochem commented 1 month ago

I think you have added Siri support, which also appears in the Shortcuts app. The shortcut is called "What's my glucose level".

image

So I guess my question could also be framed as: Could you add the ability to add treatments via Siri?

paulplant commented 1 month ago

Ah yes, ok...

So I guess it could technically be done, it's just whether we'd be able to give this priority over other stuff.

But sure, I'll add it to the list!

yochem commented 1 month ago

Sure! I understand that. I'm afraid I can't help either, I know close to nothing about Swift / iOS development.

Thank you again for all the work on this app, greatly appreciated.