Commit graph

8 commits

Author SHA1 Message Date
callumalpass
abf337ca04 Use clickable cursor variable for TaskNotes controls 2026-05-17 14:28:33 +10:00
callumalpass
b664e4e03c Improve pomodoro timer and stats bases 2026-05-17 00:01:14 +10:00
callumalpass
da71c84926 Clean up lint and modal styling 2026-05-14 22:04:48 +10:00
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
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
f3ff723152 feat: enhance time entry interface with new modal and calendar integration
Add comprehensive time entry management features:

- Add TimeEntryEditorModal for viewing, editing, adding, and deleting time entries
  - Native HTML5 datetime-local pickers for better UX
  - Auto-calculated duration from start/end times
  - Sorted by date (newest first)
  - Total time display in hours and minutes

- Add new commands:
  - "Start time tracking (select task)": Opens task selector to start tracking
  - "Edit time entries (select task)": Opens task selector then time entry editor

- Add TaskActionPaletteModal integration:
  - "Edit time entries" action appears for tasks with time entries

- Add Alt+drag calendar functionality:
  - Alt+drag on Bases calendar creates time entries (similar to Shift+drag for timeblocks)
  - Opens task selector to choose which task to add time entry to
  - Auto-calculates duration from dragged time range

- Fix timeblock creation (Shift+drag):
  - Remove requirement for timeblocks to be visible to create them
  - Allow creation as long as timeblocking is enabled in settings
  - Add debug logging for troubleshooting modifier keys

- Fix EVENT_TASK_UPDATED error:
  - Remove redundant event triggers that were passing incorrect data
  - TaskService.updateTask() already handles event emission properly

- Fix modal width issues:
  - Update TimeEntryEditorModal to prevent horizontal scrolling
  - Update webhook modal CSS with same fix
  - Use width: auto on modal container, specific width on modal-content

- Add comprehensive i18n translations for all new features
- Add styling for TimeEntryEditorModal with responsive design and dark mode support
2025-10-29 21:46:23 +11:00
Callum Alpass
b3c8e4963a feat(ui): add comprehensive webhook settings styling
- Create dedicated webhook-settings.css with modern design system
- Add webhook styles to CSS build process in build-css.mjs
- Implement card-based layout for webhook list and modal
- Add proper spacing, colors, and hover effects
- Use Obsidian design tokens for consistent theming
2025-08-13 10:37:02 +10:00