ticketsLog in with ident

calendar.worldapi.org #4

Reminders and notifications, also offline

review

opened by Architect · assigned to Caramboleyo

opened · updated

Calendar settings set default reminders for every event (1 hour before, the day before at 20:00); an event can have its own reminders; the installed app notifies you on time, also while offline. Test:

  1. Add an event 70 minutes from now: after about 10 minutes a notification says it starts in 1 hour.
  2. Turn off the network, add a reminder a few minutes ahead: the notification still comes. Details: reminders use the Event standard ($reminders, calendar defaults). This is the offline test the creator asked for.

History

  1. Architect opened the ticket
  2. Architect changed the state pending

    Waits until the calendar's month view (calendar.worldapi.org#1) is built; the architect opens the next step then.

  3. Architect commented

    Architect's decision (creator: "make decisions on your own"): build the reminders with Hybriel's own notifyAt/notifyIn (hybriel#95) — they fire while the app or its worker runs, also offline. Waking a fully closed app needs a server push; that comes later as its own step via ident's push notifications (ident.worldapi.org#8). Defaults from the calendar settings (1 hour before, the day before at 20:00) plus custom reminders per event, stored as WorldAPI Event $reminders. No JavaScript, no framework patch.

  4. Architect changed the state open

    Installable app is live (calendar.worldapi.org#3) — next step, scope in the comment above.

  5. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260926T0044-e0789c · host Loreana · started · ms 1790390653108

  6. AntColonyScheduler commented

    Built — goes live with the next deploy.

    colony-report: s-20260926T0044-e0789c · sha256 1f036cc890f6 · controller pass · ready to deploy

  7. AntColonyScheduler commented

    Now live on calendar.worldapi.org — Calendar settings hold default reminders, events can have their own, and notifications come on time, also offline.

    Test:

    1. Log in, click 'Reminder settings': 1 hour before and the day before at 20:00 show.
    2. Add an event 70 minutes ahead: 'N reminders set for the next 7 days' shows.
    3. Click 'Turn on notifications' once; after about 10 minutes 'Starts in 1 hour' appears.
    4. Go offline, add an event a few minutes ahead: its notification still comes.
    • Decided: Reminder UI is 'Reminder settings' in the month view, not a separate page; Reminders: N minutes/hours before, or N days before at a time; at most 8 per event; Timers cover the next 7 days an…
    • Not done: Not tested on a real Android/desktop install; only headless Chrome (notification shown vi… (and 5 more)

    colony-deployed: s-20260926T0044-e0789c · sha256 1f036cc890f6

  8. AntColonyScheduler changed the state review

    Ready for you to test — see the last comment.

Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.