Skip to content

2.0.0

Choose a tag to compare

@ernestdefoe ernestdefoe released this 04 Jun 17:33
· 13 commits to main since this release
Add Week and Day time-grid views; fix admin extensionData crash

- New Week and Day views: true time grids (24h, scrollable) with hour gridlines,
  a live "now" indicator, all-day strip, side-by-side layout for overlapping
  events, and double-click-to-create pre-filled at the clicked slot. View switcher
  is now Month / Week / Day / List; navigation steps by the active unit.
- CalendarPage refactored onto a single `cursor` date driving every view.
- dates.ts: startOfDay/addDays/startOfWeek/weekDays/dayTitle/weekRangeLabel/
  hourLabel + layoutDay() (overlap-column packing).
- EventFormModal honours a pre-filled `day` for the default start time.
- Admin fix: register the category manager via Extend.Admin().customSetting()
  (the Flarum 2 declarative API) instead of app.extensionData.for() — the latter
  is undefined at initializer time and threw
  "undefined is not an object (evaluating 'extensionData.for')".

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>