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

records-ui: render obo:RO_0002453 custom fields #874

Open
2 tasks
slint opened this issue Jun 10, 2024 · 0 comments
Open
2 tasks

records-ui: render obo:RO_0002453 custom fields #874

slint opened this issue Jun 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@slint
Copy link
Member

slint commented Jun 10, 2024

  • It looks like we had a custom UI widget in mind to render the obo:RO_0002453 custom field, but it's disabled in the config.
  • Check what is indexed since it's important that we can perform special search queries on these fields (i.e. sort of a "wildcard"-style search on either end of the fields). This requires some custom facets/filters since we'll need a nested query (TODO(@slint): find an example/docs from legacy).

We have records, like e.g. the one at https://zenodo.org/records/3949117, that contain a special type of custom metadata fields, capturing biotic interactions/relationships.

From the REST API response at https://zenodo.org/api/records/3949117 you can see the following metadata:

"custom": {
  "obo:RO_0002453": [
  {
    "subject": [
      "Mustela vison",
      "mink"
    ],
    "object": [
      "mink CoVs",
      "MCoVs"
    ]
  },
  {
    "subject": [
      "bovine"
    ],
    "object": [
      "Bovine CoV",
      "BCoV"
  ],
  ...
},
@slint slint added the bug Something isn't working label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant