Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request/Idea: Add Dataset metadata facets as top level item in the side panel #8462

Closed
abujeda opened this issue Mar 4, 2022 · 5 comments
Labels
HDC Harvard Data Commons HDC: 2 Harvard Data Commons Obj. 2

Comments

@abujeda
Copy link
Contributor

abujeda commented Mar 4, 2022

Overview of the Feature Request
We would like to be able to select datasets with a particular facet value from the side panel without having to do a successful search first. Similar to how Dataverses/Datasets/Files are always displayed at the top.

The idea is to have a new section on the side panel, underneath the Dataverses/Datasets/Files. This will be driven from a new parameter in the DataTypeField.

Final desired UI still to be designed.

What kind of user is the feature intended for?
All users

What inspired the request?
As part of the Harvard Data Commons project there is a requirement to tag datasets as computations workflows. This can be done with metadata blocks, but we would like to find these datasets directly from the side panel as we do with the main Dataverses/Datasets/Files checkboxes.

What existing behavior do you want changed?
How metadata fields are indexed in Solr.
How facets are displayed on the side navigation

Any brand new behavior do you want to add to Dataverse?
The ability to add a default value to a metadata facet into Solr when a metadata field is inserted by a user.

Any related open or closed issues to this feature request?
Could be related to #6030

@pdurbin
Copy link
Member

pdurbin commented Mar 4, 2022

@adaybujeda hi, just making sure you're aware that you can already add any "is facetable" dataset metadata field to the left side panel. Here are some screenshots for how to do this:

Screen Shot 2022-03-04 at 10 35 03 AM

Screen Shot 2022-03-04 at 10 33 16 AM

So you could create a computational reproducibility metadata block, for example, and define a field called Workflow (or whatever, I saw this in #8461). Happy to chat more about this. Seems like a great project!

@abujeda
Copy link
Contributor Author

abujeda commented Mar 4, 2022

Thanks @pdurbin,
We are aware of this feature, but it is not quite what is required.
We would like the facet to be displayed all the time, with (0) when there are no matches. Not to show the actual facet values, just the field name and the matches that have any value of that field.

Functionally, to work in the same way as Dataverses/Datasets/Files checkboxes.

@qqmyers
Copy link
Member

qqmyers commented Mar 4, 2022

Given that #8461 is about file categories, what is the intent here? To make it easy to find datasets where any file has been tagged with 'Workflow'?

@abujeda
Copy link
Contributor Author

abujeda commented Mar 4, 2022

This does not relate to #8461 as such.
The idea is to make it easy to find datasets that have an specific metadata populated.

Lets say that we add Computational workflow as a new controlled vocabulary metadata field in a new metadata block.
We would like Computational workflow to appear in the side panel all the time. Not with the list of values, just with the total number of datasets that have a value for it, or (0) when none. Similar to the behaviour of Dataverses/Datasets/Files in the side panel.

@abujeda
Copy link
Contributor Author

abujeda commented Mar 25, 2022

After discussions with the Harvard Data Commons team, it has been decided to follow a different approach to tag all datasets that are computational workflows. This will be accomplish with a new static field facet that will be populated with the metadata blocks that have data for a dataset.

superseded by #8536

@abujeda abujeda closed this as completed Mar 25, 2022
@scolapasta scolapasta added HDC Harvard Data Commons HDC: 2 Harvard Data Commons Obj. 2 labels Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HDC Harvard Data Commons HDC: 2 Harvard Data Commons Obj. 2
Projects
None yet
Development

No branches or pull requests

4 participants