We need to improve the current filters on the search landing page by splitting the News filter into two separate filters: Blog and Event. This will allow users to have more granular control over their search and improve the overall experience.
[x] Update UI: Adjust the frontend to display Blog and Event as separate options in the filter menu.
Ensure the design and layout remain consistent with the current interface.
[x] Backend Support: Update the API and query support in the backend to accommodate the split.
Test the updated filter logic to ensure correct behavior for both Blog and Event filters.
We need to improve the current filters on the search landing page by splitting the
News
filter into two separate filters:Blog
andEvent
. This will allow users to have more granular control over their search and improve the overall experience.[x] Modify Label Generation: Replace the
News
label generated when building the website withBlog
and keep the currentEvent
label. https://github.com/opensearch-project/project-website/blob/main/_plugins/search-indexer.rb Ensure that the filtering logic is updated to reflect this change.[x] Update UI: Adjust the frontend to display Blog and Event as separate options in the filter menu. Ensure the design and layout remain consistent with the current interface.
[x] Backend Support: Update the API and query support in the backend to accommodate the split. Test the updated filter logic to ensure correct behavior for both Blog and Event filters.