Open aclum opened 1 year ago
Emiley's suggestion
I like the collection date box. Could we just make it smaller? And do small icons next to text for the categories?
If we end up moving the logos to a vertically-scrolling menu accessible from the left sidebar, we could do something like this (from the MUI docs), where we show the logos where the icons are shown in this screenshot:
I think, in this format, even if the logos aren't coherent visually with one another, showing them this way will reduce the adverse aesthetic effects of that (compared to showing them all side by side, at their native sizes).
I looked at the nmdc-server
web UI code and saw it uses Vuetify (not MUI). Here's something similar from the Vuetify docs:
This other example from the Vuetify docs (same page) shows arbitrary images being used; as opposed to vector icons:
Another option is to replace the collection date area but move the collection date chart to another visualization tab. Currently the sankey is alone in the Environment tab so the date chart could move there, or there could be another organization of charts.
Another question is where to put the image URLs/URIs for the various categories. It would make sense for them to be in the schema for the enumeration and pulled into the UI from there. @turbomam is there an appropriate place for these?
In the NMDC sync meeting yesterday we decided for now to just add this as a faceted search option on the left panel.
Requirements for search: allow search by 'AND' and 'OR'
There was some discussion of schema clean up so we need to discuss this a bit further. The discussion included the idea of renaming 'biosample_categories' to 'umbrella_categories'. Looking at the current slots on BiosampleCategoryEnum we may want to designate a url slot to provide a link out, this information is currently stored in the 'Meaning' slot.
@turbomam I was having trouble tracking down the range for the meaning slot.
In the NMDC sync meeting yesterday we decided for now to just add this as a faceted search option on the left panel.
Requirements for search: allow search by 'AND' and 'OR'
There was some discussion of schema clean up so we need to discuss this a bit further. The discussion included the idea of renaming 'biosample_categories' to 'umbrella_categories'. Looking at the current slots on BiosampleCategoryEnum we may want to designate a url slot to provide a link out, this information is currently stored in the 'Meaning' slot.
Let me know if this is a priority for the new sprint.
Moving to backlog since this is blocked on https://github.com/microbiomedata/nmdc-schema/issues/481
Is your feature request related to a problem? Please describe. We would like to be able to search by `biosample_categories on the data portal. Currently this is only an option in the API or by looking at biosample pages individually.
Describe the solution you'd like A way from the main data portal page to search by
biosample_categories
. This could either be added to the left hand panel faceted search or Emiley's suggestion was to replace the collection date filter with a panel with icons for each BiosampleCategoryEnumDescribe alternatives you've considered Solution TDB
Acceptance Criteria
cc @emileyfadrosh @mslarae13 @jeffbaumes @shreddd
blocked on https://github.com/microbiomedata/nmdc-schema/issues/481