garage44.eu/jeroen/cartopolis

logclone: git clone https://garage44.eu/jeroen/cartopolis.git

.. /docs/notes/calendar.md

raw


topic: calendar triggers: [calendar.rs, systems::calendar, meeting.rs, meeting.ts, meeting-vectors.json, "cartopolis:repeat", "cartopolis:skip", "cartopolis:date", "cartopolis:every", "repeating meeting", "docs/mockups/calendar", chats.rs] updated: 2026-10-19

The calendar: the plans you are in, built on the device

Asked for 2026-10-18; the design and the decisions are docs/mockups/calendar (v1 the calendar, v2 repeating meetings). One view of every meeting (meeting::Plan) and meet-up (a Point with a Meetup) from every private chat, group and community topic, with your answers, in the app's Community panel and on the web page.

Decided with the person steering (2026-10-19)

Why the app keeps a book of its own

The app holds chat lines in memory only; after a restart only the keys are left. So systems::calendar::Book copies every plan, update, answer and meet-up line into platform::storage (calendar/<server>/<user>.json, Data namespace, preloaded on the web like e2ee/), and drops a plan 30 days after its last date with its answers. Each device builds its own: a device sees only what was said after it joined a chat, plus the shared history. The web page needs no book: its worker already keeps every chat's history in IndexedDB.

Repeats: the traps