feat(search): sender picker, date presets, has:link filter

- Add SelectSenderButton: clickable people picker for the From filter
  replacing the text-only from:@user syntax
- Add date preset shortcuts in DateRangeButton (Today, Last week,
  Last month, Last year) for one-click range selection
- Add Has link chip backed by Matrix contains_url API filter; toggle
  removes cleanly with X badge
- Wire containsUrl through URL params, useMessageSearch hook, and
  SearchFilters props

UNTESTED — verify at chat.lotusguild.org post-deploy.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-18 19:14:42 -04:00
parent 44e36f7dd2
commit abf15391f6
5 changed files with 254 additions and 14 deletions
+1
View File
@@ -35,6 +35,7 @@ export type _SearchPathSearchParams = {
senders?: string;
fromTs?: string;
toTs?: string;
containsUrl?: string;
};
export const _SEARCH_PATH = 'search/';