Releases: j-finger/obsidian-heatmap
Releases · j-finger/obsidian-heatmap
1.0.1
v1.0.1 - 2025-03-23
Added
- Introduced global constants for view type, default leaf icon, default leaf title, and refresh interval.
- Abstracted hardcoded variables into global scope.
- Refactored inline CSS styling into CSS classes.
- Updated parameter names for clarity:
- folderName → heatmapLeafTitle
- iconSelection → heatmapLeafIcon
- targetFolder → trackedFolderPath
- colourwaysPresetJSON → colourPresetsJSON
- Enhanced settings display by clearing the container element on each display call.
- Updated settings text fields to use sentence case and replaced h2 headings with .setHeading() in the settings UI.
- Updated manifest.json, package.json, and CHANGELOG.md to include patch details and the new iteration.
Fixed
- Corrected the incorrectly imported function from normalisePath to normalizePath.
- Improved folder validation logic to ensure only valid folder paths or blank input (for the entire vault) are accepted.
- Enhanced error handling and fallback logic when parsing colourPresetsJSON to ensure valid colour arrays are used.
- Fixed view refresh and active leaf update issues so that changes to settings (leaf title, icon, etc.) are correctly applied.
- Removed redundant code comments and duplicate functions to streamline the codebase.
- Updated naming conventions and UI text to use sentence case and eliminate redundant headings (conforming with UI text and naming guidelines).
- Replaced inline CSS with CSS classes and leveraged Obsidian helper functions for safe DOM manipulation (aligns with DOM Manipulation and Styling guidelines).
- Corrected the import from normalisePath to normalizePath, ensuring proper cross-platform file path handling (File System API and Path Handling).
- Cleared container elements and removed duplicate functions to improve resource management and cleanup (Resource Management and Custom Views).
v1.0.0 – Initial Release – 2025-03-20
v1.0.0 - 2025-03-20 Release
Added
- Initial release of Heatmap – a simple sidebar heatmap for Obsidian.
- GitHub-style heatmap visualization based on file create/modify activity.
- Live refresh functionality with hourly update checks.
- Interactive day cells that display file names (filename only) in a popup.
- Dynamic resizing that rebuilds the heatmap when the container changes size.
- Customisable colour presets via JSON input and a selectable colourway dropdown.
- Settings for target folder, leaf title, and icon selection with simple visual validation.
Fixed
- Basic error handling for JSON parsing and input validations.
- Normalised user input folder path
Thank you for trying out Heatmap! Please report any issues or suggestions on the GitHub repository.