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

Allow multiple avoids and dones per day #124

Open
1 of 2 tasks
phanirithvij opened this issue Feb 16, 2022 · 3 comments
Open
1 of 2 tasks

Allow multiple avoids and dones per day #124

phanirithvij opened this issue Feb 16, 2022 · 3 comments

Comments

@phanirithvij
Copy link

⚠️ Is your feature request related to a problem? Please describe

No

💡 Describe the solution you'd like

I have a habit of stress nails biting for example,
I won't do it only once a day, so it makes sense to allow more than one avoid or done for a single habit for a day.

I think this will be better with no frequency restrictions.

📊 Describe alternatives you've considered

Add a counter per habit tile in the Avoided and Done tabs.

📄 Additional context

🙋 Do you want to develop this feature yourself?

  • Yes
  • No
@CrazyMarvin
Copy link
Contributor

I like your idea.
@arafaatqureshi, do you think this will be difficult to implement?

@arafaatqureshi
Copy link
Contributor

@CrazyMarvin yes it is, but not impossible :) will look into it. for that we have to change the whole database structure.

@teslahitchhiker42
Copy link

teslahitchhiker42 commented Oct 21, 2022

So it is possible to add multiple avoids and dones for a habit in one day but I think this may be a bug.

But this is how to do it:

Add a habit to avoided or done.
Go to the avoided or done tab.
Click on the habit you just added. The dialogue for adding notes will come up.
Click update (whether or not you add notes). When you click update, the dialogue closes. But then the date format on the task changes from 2022-10-21 format to 21-Oct-2022 format.
Go back to the habits tab.
Add the same habit to avoided or done (whichever you added it to previously). It will add the habit to avoided or done a second time, but with the original date format (2022-10-21).
You can repeat this all over again for the avoid or done you just added and add yet another one, and I think this process can be repeated indefinitely to add infinite avoids or dones for any habit in one day.

I'm not sure what this does to your log tho.

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

4 participants