Files
eranos/src/lib
Chad Curtis edf9f77060 Default the Search Kind filter to Agora content only
Search previously defaulted to 'all kinds' — every kind in the picker
(50+), which means a user typing 'bitcoin' into the search bar got a
firehose of music tracks, podcasts, bird detections, geocaches, and
every other supported NIP. The Posts tab is meant to surface Agora
content; the long-tail kinds belong behind an explicit opt-in.

Introduce 'agora' as a new sentinel value for the Kind filter that
expands to AGORA_PRESET_KIND_VALUES (Campaigns, Pledges, Communities,
Posts, Articles, Events, Polls, Photos, Videos). Make it the default
in DEFAULT_FILTERS, teach parseKindFilter to resolve it, and render
both 'Agora content' and 'All kinds' as top-level selectable rows in
the KindPicker (with the existing Agora-curated quick-list still
appearing as individual selectable items below).

The active-filter chip summary suppresses a chip when the default
'agora' is in effect, surfaces 'All kinds' as a chip when the user
explicitly broadens the search, and continues to show individual kind
labels for everything else.
2026-05-21 23:02:57 -05:00
..
2026-05-16 07:58:48 -07:00
2026-05-03 09:00:43 -05:00
2026-05-11 14:49:11 +07:00
2026-05-21 19:04:41 -05:00
2026-04-17 16:22:33 +05:45
2026-05-17 23:12:13 -07:00
2026-05-16 22:37:13 -07:00
2026-04-06 13:41:32 -05:00
2026-04-17 16:22:33 +05:45
2026-04-30 13:19:22 +07:00
2026-04-30 11:22:07 -05:00
2026-05-21 19:04:41 -05:00
2026-04-29 22:04:39 +07:00
2026-04-17 16:22:33 +05:45
2026-04-29 22:04:39 +07:00
2026-05-17 01:00:49 -07:00
2026-04-18 16:28:41 +05:45
2026-05-21 19:04:41 -05:00