Integrate Post Filtering for Feed Using Safe-skies-api Filtering Endpoint
Description
Update the SAFEskies client application so that moderators can filter posts in the moderation feed using the new filtering endpoint exposed by safe-skies-api. The filtering functionality should leverage the full set of parameters available from Bluesky’s app.bsky.feed.searchPosts API. The UI should adhere to the existing design patterns.
Acceptance Criteria
- Filter UI:
- A filtering interface (similar to the one we see for logs) is added to the feeds.
- API Integration:
- When the moderator enters filtering criteria, the client sends a request to the safe-skies-api
/api/feed/searchPosts endpoint with all the supported filtering parameters.
- Result Display:
- The feed updates dynamically with the filtered posts returned by the API.
- A “No results found” message is displayed if there are no matching posts.
- Error Handling:
- The UI displays an appropriate error message if the filtering request fails.
Tasks
Integrate Post Filtering for Feed Using Safe-skies-api Filtering Endpoint
Description
Update the SAFEskies client application so that moderators can filter posts in the moderation feed using the new filtering endpoint exposed by safe-skies-api. The filtering functionality should leverage the full set of parameters available from Bluesky’s app.bsky.feed.searchPosts API. The UI should adhere to the existing design patterns.
Acceptance Criteria
/api/feed/searchPostsendpoint with all the supported filtering parameters.Tasks