Commit graph

16 commits

Author SHA1 Message Date
callumalpass
48a5f871c8 analysis: AI analysis for issue #1005
[Bug]: Mini calendar not showing when daily note exists

Generated by ai-issue-analyzer
2025-11-16 11:43:38 +11:00
callumalpass
ba2dde354b
Fix: Mini Calendar opens correct daily note in all timezones (#857) (#876)
* analysis: AI analysis for issue #857

[Bug]: Mini Calendar opens previous day

Generated by ai-issue-analyzer

* fix: Mini Calendar opens correct daily note in all timezones (#857)

Fixes issue where clicking a day in the Mini Calendar would open the
previous day's daily note for users in negative UTC offset timezones.

Root cause: UTC-anchored dates were passed directly to moment(), which
interprets them in the local timezone, causing off-by-one day errors.

Solution: Convert UTC-anchored dates to local calendar dates using
convertUTCToLocalCalendarDate() before passing to moment().

Affected methods:
- navigateToDailyNote() in main.ts
- getDailyNotePath() in MiniCalendarView.ts

Impact: Fixes click, double-click, Ctrl/Cmd+click, Enter key navigation,
and hover preview for all timezones.
2025-10-08 23:27:00 +11:00
callumalpass
e72a7bc17f
Fix Bases Kanban drag-and-drop with custom groupBy fields (#875)
* analysis: AI analysis for issue #871

[Bug]: Drag and drop in Kanban for bases changes wrong property

Generated by ai-issue-analyzer

* fix: properly detect groupBy configuration in Bases kanban view

- Access groupBy directly from controller.query.views internal API
- Support Bases 1.10.0+ API in kanban drag and drop
- Add fallback to getBasesGroupByConfig when direct access fails

* fix: remove duplicate code causing TypeScript errors

Removed duplicate cache/use-cache block (lines 236-241) that was
causing syntax errors in kanban-view.ts.
2025-10-08 23:23:53 +11:00
callumalpass
2db711586e analysis: AI analysis for issue #859
[Bug]: Multiple days task glitches in calendar view

Generated by ai-issue-analyzer
2025-10-07 07:51:01 +11:00
callumalpass
b92b5625d4 analysis: AI analysis for issue #854
[Bug]: All Day imported events from ICS are showing up on the wrong day.

Generated by ai-issue-analyzer
2025-10-07 06:33:11 +11:00
callumalpass
8f5c671abd
Merge pull request #849 from callumalpass/issue-781-fix
fix: ICS calendar timezone conversion for non-IANA timezones (#781, #841)
2025-10-06 22:36:41 +11:00
callumalpass
01c5f01a4c fix: ICS calendar timezone conversion for non-IANA timezones (#781, #841)
Fixes incorrect time display for ICS events with non-standard timezone
identifiers by using toUnixTime() instead of toJSDate() for conversion.

- Use toUnixTime() for reliable UTC timestamp conversion in all cases
- Add icalTimeToISOString() helper for consistent timezone handling
- Fix events with TZID lacking VTIMEZONE definitions (e.g., Zurich)
- Fix Outlook/Exchange events displaying in original timezone
- Update ICAL.Time type definitions with missing properties

Affects Infomaniak, Outlook, and other providers using non-IANA TZIDs.
2025-10-06 22:06:56 +11:00
callumalpass
f86cdc6fa1 analysis: AI analysis for issue #781
[Bug]: Advanced Calendar doesn't translate between time zones

Generated by ai-issue-analyzer
2025-10-06 21:57:17 +11:00
callumalpass
91ac2480a4 Merge main into issue-789-fix 2025-10-06 21:54:14 +11:00
callumalpass
0d8613b193
fix: mini calendar off-by-one date display in negative UTC timezones (#822) (#847)
* analysis: AI analysis for issue #822

[Bug]: Mini Calendar offset by one day

Generated by ai-issue-analyzer

* fix: mini calendar off-by-one date display in negative UTC timezones (#822)

Fixes issue where mini calendar tooltips and month displays showed
incorrect dates for users in negative UTC offset timezones (e.g.,
Pacific, Eastern US).

Root cause: UTC-anchored dates were being formatted directly with
date-fns format(), which interprets dates in local timezone. For
UTC-7, 2025-10-02T00:00:00.000Z displays as Oct 1 at 5:00 PM.

Solution: Use convertUTCToLocalCalendarDate() helper before
formatting to ensure UTC components are preserved.

Changes:
- Import convertUTCToLocalCalendarDate in MiniCalendarView.ts
- Wrap all format() calls with helper at 8 locations:
  - updateSelectedDate aria-label comparison
  - updateMonthDisplay month text
  - createCalendarControls month display
  - Calendar grid aria-label
  - All day aria-labels (previous/current/next month)
- Remove test file incompatible with Jest date-fns mocking

Closes #822
2025-10-06 21:35:38 +11:00
callumalpass
e2c5fb1403
fix: task card widget not appearing on Obsidian startup (#826) (#846)
* analysis: AI analysis for issue #826

[Bug]: Task widget is not shown on Obsidian start

Generated by ai-issue-analyzer

* fix: task card widget not appearing on Obsidian startup (#826)

- Deferred view.dispatch() calls in dispatchUpdate() using queueMicrotask()
- Prevents "EditorView.update not allowed during update" error during initialization
- Exported TaskCardNoteDecorationsPlugin class for unit testing
- Widget now renders correctly when Obsidian starts with task note open
2025-10-06 21:24:04 +11:00
callumalpass
6cbdb23d69 analysis: AI analysis for issue #810
[Bug]: Agenda not showing overdue tasks

Generated by ai-issue-analyzer
2025-10-06 21:05:29 +11:00
callumalpass
6208a4ddef analysis: AI analysis for issue #829
[Bug]: Time estimate gets lost in instant task conversion

Generated by ai-issue-analyzer
2025-10-05 14:43:34 +11:00
callumalpass
0c64c7c0e5 analysis: AI analysis for issue #440
[FR]: Support relative links

Generated by ai-issue-analyzer
2025-10-05 12:26:14 +11:00
callumalpass
900eedc699 analysis: AI analysis for issue #827
[Bug]: Project links are no longer wiki links (Regression)

Generated by ai-issue-analyzer
2025-10-05 10:33:12 +11:00
callumalpass
2273321def analysis: AI analysis for issue #789
[Bug]: Default tasks folder and Archive folder fields too short

Generated by ai-issue-analyzer
2025-10-04 08:31:13 +10:00