nbnworg / issue-repo

0 stars 0 forks source link

Search functionality optimization #45

Open ExecAssistNBNW opened 1 month ago

ExecAssistNBNW commented 1 month ago

Description

Search functionality implemented in nbnw.org website is functional but it needs some changes . It should display correct news that the user has searched for . There are 2 main issues as of now :

  1. It is showing more unrelated articles than what is searched

Image

  1. If an article is not present as per the searched keyword , it is still showing latest news

Image

  1. the sort by feature in search page isn't working properly i.e. it should sort as per the searched keyword but currently it is just showing results as per the category selected . For ex- search results for biden shows politics articles initially but as you sort it by pop culture and entertainment , it shows results which are unrelated to biden search.

Image

Requirements

  1. Display only the relevant article
  2. It should display 'no articles found' if there isn't any article to show
  3. Sort by feature should show articles as per keyword searched

Acceptance

Components affected

nbnw-react-frontend

ExecAssistNBNW commented 1 month ago

Days estimate by tisha