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
Owner

Ports coffey-labs/ihasmail#70, reported in coffey-labs/ihasmail#69.

In the calendar the search bar becomes "Search events", with upcoming results first and past ones faded, across your own, shared and subscribed calendars. A repeating event shows once, at its next date.

I checked the requests against a local inbuxa-server 27.1-rc.9 and clicked through the built webmail against the mock. ihasmail's FEATURES.md entry and its upstream compatibility test aren't carried, since this repo has neither. Seven new strings, translated in every catalog.

Ports coffey-labs/ihasmail#70, reported in coffey-labs/ihasmail#69. In the calendar the search bar becomes "Search events", with upcoming results first and past ones faded, across your own, shared and subscribed calendars. A repeating event shows once, at its next date. I checked the requests against a local inbuxa-server 27.1-rc.9 and clicked through the built webmail against the mock. ihasmail's FEATURES.md entry and its upstream compatibility test aren't carried, since this repo has neither. Seven new strings, translated in every catalog.
jcoffey-dev added 1 commit 2026-11-06 19:23:43 +00:00
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
212b7ee29d
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)
jcoffey-dev merged commit e4ee736ba1 into main 2026-11-06 19:33:48 +00:00
jcoffey-dev deleted branch port/calendar-search-ihasmail-70 2026-11-06 19:33:49 +00:00
Sign in to join this conversation.