Skip to content

feat: rebuild the calendar, add a date picker and a notification centre - #15

Merged
ljm12914 merged 1 commit into
mainfrom
refactor/calendar
Nov 24, 2026
Merged

ljm12914 merged 1 commit into
mainfrom
refactor/calendar

Conversation

@ljm12914

Copy link
Copy Markdown
Member

Summary

  • Date picker: new base/DatePicker for minute, hour, day, month and year attributes. It replaces every native date and time input in the properties pane and the library filters.
    • A typed value field that accepts the display format for the precision.
    • Day, month or year grid with Monday first.
    • base/ClockInput with scrolling clock columns: hour and minute for minute precision, one column for hour precision.
    • Now sets the current moment cut to the precision; Clear sits next to it.
    • Every pick is written at once.
  • Calendar: rebuilt on base components and tokens.
    • Toolbar with month navigation and a single New page button.
    • Six-week month grid that shows as many pages per cell as fit, then "N more".
    • Resizable day list with start times as HH:mm.
    • Pages load by visible date range (pages.calendarRows), and changes reload only the affected ids.
    • Date, start and status attributes are chosen in the tab menu.
    • Drag a page onto another day to move its date and start time in one undoable write.
  • Notification centre: reminders leave the calendar for a bell at the bottom of the activity bar, with an unread badge.
    • Actions: read, unread, clear and clear all. Clearing removes only the fired record; the reminder setting stays.
    • Clicking a system notification focuses the window, marks the reminder read and opens the page.
  • App-wide: time zones are no longer shown outside settings. Text in base controls cannot be selected; inputs stay selectable.
  • Cleanup: old calendar cards and styles removed, along with ListHistory, ContextActions and calendar-day.

Checks

  • Typecheck, lint, Knip and the database baseline check pass.
  • Tests pass: database tools and IPC 6, workspace 282, feed 45.
  • Calendar perf on a 10,000-page fixture, P95:
    • first paint 86.5 ms;
    • month switch 56.1 ms;
    • notification list 23.8 ms;
    • drag frame interval 16.8 ms.
  • pnpm perf absolute limits pass.
  • The feed long-body CPU comparison rose about 15% with no cause found in this change; its absolute limit passes.
  • Real-input smoke testing is still to do: IME candidate window, physical mouse drag, clicking a system notification.

🤖 Generated with Claude Code

- Date picker: a base DatePicker for minute, hour, day, month and year
  attributes, with a typed value, a month/year grid, scrolling clock
  columns, Now and Clear. It replaces every native date and time input.
- Calendar: toolbar, six-week month grid and a resizable day list. Rows
  load by visible date range; one New page button; attribute choices in
  the tab menu; drag a page onto another day to change its date.
- Notification centre: reminders move from the calendar to a bell at the
  bottom of the activity bar, with read, unread, clear and clear all.
  Clicking a system notification opens the page.
- Time zones are no longer shown outside settings; text in base controls
  cannot be selected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ljm12914
ljm12914 merged commit 7a3cb43 into main Nov 24, 2026
1 check 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