~ knotless Search/
↑↓ move↵ open⇧↵ all results

geesawra.industries/old-fella

Old people's social media app

0
1

feat(search): add post and people search

Closed
Closed geesawra.industries opened this issue 1 comment

Summary

Add Search as a top-level destination on iPhone and iPad. Users can search posts or people with a simple Posts/People selector.

Requirements

  • Show a search field and a Posts/People selector. Start with Posts selected.
  • Let users submit from the keyboard or a Search button.
  • Keep the current query when users switch search type, then search the selected type.
  • Clear old results on a new submitted query or type. Prevent older requests from replacing newer results.
  • Use Bluesky's result order. Do not add client-side ranking.
  • Paginate with an explicit load-more control.
  • Show prompt, loading, results, no-results, failure, and retry states.
  • Show post results with existing post presentation and actions. Open posts in the existing detail flow.
  • Show people results with display name, handle, and avatar when available. Open profiles in the existing profile view.
  • Apply existing moderation, content display, media, and link rules.
  • Keep Bluesky search requests behind the service boundary. Map results to the app's existing models.
  • Do not log credentials or search queries.
  • Keep the query while the user moves between destinations in the current app session. Do not save search history after the app closes.
  • Confirm the current Bluesky search API and pagination rules during implementation.

Acceptance criteria

  • Users can switch between Posts and People and submit searches.
  • Post results open in Oldsky and support existing post actions.
  • People results open the matching profile. Users can follow from the profile.
  • New searches clear old results and ignore stale responses.
  • Search follows existing moderation and content rules.
  • Unit tests cover query state, result mapping, pagination, and stale requests.
  • UI tests use predictable responses and need no live credentials or network access.

Out of scope

Advanced search filters, saved searches, persistent search history, trending topics, feed search, custom feeds, and client-side ranking.

Implemented in commit 1efdb30 (feat(search): add account and post search with pagination), with later refinements in 71f653a.