Skip to content

feat: UidCalendar — day, week, year and agenda views - #53

Merged
dskripchenko merged 2 commits into
mainfrom
feature/calendar-views
Oct 31, 2026
Merged

dskripchenko merged 2 commits into
mainfrom
feature/calendar-views

Conversation

@dskripchenko

Copy link
Copy Markdown
Owner

UidCalendar grows from a month grid into a full calendar, backward compatible: with the default views: ['month'] it renders and behaves exactly as before (same classes, +N, selection, navigation).

  • Views: day and week (time grid, all-day row, overlapping events side by side, a now-line), month (timed events as dots with time, multi-day events as one bar), year (12 mini months, busy days marked, a click opens the day or the month), agenda (days with events). v-model:view, views (the switcher), v-model:anchor (the shown date).
  • Events: time / endTime and endDate on CalendarEvent.
  • range event with the visible days — for expanding recurring events only where they are shown.
  • editable: drag to move (month and time grid, 15-minute snap, duration kept), resize in the time grid, Escape cancels; event-move and slot-click (empty slot or all-day cell).
  • Pure date/layout model in calendarModel.ts with its own tests; locale strings for both languages.

Checks: 1254 unit tests (12 new for the views and the model), lint (no new warnings), build; stories Views and Editable exercised in Chromium — drag to another day and hour, resize, slot click.

🤖 Generated with Claude Code

dskripchenko and others added 2 commits October 31, 2026 09:20
…-day events, drag and resize

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dskripchenko
dskripchenko merged commit 90aa26f into main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant