Commit graph

7 commits

Author SHA1 Message Date
callumalpass
9d0665e82f Clean up CSS lint issues 2026-05-14 21:06:30 +10:00
callumalpass
0238a7cd0a fix: restore pointer cursor fallback on interactive elements (#1470) 2026-02-08 19:05:31 +11:00
callumalpass
3681903c09 Refactor: Consolidate color patterns and improve consistency
- Replace duplicate color-mix patterns with var(--tn-interactive-hover)
- Normalize rgba() spacing for consistency
- Investigated !important usage: most are necessary for FullCalendar overrides

No line reduction, but improved maintainability and consistency.
2025-11-20 22:22:27 +11:00
callumalpass
94628e7857 Refactor: Remove remaining 'Use consistent button system' comments
Clean up obsolete comments across all remaining CSS files.

Reduces CSS from 18,239 to 18,233 lines (6 lines).
2025-11-20 21:36:48 +11:00
callumalpass
0f9ce902fd Refactor: Pare back unnecessary custom styling
Based on feedback from kepano to reduce custom styling and use
Obsidian's native styles where possible:

- Replace all `cursor: pointer` with `cursor: var(--cursor)` across
  all CSS files (100+ instances). Following Obsidian's convention where
  `cursor: pointer` is only for links.

- Remove forced `border: none; box-shadow: none` rules that were
  fighting against Obsidian's native button styling.

- Scope custom `.tn-btn` button system to `.mod-settings` only,
  allowing Obsidian's native button styles to work elsewhere.

- Add `background: transparent` to mini-calendar buttons to match
  Obsidian's native `.text-icon-button` styling.

This makes the plugin more cohesive with Obsidian's UI and reduces
unnecessary style overrides.
2025-11-20 20:59:30 +11:00
callumalpass
bd35c74681 feat: enhance statistics view with improved project drill-down and TaskCard integration
- Replace simple task rendering with full TaskCard components in project drill-down modal
- Add proper CSS scoping to modal for TaskCard styling
- Enhance project stats with progress circles and better visual design
- Add special styling for "No Project" cards with dashed borders and muted appearance
- Improve drill-down modal with task filtering (All/Active/Completed)
- Add average time per task metric to project overview
- Show all project tasks instead of just recent activity
- Fix modal z-index to work properly with context menus and other modals
- Enhanced progress circles with better colors and hover effects
2025-08-31 15:01:17 +10:00
callumalpass
b41f11e36e feat: Implement comprehensive statistics view with project drill-down
- Add new StatsView component with project-based statistics and filtering
- Implement interactive project drill-down modals with detailed metrics
- Add sparkline time trend visualization for project activity
- Include activity bar charts showing daily task completion patterns
- Support date range filtering and project-specific analytics
- Fix modal CSS scoping to work properly when appended to document.body
- Remove jarring hover transform effects per user feedback
- Add comprehensive debugging for modal visibility troubleshooting

Addresses GitHub issue #477 for enhanced project statistics tracking.
2025-08-25 21:11:13 +10:00