Improvements and fixes in custom quantity search panel
Currently, the custom quantity search panel has not been tested very deeply. We would like to showcase this in the Area A tutorial on the 15th of March.
Some improvements that we have identified are the following:
-
Increase the width of the path box to be able to see the full quantity of path. -
Quantity description upon hovering? This can be possibly fetched from searchable_quantity.quantity_description
(seenomad/datamodel/datamodel.py
) -
Correct typo for float quantities, currently saying Floatin
instead ofFloat in
before the unit. -
Quantity path dropdown list to be updated with the search filters. For example, that is if I have a filter withLauri: Unfortunately this is not currently possible, as our API does not currently support this for custom quantities.author: Andrea Albino
, the list o custom quantities to retrieve is only possible to match the search criteria. -
When searching strings with theLauri: could be possible, but I don't right now have the time to look at this in-depth. This is actually a feature that should apply to all search fields: the user should be able to define the "operator" that is used when searching for values in a list.=
operator is not strictly speaking equal but is more a containing. Do we want to have this like this? -
Ignore underscore in suggestions, e.g. "band gap" should suggest "band_gap".
Note current open issues that might be relevant for the tutorial, in particular #1141 (closed) and #1249 (closed).
@mscheidg and @himanel1 these are some bullet points that I have collected from the custom quantities search filter panel for typos or bug fixes and improvements. I will be updating the issue as I do more tests with real data if I find bugs. I am sorry that this came too late. Please, let me know if you think these things make sense also with the future in perspective. It does not make sense to put excessive extra effort into something that will not be very permanent. Let me know if you would like to discuss this. Suggestions are of course very welcome.