-
Notifications
You must be signed in to change notification settings - Fork 494
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
Change how UI shows compound fields #6589
Comments
@kamil386 It is possible to do this via the displayFormat column of the datasetFieldType table (and therefore in the .tsv file that defines the blocks). See for example "Time Period Covered" that adds "Start:" and "End:". In specific regard to Geographic Coverage, we did also make a recent change that comma separates these values. This is available in 4.19. |
@scolapasta It's not enough to format it via displayFormat column in TSV, especially for the big schema like DwC where i.e one parent field has 21 subfields, and another has 44 |
I agree, that's hard to read. Just suggesting another idea using the displayFormat column in the TSV. Would it be possible to add a 1234 |
Excellent idea, simple and straightforward. I'll check now if it's working as expected. I'll also try to add bold to headers. In the meantime I could suggest adding hints on headers which is now not possible via displayFormat. |
Also be careful with labels: currently you will probably get "Occurence Occurence Status" or "Occurence Occurence Remarks" in advanced search and facets. |
This issue is mainly about how the things people enter in child fields are displayed in the user interface. But @wfenrich's last comment about the display of names of child fields is something that we hope to resolve as part of #8127, which includes writing and using guidelines for naming fields. And #6573 is also very related. |
This issue came up again when using a metadatablock for a specific collection in the Harvard Dataverse Repository. The "Study Design" field is made up of four child fields, one of which expects a lot of text: When the metadata is displayed, it's pretty hard to parse, even when we try to use delimiters that include the name of each child field: Luckily, as this "Study Design" field doesn't need to be repeatable, the child fields don't need to be kept together as a compound field, so we're planning to separate the child fields into their own fields (and get rid of the "Study Design" "field"). That way what's entered in those four fields are on their own lines when displayed. But I think this illustrates that compound fields don't even need 44 or 21 subfields to run into this design problem. It's obvious when a compound field has just one field that uses a large text box and multiple lines of text are entered into it. |
For bounding box, I made an issue and PR:
before: what do these field mean?after: I know what I'm looking at |
2024/09/30: Closed as duplicate to #9675 |
Actually Dataverse compound fields are "flatten" in Dataverse UI:
Please add more detailed output of compund fields, at least include title of fields in the UI.
The text was updated successfully, but these errors were encountered: