Okay, you want a simple Obsidian calendar heatmap that just indicates presence of an activity on a given day, not how much of it. Here's a breakdown of how to achieve this, combining plugins and potentially some custom CSS. I'll give you a few options, ranging from easier to more complex, and explain the pros and cons of each.
Core Concept:
The key is to use a plugin that creates a calendar heatmap and then configure it (or modify its appearance) to treat all activity as "100%" or "present" rather than trying to calculate intensity. We'll leverage Obsidian's daily notes and tags.
1. Using the "Calendar" Plugin (Easiest)
2. Using "Heatmap Calendar" Plugin with CSS (More Control)
3. Templater and Dataview (Most Flexible, Most Complex)
-
Plugins: https://github.com/pqrs/obsidian-templater and https://github.com/blacksmithgu/obsidian-dataview
-
How it works: This approach uses Templater to automatically add tags to daily notes based on your input, and Dataview to query the data and create a custom calendar view. This is the most powerful but also the most involved.
-
Setup: (This is a high-level overview; it requires significant configuration)
- Install Templater and Dataview.
- Templater Template: Create a Templater template that prompts you for the activities you did on a given day and then adds the corresponding tags to the daily note.
- Daily Note Template: Use the Templater template as the template for your daily notes.
- Dataview Query: Create a Dataview query that iterates through all daily notes and checks for the presence of your tags. The query would then generate a table or list representing the calendar heatmap, with a checkmark or other indicator for each day that contains a tag.
-
Pros:
- Maximum flexibility and customization.
- Can create very sophisticated calendar views.
-
Cons:
- Requires significant knowledge of Templater and Dataview.
- The most complex setup.
- Requires ongoing maintenance.
Recommendation:
Start with Option 2 (Heatmap Calendar + CSS). It provides a good balance of ease of use and customization. The CSS snippet will give you the checkmark effect you want, and the plugin settings allow you to control how the tags are interpreted.
Important Considerations:
- Tag Consistency: Be consistent with your tags. Always use the same tag names.
- Daily Note Creation: Make sure your daily notes are created automatically (using the Daily Notes plugin).
- CSS Conflicts: If you have other CSS snippets enabled, they might conflict with the heatmap CSS. Test carefully.
- Plugin Updates: Keep your plugins updated to benefit from bug fixes and new features.
Let me know if you'd like more detailed instructions on any of these options, or if you have any specific questions. I can help you refine the CSS or Dataview query if needed.