Skip to content

Releases: DrBanshan/banshan-habits-tracker

Release - 0.1.5

20 Jun 14:44

Choose a tag to compare

🐛 Bug Fixes

  • Fix modal crash on macOS/iOS where apply/cancel buttons were hidden by clipping Obsidian's modal overflow
  • Resolve onChange is not a function error in color picker by capturing ColorComponent correctly from the
    callback parameter
  • Fix TypeScript strictness warnings — eliminated all any types and eslint-disable comments, replaced with
    proper ColorComponent | undefined typing and safe typeof checks

Release - 0.1.4

20 Jun 12:43

Choose a tag to compare

📐 Layout

  • Split panel into independent controls (top) and view (bottom) sections that re-render separately, avoiding
    interference during window resizing

🎨 UI Improvements

  • Compact mode for Today view — cards stack into 3 rows when container width ≤500px, triggered by actual
    container width via ResizeObserver (works reliably on all platforms)
  • Align settings button with other control buttons in the header row
  • Simplified color picker — removed preset swatches, replaced with inline Obsidian color picker labeled
    "Color:"
  • Add 11 new emoji options to the habit icon picker

🐛 Bug Fixes

  • Fix compact mode not triggering on macOS/iOS by using ResizeObserver instead of viewport-based media
    queries
  • Resolve TypeScript unsafe any and Promise type warnings in modals.ts

Release - 0.1.3

20 Jun 07:56

Choose a tag to compare

⚡ Performance

  • Optimized drag-and-drop for large habit lists — cards now reorder in-place instead of full re-render
  • Cached DOM queries during drag operations, eliminating repeated lookups
  • Throttled drag-over layout calculations to one frame per cycle

📱 Compact Mode (Today View)

  • Today view cards automatically switch to a 3-row layout when window width is ≤900px
  • Row 1: streak count, today toggle, and habit name stay together on the left
  • Row 2: day blocks centered below
  • Row 3: total day count right-aligned

🎨 UI Fixes

  • Added subtle border outline to year cards in All view for visual distinction
  • Increased total day count font size to 16px bold across both wide and compact modes
  • Fine-tuned spacing between streak count, toggle, and habit name in today view

Release - 0.1.2

20 Jun 04:41

Choose a tag to compare

Release Notes — v0.1.2

Bug Fixes

  • Color swatches now render correctly in the Add/Edit habit modals — preset color buttons display their actual colors
    instead of appearing white/empty
  • Obsidian 1.12.7 compatibility — replaced setDestructive() (added in 1.13.0) with setWarning() so the plugin works on
    older Obsidian versions

Initial release - 0.1.1

19 Jun 11:00

Choose a tag to compare

Release Notes — v0.1.1

Banshan Habits Tracker is now available as an Obsidian community plugin.

✨ What's Included

  • 4 Views: Today overview, monthly calendar, yearly heatmap, and per-habit year-at-a-glance
  • Streak Tracking: Strict mode and forgiving mode (1-day grace period)
  • Flexible Scheduling: Daily, weekly, or specific days of the week
  • Interactive Controls: Inline toggle buttons, drag-to-reorder habits, habit dropdown selector
  • GitHub-style Heatmap: Year view with dynamic column wrapping and streak-based opacity levels
  • Readable Data: Plain Markdown files with YAML frontmatter — fully portable across editors
  • Settings: Today view window (7 or 21 days), empty table auto-cleanup mode, debug logging

🛠 Technical