Looking at the nobel prizes page, one will realized there are a few queries you can follow:-
Search based on:-
Prizes
award Year { year, yearTo }
categories { physic, chemistry, medcine, peace, economic, literature }
Laureate
birth { year, yearTo, country, city }
death { year, yearTo, country, city }
motivation { overallMotivation, motivation }
gender
affiliation
By making using of the official nobel prize API at prizes and laureate and others available queries, rewrite:-
[ ] the search bar at 'SideSearchBar' so that it can allow user to interact with the search UI based to the above available queries:-
[ ] Search year input bar take only full year, and it can also take search between 2 year, eg YYYY or YYYY-YYYY (when input is YYYY, the query should be year=YYYY, while input is YYYY-YYYY, query should be year=YYYY&yearTo=YYYY), force logic so that user can only input digit and the "-" in the search year bar inpit
[ ] Search category input bar should search based on one category out of the 6, make use of html datalist to aid user to type in category or have better alternative aidding the search,
[ ] Search based on firstname
[ ] Search based on surname
[ ] Search based on Country
[ ] Search based on City
[ ] Search based on ID
[ ] Search based on Affiliation
[ ] (optional - if not completed, create an issue/branch) search based on gender
The search tool should still allow name search and unique nobel laureate id
Search based on :-
Name { firstname, surname }
Unique Nobel Laureate ID
"numberOfLaureates" limits the number of each prize on showing the number of laureates. For searching winner, this might seem unnecessary
Write new API to fit the situation so required.
Extra:-
[ ] Click on Search Based By button should give user a dropdown menu that one can change the search tool interface according to the choices. The default interface should be official and the other choice should be app database
[ ] Write necessary new api if situation required so.
NB: As this issues are becoming huge in volume, it might be better to edit the issues and assign it to new branch for a more detail discussion.
Looking at the nobel prizes page, one will realized there are a few queries you can follow:- Search based on:-
By making using of the official nobel prize API at prizes and laureate and others available queries, rewrite:-
The search tool should still allow name search and unique nobel laureate id Search based on :-
Unique Nobel Laureate ID
"numberOfLaureates" limits the number of each prize on showing the number of laureates. For searching winner, this might seem unnecessary
Write new API to fit the situation so required.
Extra:-
Search Based By
button should give user a dropdown menu that one can change the search tool interface according to the choices. The default interface should beofficial
and the other choice should beapp database
NB: As this issues are becoming huge in volume, it might be better to edit the issues and assign it to new branch for a more detail discussion.