Search: materials
The new search interface for v0.11.0 now supports entry searches, but we should re-use it to large extent for material searches as well (=modernized Encyclopedia). This needs several steps:
-
The GUI should use the same components and target quantity names for both entry and material searches. FilterContext
/SearchContext
will internally handle the switch between entry/material API endpoints and rename the query/aggregation fields accordingly. -
Ensuring that the v1 API has all the required features for material searches and that this API is analogous with the entry search. -
UI concept for switching between the two search contexts. Tab, button, switch? How to preserve the Encyclopedia identity, how to signal the user about the current context, what are the differences on the component level? At the moment we will separate the entry/materials searches to their own pages with distinct URLs. The user will see the URL and the page title change. -
Checkbox for activating/deactivating entry-specific queries. -
Better generic handling of searchable quantities that are derivatives of actual metainfo quantities (e.g. available properties) -
Link to encyclopedia in the results list.