Docmaps-Project / docmaps

Extensible protocol for document history metadata exchange, to enable trustworthy, rapid, open science, by and for preprint science communities.
MIT License
15 stars 1 forks source link

Widget: When a ThingT is declared multiple times in the same docmap, the UI should show a union of all the attributes it has across all declarations #171

Closed andrewedstrom closed 9 months ago

andrewedstrom commented 10 months ago

Feature Request

Packages to improve:

Description

Describe the new feature you would like to see added to the library.

Use case

Describe how you plan to use this feature and why it is important to you.

Proposed solution

If you have an idea for how this feature could be implemented, please describe it here.

Additional information

Provide any additional information that might be helpful in understanding the feature request.

ships commented 9 months ago

Instinct: do this merging if the ThingT is declared by its ID in the source docmap, but NOT if it is declared by DOI .

Rationale: DOIs are only "mostly" unique identifiers. We could do some empirical studying to see whether the fields in question ever or often disagree and therefore would cause trouble.

Caveat: the ID in the docmap is "unique", but we can't force users to do this correctly. I.e., they can generate docmaps stupidly and I have some expectation that they will do so. Therefore the same complaint re: DOIs may apply.