Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: track caffeine consumption manually #831

Open
uyuarasy opened this issue Oct 29, 2024 · 2 comments
Open

Feature: track caffeine consumption manually #831

uyuarasy opened this issue Oct 29, 2024 · 2 comments

Comments

@uyuarasy
Copy link

Hey,

I'm a coffee hobbyist and frontend developer (both with varying amplitude 😃) with a desire to track various data to Apple Health. Current integration works as expected, however I'm pulling shots for friends and family as well, so I have to delete the unrelated items if the sync in on.

Then had the idea what if there's a way to track only individual shots, either in brew-brewing or from brew-popover-actions. It seemed like and easy thing to implement so started to fidget with it locally, then realized we should discuss it.

  1. Would it be a valid feature? Read here that cordova-plugin-health can't be migrated.
  2. Also there's this issue, can the editing/deletion be solved via extending brew class with a timestamp when Health was updated? That could be used for tracking if a brew was added or not, like:

image

Thanks!

@graphefruit
Copy link
Owner

Hello @uyuarasy,
thank you for the intention of the tracking.
The main situation comes with this, that many people want to track e.g. their brews for different people, and want to spread/differ this inside the App, but thats not the intention in the actual case.

Also what would happen if you fast repeat a brew? It would be added still?

Anyways what I could think of:
Add an extra-card after "After brewing" called like "Additional data", because its not a parameter you could add, sort or preset.

Also adding in the settings the option when you added caffeein tracking, to add another checkbox saying "add manually".

@uyuarasy
Copy link
Author

Hey @graphefruit,

Thanks for your quick reply!

I think the extra card is a great idea, also there could be two new checkboxes in settings; one to enable manual tracking and another to copy/exclude caffeine data during repeats.

Didn't had too much free time recently, hopefully I could finalize this during the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants