[x] I am submitting a bug report, not a feature request.
[x] I have searched for similar issues, but did not find any matches.
Description
When setting a Yes/No-habit to "1 times per week" or "1 times in 7 days", it automatically defaults to "Every 7 days." This is not the same functionality, as it does not allow for the flexibility of choosing which day to execute the day while being able to keep the habit.
E.g. to see that the streak is not broken: Execute habit once on Monday, 2nd week on Tuesday, 3rd week on Wednesday.
Also discussed in https://github.com/iSoron/uhabits/discussions/1851 .
Side-Note: I was unsure if to count this as a bug or a feature request, but as the functionality "1 times in 7 days" explicitly does not work as expected, as well as the discussion itself being unanswered so far, I counted it personally as a bug.
Steps to reproduce
Go to Create/Edit a "Yes/No"-habit.
Set frequency to "1 times per week" or "1 times in 7 days".
Click "Save".
See error, i.e. Frequency gets turned to "Every week", which is internally "Every 7 days" (as seen by clicking on the frequency again).
System information
Phone: Any, e.g. Pixel 3a
Phone Operating System: Android 14
App version: Newest as of this moment, i.e. 2.2.0
Screenshots with example szenario of "Every 7 Days"
An example image, where one can see that the streak is not kept.
Another example image, where the streak retroactively counts for the 23rd April, when finishing the habit on the 7th May
A third example image, where the streak does not automatically count for the 14th May, though it was retroactively applied to the 23rd April.
This seems to imply that as long as one equally uses all 7 days again and again, the habit will be fully registered, though only retroactively. As this only happens retroactively, and in this case sometimes weeks apart, I am not sure if this is to be intended behaviour, or if logic should/can be changed accordingly.
I tried to fix the problem myself by editing "EditHabitActivity.txt" and "FrequencyPickerDialog.kt", but sadly my coding skills weren't enough to reach the desired functionality, i.e. that executing the habit on any day in a week fulfills that complete week as satisfied.
Pre-submission checklist
Description
When setting a Yes/No-habit to "1 times per week" or "1 times in 7 days", it automatically defaults to "Every 7 days." This is not the same functionality, as it does not allow for the flexibility of choosing which day to execute the day while being able to keep the habit. E.g. to see that the streak is not broken: Execute habit once on Monday, 2nd week on Tuesday, 3rd week on Wednesday.
Also discussed in https://github.com/iSoron/uhabits/discussions/1851 . Side-Note: I was unsure if to count this as a bug or a feature request, but as the functionality "1 times in 7 days" explicitly does not work as expected, as well as the discussion itself being unanswered so far, I counted it personally as a bug.
Steps to reproduce
System information
Screenshots with example szenario of "Every 7 Days"
An example image, where one can see that the streak is not kept.![image](https://github.com/iSoron/uhabits/assets/57843146/71ac5791-1ff4-4a8e-abd8-2fb4792d5670)
Another example image, where the streak retroactively counts for the 23rd April, when finishing the habit on the 7th May![image](https://github.com/iSoron/uhabits/assets/57843146/ead15266-c19d-4ab1-a9a7-9435180e4d43)
A third example image, where the streak does not automatically count for the 14th May, though it was retroactively applied to the 23rd April.![image](https://github.com/iSoron/uhabits/assets/57843146/7a5e001c-c375-4aa8-913e-1b405e334812)
This seems to imply that as long as one equally uses all 7 days again and again, the habit will be fully registered, though only retroactively. As this only happens retroactively, and in this case sometimes weeks apart, I am not sure if this is to be intended behaviour, or if logic should/can be changed accordingly.
I tried to fix the problem myself by editing "EditHabitActivity.txt" and "FrequencyPickerDialog.kt", but sadly my coding skills weren't enough to reach the desired functionality, i.e. that executing the habit on any day in a week fulfills that complete week as satisfied.
Thank you for your work.