Skip to content

Conversation

@kalina559
Copy link
Collaborator

This solves #1857 and #1815 by enabling users to 'reset' an entry for a measurable habit if they added it by mistake. As this is not just a bug fix, but rather a new feature, I'll wait for an approval by @iSoron or @hiqua.

@kalina559 kalina559 requested review from hiqua and iSoron February 18, 2025 19:53
@ZornHadNoChoice
Copy link

You guys are cooking recently, awesome work!

val prefs = appComponent.preferences
view = CheckmarkPopupBinding.inflate(LayoutInflater.from(context))
arrayOf(view.yesBtn, view.skipBtn).forEach {
arrayOf(view.yesBtn).forEach {
Copy link

@oshhh oshhh Mar 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have a yes button for number dialog right? Do we need this line at all?

I'm sorry if I am missing something basi - I am unfamiliar with this codebase - just looked up the git repo to fix this issue and saw this cl already raised. Thanks!

@hiqua
Copy link
Collaborator

hiqua commented Mar 9, 2025

Hey thanks, the code looks good to me, but I haven't tested it. About this, the fact that the tests pass with this change without any adaptation of the tests is a good indication that we are missing some tests... If you're willing to go the extra mile, adding a corresponding test would be nice.

@iSoron iSoron merged commit cc720e3 into iSoron:dev Mar 22, 2025
1 check passed
@iSoron
Copy link
Owner

iSoron commented Mar 22, 2025

Thanks for the PR, @kalina559. I have merged it with some minor changes.

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

Successfully merging this pull request may close these issues.

5 participants