In SearchResultList, the prop types are no longer an array but rather a string that is either 'text' or 'sheet'. Many state variables in SearchResultList were dictionaries with keys 'text' and 'sheet' and so were refactored as well. There is also no longer a prop tab and SearchTabs and updateTab have been removed. In SearchPage and SearchResultList, textSearchState and sheetSearchState are collapsed into one searchState but I did not do this throughout the app as I felt this PR was already big enough. I created a new story to address collapsing textSearchState and sheetSearchState into searchState throughout the app.
In SearchResultList, the prop
types
are no longer an array but rather a string that is either 'text' or 'sheet'. Many state variables in SearchResultList were dictionaries with keys 'text' and 'sheet' and so were refactored as well. There is also no longer a proptab
and SearchTabs and updateTab have been removed. In SearchPage and SearchResultList,textSearchState
andsheetSearchState
are collapsed into onesearchState
but I did not do this throughout the app as I felt this PR was already big enough. I created a new story to address collapsingtextSearchState
andsheetSearchState
intosearchState
throughout the app.