Skip to content

fix: only search for selected filter kind#277

Merged
barrydeen merged 3 commits intomainfrom
fix/search-filter-kind
Mar 19, 2026
Merged

fix: only search for selected filter kind#277
barrydeen merged 3 commits intomainfrom
fix/search-filter-kind

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Search now only sends a REQ for kind 0 (profiles) or kind 1 (notes) based on which filter tab is selected, instead of always querying both
  • EOSE handling simplified to track only the active subscription

Test plan

  • Select "People" tab and search — verify only profile results appear, no unnecessary note queries sent
  • Select "Notes" tab and search — verify only note results appear, no unnecessary profile queries sent
  • Verify search loading spinner dismisses correctly after EOSE

barrydeen and others added 3 commits March 19, 2026 00:10
Add clock icon to compose toolbar that opens a date/time picker for
scheduling notes. Scheduled posts are signed with a future created_at
and published to scheduler relays instead of the user's write relays.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Previously both kind 0 (profiles) and kind 1 (notes) REQs were sent
to relays regardless of which filter tab was selected. Now only the
relevant kind is queried based on the user's selection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant