habit-tracker icon indicating copy to clipboard operation
habit-tracker copied to clipboard

Suggestion: 'Obsidian Bases' View and support for custom recurrence habits

Open maikelagm opened this issue 1 month ago • 1 comments

📝 Description I propose creating a new view in the plugin ("Obsidian Bases") that allows for a modular and flexible configuration of habits:

Alternate View: Instead of the traditional format, the 'Obsidian Bases' view would allow configuring specific parameters (filters, sorting, grouping, etc.) for each view, making it easier to expand functionalities in the future.

Advanced Filtering: Allows choosing which habits to display in each view.

Expanded Support for Non-Daily Habits: A recurrence property could be added to handle habits with custom periodicity (for example, every 2 days, weekly, etc.). The view would show a visual indicator that informs the user if the routine is still active, even if the habit is not daily (without penalizing the user for not completing every day if it is not required).

Basis for Extensibility: This structure would facilitate implementing other features in the future, according to user needs.

Suggested Property Example JSON

{   "name": "Drink water",   "recurrence": "every 2 days" } Would it be possible to incorporate this view and the recurrence property into the plugin to support a greater variety of habits and configurations?

maikelagm avatar Nov 22 '25 07:11 maikelagm

Thanks for the suggestion Maikel. It looks like you're proposing two type of changes

  1. better view controls: sort, filter, group.
  • sort: yep, agree
  • filter: I think it's useful if users have a lot of habits, but I'm not sure that's the case
  • group by: again, useful for large number of habits, not sure if that's the case
  1. custom recurrence (e.g. every 2 weeks)
  • this is an interesting challenge, I'd need to think on how to implement it.

Let's have a conversation about this 👆 so pls tell me, did I get it right?

zincplusplus avatar Nov 22 '25 19:11 zincplusplus