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

Add widget for "Add copy of last use" #588

Open
LeoColman opened this issue May 29, 2024 · 3 comments
Open

Add widget for "Add copy of last use" #588

LeoColman opened this issue May 29, 2024 · 3 comments
Labels
Feature A new feature

Comments

@LeoColman
Copy link
Owner

No description provided.

@LeoColman LeoColman added the Feature A new feature label May 29, 2024
@rahim001-sudo
Copy link
Contributor

Hello @LeoColman .
Can you help me understand what widget are we looking for.?.
Should it be same as addUse dialog but in a widget to update the Last Use ?.

@LeoColman
Copy link
Owner Author

Surely

main...588-add-widget-for-add-copy-of-last-use

We started work on this a long time ago, but never finished it.


When we click in the app to Add Use, we copy the last use to the form and allow the user to virtually "Duplicate" their use entry, improving repeatability and reducing chance for input error

I think the duplication happens here

What we want is a Widget Button that adds a new use in the same fashion. "Add a copy of my last use, because I'm using the same dose again".

I believe work on widget was stopped because we couldn't find a way to update a timer in real time (avoiding a double click).

The definition of done for this guy is to have a button on the home screen that adds a copy of the previous use as a new use.

Let me know if you need more details!

@rahim001-sudo
Copy link
Contributor

Hello @LeoColman .
I missed the notification.

As per my understanding

in the App we are adding a new use (by filling the details manually) and update the timer (the new use would be the recent).

from the widget we would have a button that would just take copy of the last use and consider it as new and hence updating the timer again like days seconds and all on the widget itself.

Got it.
I will take reference of that branch and update further.

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

When branches are created from issues, their pull requests are automatically linked.

2 participants