Files
webmail/lib
Linus Rath a6e6a5e201 fix: show a new series' occurrences and keep single edits off the series
A live Lite run on 1.0 and 0.16.23 found two faults with a series just
created:

- Its later occurrences did not appear until the page was reloaded. The
  store added the series itself to the grid and did not load the range
  again, and only the range load expands a series (on the server, or in
  the browser). The store now reloads the visible range after creating
  a series, and after any change to a series or one that makes an event
  a series or a single event again.
- That one item was the series itself, and "This event only" on it
  wrote the editor's data to the series: `CalendarEvent/set` on the
  series' id with its title, start and rule, so every occurrence
  changed. "Delete this event only" deleted the series. The series
  itself now stands for its first occurrence: a change becomes an
  override of that occurrence, and a delete excludes it. "This and
  following events" from the first occurrence changes, or deletes, the
  whole series instead of ending it before its first occurrence. No
  single-occurrence path falls back to the series' own id any more; only
  an occurrence the server keeps as an event of its own (an invitation
  to that occurrence alone) is changed or deleted as itself, and a
  series that cannot be found is refused with the usual error.

The delete scopes moved from calendar-app.tsx to
`lib/recurrence-scope-edit.ts`, next to the edit scopes, so they are
tested.
2026-09-26 00:27:20 +02:00
..
2026-09-03 22:12:15 -07:00
2026-04-16 19:07:42 +02:00