Skip to content

Conversation

@powerjungle
Copy link
Contributor

@powerjungle powerjungle commented Apr 13, 2025

Works the same way as hiding habits, but only changes the color.

The reason this is useful, is because when a habit is treated as completed/entered, the cause might be just the frequency set for that habit.

So, if it's once per month and you've entered it only once, till a month has passed the habit will be hidden, but the habit might've been done again within that month and it would be useful to be able to see it to enter that data.

At some point it'll be good to change the darkest grey in the habit palet in "Edit habit", so that it doesn't conflict with the archived habit and "grey complete" colors.

It'll be good to call finish() on the settings activity, to avoid stacking activities every time the setting is changed.

Closes: #2103

Option disabled:

Screenshot_20250413_192622_Habits

Option enabled:

Screenshot_20250413_192638_Habits

Works the same way as hiding habits, but only changes the color.

The reason this is useful, is because when a habit is treated as
completed/entered, the cause might be just the frequency set for
that habit. So, if it's once per month and you've entered it only
once, till a month has passed the habit will be hidden, but
the habit might've been done again within that month and it would
be useful to be able to see it to enter that data.

At some point it'll be good to change the darkest grey in the
habit palet in "Edit habit", so that it doesn't conflict with
the archived habit and "grey complete" colors.
This is to avoid restarting the app to see the results,
when changing the grey completed setting.
… change

This only applies if the grey completed setting is enabled.
This is to avoid restarting the app to see the resulting color change,
when changing the show question marks setting.

It'll be good to call `finish()` on the settings activity,
to avoid stacking activities every time the setting is changed.
@nisc
Copy link

nisc commented Sep 25, 2025

Sure, I like it. Should be optional, though.

@powerjungle
Copy link
Contributor Author

@nisc it is optional.

var greyCompleted: Boolean
get() = storage.getBoolean("pref_grey_completed", false)
set(greyCompleted) {
storage.putBoolean("pref_grey_completed", greyCompleted)
}

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.

2 participants