Calendar: search events from the search bar (ihasmail #70) #86

Merged
jcoffey-dev merged 1 commits from port/calendar-search-ihasmail-70 into main 2026-11-06 19:33:49 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 212b7ee29d Calendar: search events from the search bar (ihasmail #70)
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m25s
ci / announce (pull_request) Skipped
Reported in coffey-labs/ihasmail#69.

In the calendar the search bar becomes "Search events" and opens
/calendar/search?q=. It sends CalendarEvent/query with a text filter to the
reader's own account and each account with an added shared calendar, and
matches subscribed calendars in the browser. Results are one list:
upcoming soonest first, then past most recent first and faded, under their
days as in the agenda. A result opens the usual event popover.

A series comes back once, as its master at its first date, so its next
date (or its latest, once it has ended) is asked for by uid with an
expanded query, one per series, in one request, in a window a day inside
maxExpandedQueryDuration.

Checked against inbuxa-server 27.1-rc.9: text matches title, description
and location by whole word in any case, and the index is written in the
background. The mock now honors text, sort and limit on
CalendarEvent/query. Seven new strings in every catalog.

ihasmail's FEATURES.md entry and its compatibility test against upstream
releases are left out: this repository has neither.

(cherry picked from commit 2e7fd9be769e26532167e4689e789d55366e1765)
2026-11-06 12:23:24 -07:00