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

Have a generic UI that will display any element of a resource in HTML, NTriples, JSON and Turtle #497

Closed
4 tasks done
Tracked by #476
syphax-bouazzouni opened this issue Feb 8, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@syphax-bouazzouni
Copy link
Collaborator

syphax-bouazzouni commented Feb 8, 2024

Context

See agroportal/project-management#476

Goal

implement in Agroportal a page, where we have as inputs a URI, an Ontology Acronym, and a return type, and it returns the content in the specified format.

image

Requirments

  • Add a new page to Agroportal, called for example Content Finder

  • On this new page, have three inputs acronym, uri, and format

  • When clicking on the button and choosing the format HTML, displayed the fetched element data using the View component concept_details
    image

  • When clicking on the button and choosing the format XML, Ntriples, JSON or Turtle, display the fetched element data using the highlight.js library, see how the metadata exporter code work for examples.

image

image

@syphax-bouazzouni
Copy link
Collaborator Author

@imadbourouche ask @SirineMhedhbi for guidance on this.

@syphax-bouazzouni
Copy link
Collaborator Author

Implemented in #511 and #547

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants