Refactored search interface code:
- New folder layout, improved filenames. Created new subfolders:
results. Renamed files so that the functionality can better be guessed by simply looking at the file name.
- Created custom components for
FilterMenuand items in it (see
search/menus/FilterMenu.js). This greatly simplified the layout of
search/menus/FilterMainMenu.jsmaking the addition of new menu items a breeze. These new components are structured very similarly to how MaterialUI deals with Tabs.
- Added new "Access" menu and
InputRadiocomponent. Here one can control the visibility of the calculations (controls the
ownerparameter in API calls.)
- Refactored the
- Several small performance tweaks.
With this refactoring done, I will continue integrating the new search interface to Uploads/Datasets and removing the old search code.
@mscheidg: can you check that the new folder layout and filenames make sense?