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

Allow deselect/hide a subfield of a parent/compound field #6588

Open
kamil386 opened this issue Jan 29, 2020 · 7 comments
Open

Allow deselect/hide a subfield of a parent/compound field #6588

kamil386 opened this issue Jan 29, 2020 · 7 comments
Labels
Component: JSF Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React. Feature: Metadata Requested SPA Improvement Desired improvement for SPA, do not duplicate JSF UI Type: Feature a feature request User Role: Curator Curates and reviews datasets, manages permissions UX & UI: New React UI Needs enough design work that it should probably go in the new React UI, not JSF

Comments

@kamil386
Copy link

Allow Dataverse user to hide/deselect the subfield, so that dataset depositors don't see that field in the "parent" or compound field.

The reason is that a depositor could be overwhelmed by the number of fields that she may not need to be concerned about, especially for the big schemas like DarwinCore.

Related to #6243

@pdurbin
Copy link
Member

pdurbin commented Jan 29, 2020

@kamil386 do you have a screenshot handy of what the DarwinCore metadata block looks like when it's being edited? And if so, would you be able to give an example of a child/subfield of a compound field that you might want to hide?

@kamil386
Copy link
Author

I would like to hide any of these 34 subfields of Taxon group... I don;t know how many fields the scientists will choose, but probably it will depend on the biodiversity object.

image

@pdurbin
Copy link
Member

pdurbin commented Jan 30, 2020

@kamil386 yes, I agree that having so many options for IDs is overwhelming. Thanks for the screenshot!

@djbrooke
Copy link
Contributor

djbrooke commented Feb 5, 2020

@kamil386 apologies if I'm missing something, but can you provide some more information about why you'd include these fields in the metadata block if you don't plan to collect this information? I guess I don't understand what's being asked here.

cc: @jggautier

@kamil386
Copy link
Author

kamil386 commented Feb 5, 2020

@djbrooke I think it's not a good idea if everyone will add to the Dataverse their own customized DwC TSV metadata block with individual chosen set of fields and subfields. It'll lead to mess. What is the chance that we'll select the optimal set of fields from DwC schema that will fit for every biodiversity portals all over the world? What if someone will need some other fields that we don't care about?

I think that better approach is to implement full DwC specification (that has been already done) and allow users to choose (hide/deselect some of the fields) during dataverse creation the appropriate set of fields on their own.

Of course, we we'll finally choose our own set of fields from DwC, but I think community and other biodiversity portal needs more flexible solution.

@pdurbin pdurbin added Feature: Metadata User Role: Curator Curates and reviews datasets, manages permissions Component: JSF Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React. labels Oct 10, 2022
@pdurbin pdurbin added Type: Feature a feature request UX & UI: New React UI Needs enough design work that it should probably go in the new React UI, not JSF labels Oct 9, 2023
@cmbz
Copy link

cmbz commented Sep 30, 2024

2024/09/30: Keeping as it is a useful feature, though may only be relevant for Darwin Core. Note that this feature may be a UI-only fix, but it could also require backend work. Needs more investigation.

@cmbz cmbz added the Requested SPA Improvement Desired improvement for SPA, do not duplicate JSF UI label Sep 30, 2024
@qqmyers
Copy link
Member

qqmyers commented Sep 30, 2024

FWIW: It might also be related to the issues around making some fields recommended, e.g. recommended fields are the only ones that show by default and truly optional ones hare hidden by default (unless perhaps the user clicks an 'advanced' button.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: JSF Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React. Feature: Metadata Requested SPA Improvement Desired improvement for SPA, do not duplicate JSF UI Type: Feature a feature request User Role: Curator Curates and reviews datasets, manages permissions UX & UI: New React UI Needs enough design work that it should probably go in the new React UI, not JSF
Projects
Status: No status
Development

No branches or pull requests

5 participants