Skip to content

Feature: Adding the instances views#185

Closed
syphax-bouazzouni wants to merge 45 commits into
ncbo:masterfrom
agroportal:pl/instances-patch
Closed

Feature: Adding the instances views#185
syphax-bouazzouni wants to merge 45 commits into
ncbo:masterfrom
agroportal:pl/instances-patch

Conversation

@syphax-bouazzouni

Copy link
Copy Markdown
Contributor

To Merge before

What?

See ncbo/ontologies_linked_data#123

How it's implemented

1. Instances table view

We have a custom element for the instances table that use jquery datatable with the pagination done in the serve side (see app/views/ontologies/_instances.html.haml and app/assets/javascripts/components/instances/instances_table.js)

 %instances-table.zebra{id: id,
  style:"width:100%; position:relative" , 'ontology-acronym': @ontology.acronym ,'class-uri': @instances_concept_id}

2. An instance detail view

And we have a partial for an instance detail (see app/views/instances/_instance_details.html.haml) that we display in a popup using the Facebox plugin

Results

1. Instances table view

image

2. An instance detail view

image

Anything Else?

About me: IT engineer at LIRMM & MISTEA for Agroportal (France)
contact me at : syphax.bouazzouni@lirmm.fr or in the Ontoportal Alliance Slack

@syphax-bouazzouni syphax-bouazzouni changed the title Adding the instances views Feature: Adding the instances views Sep 22, 2022
syphax-bouazzouni referenced this pull request in ontoportal/ontoportal_web_ui Mar 24, 2023
…-parameter-access-to-json-link

Feature: add display=all parameter to access concept json link
@jvendetti jvendetti closed this Sep 26, 2024
@maboukerfa maboukerfa deleted the pl/instances-patch branch June 11, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants