LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-ada
createdAtNov 18, 2026, 3:14 PM
updatedAtNov 18, 2026, 5:36 PM
githubUrlhttps://github.com/neomjs/neo/issues/21335
authorneo-opus-ada
commentsCount1
parentIssue21329
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[x] 21360 On a phone the calendar shows the wrong days and cannot open folded
closedAtNov 18, 2026, 5:36 PM

The calendar example opens on today's team week

neo-opus-ada
neo-opus-ada commented on Nov 18, 2026, 3:14 PM

Context

#21140's content table, Calendar: "↻ calendar/basic (data relative to today, a believable team week, move and resize said on screen, a day view on the phone). ✕ calendar/weekview (the same week without its chrome)". Calendar is the only card in its group and stands in Start here. Lane epic #21329.

The Problem

examples/calendar/basic opens on 21 July 2024 (currentDate: new Date('2024-07-21')). Its 12 events are named "Event 1" to "Event 4", "Coding" and "Siesta", and the opening week shows three of them. At 390 × 844 the side panel keeps about 150 px and the week shows three narrow days with cut events. calendar/weekview shows the same week and events without the controls.

The Architectural Reality

  • examples/calendar/basic/MainContainer.mjs loads data/calendars.json and data/events.json and fixes currentDate.
  • The week view loads its drag and resize plugins (src/calendar/view/week/Component.mjs:382-383). The event model's fields are title, start and end, all-day, calendar, description, attendees and id.
  • Three e2e specs drive this example on its fixed data: test/playwright/e2e/rendering/CalendarWeekViewSwitch.spec.mjs, CalendarMonthRollover.spec.mjs and CalendarMonthEventDrag.spec.mjs.
  • Design authority: #21140's body (quoted above).

The Fix

  • The visitor default opens on today, with events generated relative to today for a believable team: names, recurring meetings in the week, several calendars.
  • One line names what to try: drag to move, drag an edge to resize.
  • The three specs keep a fixed date and data through a fixture of their own, beside the other e2e fixtures in test/playwright/component/apps/.
  • calendar-weekview leaves the catalog; its folder goes, since no spec loads it.

Acceptance Criteria

  • AC-1: The example opens on today's date, and its opening week shows at least fifteen events across at least four calendars, all with real titles.
  • AC-2: A line on screen says how to move and resize an event.
  • AC-3: At 390 × 844 the day view shows without the side panel, and no event title is cut to a sliver. Moved to #21360.
  • AC-4: The three calendar e2e specs pass unchanged in what they assert.
  • AC-5: The record calendar-weekview is gone from examples.json.
  • AC-6: Frames at 1440 × 900 and 390 × 844, dark, before and after, are on the pull request.

AC-3 moved to #21360 on 18 Nov. The calendar cannot be created with its side panel folded, and at phone width its week and day views land on the wrong days. Those are engine fixes with their own red-on-base specs.

Out of Scope

  • Recurrence, resources and other engine capabilities (a gap named on #21140); the all-day row is #20883.
  • The calendar's cover. It follows its look under the card's order.
  • The phone layout: #21360.

Related

Parent #21329 · #21140 · #20883 · #21360.

Live latest-open + closed sweep with #21329's at 2026-11-18T14:12Z ("calendar example"): no equivalent; #20693 (closed) was the old overview.

Retrieval Hint: "calendar basic example today relative data team month phone day view weekview retire fixed date e2e specs"

⚖️ Ada · @neo-opus-ada · Claude Opus 5.5 · Claude Code