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

Feature: Distinguish reused terms in tree view #650

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
e9839ed
Fix: Annotator fast context special chars issues & statistics page sy…
Bilelkihal Apr 4, 2024
06a73eb
Feature: Add json button to search page (#562)
Bilelkihal Apr 5, 2024
0e57aaa
Feature: Adding Content Finder Page (#511)
imadbourouche Apr 7, 2024
8d38f6d
Feature: Add ontology concepts exporters to diffrent formats (xml, nt…
imadbourouche Apr 7, 2024
1e5332e
Feature: update admin page UI to use vertical tabs (#566)
syphax-bouazzouni Apr 9, 2024
b18f6a1
Feature: Add indexation admin page (#567)
syphax-bouazzouni Apr 9, 2024
067bb7e
Feature: Update search input in homepage and topnav to use the indexe…
syphax-bouazzouni Apr 10, 2024
11f9fe1
Feature: Improve Browse page performance (#572)
syphax-bouazzouni Apr 10, 2024
4b85d9b
Feature: Add OntoPortal tools age (#559)
syphax-bouazzouni Apr 11, 2024
44bb10b
Feature: Add concepts mappings button in search page results (#569)
Bilelkihal Apr 11, 2024
7dfbefc
Feature: Add search bars for the instances, properties, collections a…
syphax-bouazzouni Apr 11, 2024
2f7f453
Feature: Update concept mappings table style (#574)
Bilelkihal Apr 12, 2024
7f26a68
Fix: submission date and summary not ready (#576)
syphax-bouazzouni Apr 15, 2024
b7837a7
Feature: Improve browse page search ranking and performance (#575)
syphax-bouazzouni Apr 15, 2024
3937498
Feature: Add terms and conditions to signup and footer links (#579)
Bilelkihal Apr 18, 2024
e68ab1c
Fix: new instance search feature to filter strictly only NamedIndivid…
syphax-bouazzouni Apr 19, 2024
cbbbdd5
Feature: Dynamic routes for ontologies content dereferencement (#568)
imadbourouche Apr 21, 2024
6707357
Feature: Update mappings page (#538)
Bilelkihal Apr 22, 2024
d643bba
fix search page results broken links (#583)
Bilelkihal Apr 22, 2024
285b28e
Fix: admin delete submission route (#585)
Bilelkihal Apr 22, 2024
e6e8146
Fix: Restore the new sample text of the annotator and recommender (#593)
Bilelkihal Apr 25, 2024
83da8be
Fix: search results selected language (#595)
Bilelkihal Apr 25, 2024
c3ea67c
Fix: new instance details page, properties selected property display …
syphax-bouazzouni Apr 25, 2024
cc058df
Feature: add a script to import or export CSV of the i18n locals (#597)
syphax-bouazzouni Apr 26, 2024
2360d29
Fix: Remove duplicated ontology scheme rows (#584)
Bilelkihal Apr 26, 2024
b4eb6e0
fix: summary page for ontologies with no submissions
syphax-bouazzouni Apr 26, 2024
08d5b86
Fix: Note thread show action (#606)
syphax-bouazzouni Apr 29, 2024
8f209f9
Fix: user reset password internationalisation issue (#605)
syphax-bouazzouni Apr 29, 2024
5de66c7
fix: trim the copied text in the clipboard stimulus controller (#611)
imadbourouche May 2, 2024
1fdc64f
Feature: Add recommender system tests (#599)
Bilelkihal May 8, 2024
96cb0a0
Feature: add htaccess URIs redirection modal help (#580)
imadbourouche May 13, 2024
c82e4e6
Fix: Release 2.8.0 grouped issues - Summary, Concept, Notes, Mappings…
Bilelkihal May 20, 2024
6d27190
fix data tables warning issue (#624)
Bilelkihal May 21, 2024
d42baf1
Merge branch 'master' into development
syphax-bouazzouni May 22, 2024
fe7ab71
fix: home annotator block redirection to annotator page with empty te…
Bilelkihal May 24, 2024
53eda37
Fix: Download button in summary export metadata (#628)
Bilelkihal May 27, 2024
4086c2d
Fix: the contexual json icon for to the concept adapt to the select …
SirineMhedhbi May 28, 2024
4da19bd
feature: make view of clickable in summary page header (#643)
Bilelkihal May 30, 2024
8da2788
feature: use the ontologies selector by name and acronym in edit grou…
Bilelkihal May 30, 2024
18c11eb
Fix: Reject the current ontology from appearing in the ontologies sel…
Bilelkihal May 31, 2024
81ee996
Feature: Make text area resisable in upload ontology and edit submiss…
Bilelkihal May 31, 2024
19c73fe
Fix: The issue when the agent has no acronym (#645)
Bilelkihal May 31, 2024
a99d45f
fix: the concepts chips links redirecting to the wrong destination (…
Bilelkihal Jun 3, 2024
d93aec0
Feature: Scroll to the selected term in the tree view component (#646)
Bilelkihal Jun 3, 2024
98ce84b
get ontology uri pattern and pass it to the tree link component
Bilelkihal Jun 4, 2024
9efb36c
add the reusing icon infront of the reused concepts in the tree view
Bilelkihal Jun 4, 2024
baad51c
use css class instead of an id for the tree view reuse icon
Bilelkihal Jun 4, 2024
f632e46
remove duplicated submission regex pattern call in concepts controlle…
Bilelkihal Jun 4, 2024
017ab50
refactor tree view reused terms code
Bilelkihal Jun 5, 2024
fbf0123
extract tree view css classes to a separate file
Bilelkihal Jun 5, 2024
ad84dfc
use ruby regex checking instead of include for the tree reused terms
Bilelkihal Jun 5, 2024
412cd69
fix: change local test "URL" to "URI" in check resolvability componen…
imadbourouche Jun 5, 2024
6c20638
Feature: Add content negotiation redirection tests (#622)
imadbourouche Jun 6, 2024
af5fc5b
Feature: add Annotator UI tests (#627)
Bilelkihal Jun 6, 2024
9c3d761
Fix: multiple highlighted terms in concepts date view (#657)
Bilelkihal Jun 6, 2024
86eb221
Fix: concept details table layout max-with when long strings (#649)
Bilelkihal Jun 6, 2024
525e422
Feature: Clean no more used gems and code (#658)
syphax-bouazzouni Jun 7, 2024
68a0b60
distinguish reused properties in the tree view
Bilelkihal Jun 7, 2024
47af2da
handle the case reset_agents in edit submissions error state are alre…
syphax-bouazzouni Jun 7, 2024
c118f2e
Feature: Add issues and requests link to the footer and feedback form…
Bilelkihal Jun 9, 2024
9ffbeea
Fix: the width of the ontlogy viewer left block of classes, instances…
Bilelkihal Jun 10, 2024
a855c34
use preferredNamespaceUri to distinguish reused terms in the tree vie…
Bilelkihal Jun 10, 2024
61bb450
use preferredNamespaceUri to distinguish reused properties in the tre…
Bilelkihal Jun 10, 2024
3d975f0
distinguish reuses for instances tree
Bilelkihal Jun 11, 2024
d7f090b
Merge branch 'development' into feature/distinguish-reused-terms-in-t…
syphax-bouazzouni Jun 11, 2024
fd82700
clean terms reuses code
Bilelkihal Jun 11, 2024
b707449
extract is_reused to a separate function in components helper
Bilelkihal Jun 11, 2024
c595d87
add concepts reuses to the date view
Bilelkihal Jun 11, 2024
41b6379
pass submission directly instead of ontology_uri_pattern
Bilelkihal Jun 11, 2024
e1aab7a
pass direcly the submission instead of passing by a function in terms…
Bilelkihal Jun 11, 2024
a5cbcb4
Clean terms reuses concern code
Bilelkihal Jun 11, 2024
d1252c8
add reuses to schemes tree
Bilelkihal Jun 11, 2024
4eef76e
add reuses to schemes tree when we perform a search
Bilelkihal Jun 11, 2024
678c94e
add reuses for collections tree
Bilelkihal Jun 11, 2024
d8b24f7
add reuses to properties tree when we perform a search
Bilelkihal Jun 11, 2024
286f3c8
add reuses for concepts list view
Bilelkihal Jun 11, 2024
788a370
Merge branch 'development' into feature/distinguish-reused-terms-in-t…
Bilelkihal Jun 20, 2024
9205693
Clean terms reuses code
Bilelkihal Jun 20, 2024
6909137
extract submission variable form the concept date render helper
syphax-bouazzouni Jun 21, 2024
39ec336
remove binding.pry comments left in the code
syphax-bouazzouni Jun 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
202 changes: 0 additions & 202 deletions app/assets/stylesheets/bioportal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -637,209 +637,7 @@ li.ac_over > .obsolete_class {
font-style: italic;
}

/********************
## TREE VIEW
*********************/
div.tree_error {
background: none repeat scroll 0 0 lightYellow;
font-weight: 600;
padding: 5px 10px;
}

.expansion_error {
color: red;
font-size: x-small;
font-style: oblique;
padding: 0 3px;
}

#bd ul.simpleTree li{
margin-left: 0px;
padding: 5px 0 0 10px;
}

#bd ul.simpleTree{
margin-left:0px;
margin-bottom:0px;
}

.simpleTree {
margin:0;
padding:0;
/*
overflow:auto;
width: 250px;
height:350px;
overflow:auto;
border: 1px solid #444444;
*/
a.tree-link {
display: inline-block;
padding: 5px;
word-break: break-all;
text-wrap: wrap;
color: var(--primary-color) !important;
}

a.tree-link.active {
cursor: default;
background-color: var(--light-color);
font-weight: bold;
border-radius: 3px;
padding: 7px 5px;
}

.tree-border-left{
border-left: 2px dotted #eee;
margin-left: 2px;
}
}
.simpleTree li {
list-style: none;
margin:0;
padding:0 0 0 22px;
line-height: 14px;
}
.simpleTree li span {
display:inline;
clear: left;
white-space: nowrap;
}
.simpleTree ul {
margin:0;
padding:0;
}
.simpleTree .root ul {
margin:0;
}
.simpleTree .root {
margin-left:-16px;
/*background: url(/images/tree/root.gif) no-repeat 16px 0 #ffffff;*/
}
.simpleTree .line {
margin:0 0 0 -16px;
padding:0;
line-height: 3px;
height:3px;
font-size:3px;
background: image-url('jquery.simple.tree/line_bg.gif') 0 0 no-repeat transparent;
}
.simpleTree .line-last {
margin:0 0 0 -16px;
padding:0;
line-height: 3px;
height:3px;
font-size:3px;
background: image-url('jquery.simple.tree/spacer.gif') 0 0 no-repeat transparent;
}
.simpleTree .line-over {
margin:0 0 0 -16px;
padding:0;
line-height: 3px;
height:3px;
font-size:3px;
background: image-url('jquery.simple.tree/line_bg_over.gif') 0 0 no-repeat transparent;
}
.simpleTree .line-over-last {
margin:0 0 0 -16px;
padding:0;
line-height: 3px;
height:3px;
font-size:3px;
background: image-url('jquery.simple.tree/line_bg_over_last.gif') 0 0 no-repeat transparent;
}
.simpleTree .folder-open {
margin-left:-16px;
background: image-url('jquery.simple.tree/collapsable.gif') 0 -2px no-repeat #fff;
}
.simpleTree .folder-open-last {
margin-left:-16px;
background: image-url('jquery.simple.tree/collapsable-last.gif') 0 -2px no-repeat #fff;
}
.simpleTree .folder-close {
margin-left:-16px;
background: image-url('jquery.simple.tree/expandable.gif') 0 -2px no-repeat #fff;
}
.simpleTree .folder-close-last {
margin-left:-16px;
background: image-url('jquery.simple.tree/expandable-last.gif') 0 -2px no-repeat #fff;
}
.simpleTree .doc {
margin-left:-16px;
background: image-url('jquery.simple.tree/leaf.gif') 0 -1px no-repeat #fff;
}
.simpleTree .doc-last {
margin-left:-16px;
background: image-url('jquery.simple.tree/leaf-last.gif') 0 -1px no-repeat #fff;
}
.simpleTree .ajax {
background: image-url('jquery.simple.tree/spinner.gif') no-repeat 0 0 #ffffff;
height: 16px;
display:none;
}
.simpleTree .ajax li {
display:none;
margin:0;
padding:0;
}
.simpleTree .trigger {
display:inline;
margin-left:-32px;
width: 28px;
height: 11px;
cursor:pointer;
}
.simpleTree .text {
cursor: default;
padding: 0 2px;
}
.simpleTree .active {
cursor: default;
background-color: #B9D5E4;
font-weight: bold;
padding-top: 0px;
padding-right: 2px;
padding-bottom: 0px;
padding-left: 2px;
}
.simpleTree a, .simpleTree a:hover {
text-decoration: none;
color: black;
}
.simpleTree a:hover {
cursor: pointer;
}
#drag_container {
background:#ffffff;
color:#000;
font: normal 11px arial, tahoma, helvetica, sans-serif;
border: 1px dashed #767676;
}
#drag_container ul {
list-style: none;
padding:0;
margin:0;
}
#drag_container li {
list-style: none;
background-color:#ffffff;
line-height:18px;
white-space: nowrap;
padding:1px 1px 0px 16px;
margin:0;
}
#drag_container li span {
padding:0;
}
#drag_container li.doc, #drag_container li.doc-last {
background: image-url('jquery.simple.tree/leaf.gif') no-repeat -17px 0 #ffffff;
}
#drag_container .folder-close, #drag_container .folder-close-last {
background: image-url('jquery.simple.tree/expandable.gif') no-repeat -17px 0 #ffffff;
}
#drag_container .folder-open, #drag_container .folder-open-last {
background: image-url('jquery.simple.tree/collapsable.gif') no-repeat -17px 0 #ffffff;
}
.contextMenu {
display:none;
}
Expand Down
3 changes: 2 additions & 1 deletion app/assets/stylesheets/components/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@
@import "range_slider";
@import "ontologies_selector";
@import "loader";
@import "vertical_tabs";
@import "vertical_tabs";
@import "tree_view";
170 changes: 170 additions & 0 deletions app/assets/stylesheets/components/tree_view.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
.tree-view-reuse-icon{
display: inline;
}
.tree-view-reuse-icon svg{
width: 13px;
}

div.tree_error {
background: none repeat scroll 0 0 lightYellow;
font-weight: 600;
padding: 5px 10px;
}

.expansion_error {
color: red;
font-size: x-small;
font-style: oblique;
padding: 0 3px;
}

#bd ul.simpleTree li{
margin-left: 0px;
padding: 5px 0 0 10px;
}

#bd ul.simpleTree{
margin-left:0px;
margin-bottom:0px;
}

.simpleTree {
margin:0;
padding:0;

a.tree-link {
display: inline-block;
padding: 5px;
word-break: break-all;
text-wrap: wrap;
color: var(--primary-color) !important;
}

a.tree-link.active {
cursor: default;
background-color: var(--light-color);
font-weight: bold;
border-radius: 3px;
padding: 7px 5px;
}

.tree-border-left{
border-left: 2px dotted #eee;
margin-left: 2px;
}
}
.simpleTree li {
list-style: none;
margin:0;
padding:0 0 0 22px;
line-height: 14px;
}
.simpleTree li span {
display:inline;
clear: left;
white-space: nowrap;
}
.simpleTree ul {
margin:0;
padding:0;
}
.simpleTree .root ul {
margin:0;
}
.simpleTree .root {
margin-left:-16px;
/*background: url(/images/tree/root.gif) no-repeat 16px 0 #ffffff;*/
}
.simpleTree .line {
margin:0 0 0 -16px;
padding:0;
line-height: 3px;
height:3px;
font-size:3px;
background: image-url('jquery.simple.tree/line_bg.gif') 0 0 no-repeat transparent;
}
.simpleTree .line-last {
margin:0 0 0 -16px;
padding:0;
line-height: 3px;
height:3px;
font-size:3px;
background: image-url('jquery.simple.tree/spacer.gif') 0 0 no-repeat transparent;
}
.simpleTree .line-over {
margin:0 0 0 -16px;
padding:0;
line-height: 3px;
height:3px;
font-size:3px;
background: image-url('jquery.simple.tree/line_bg_over.gif') 0 0 no-repeat transparent;
}
.simpleTree .line-over-last {
margin:0 0 0 -16px;
padding:0;
line-height: 3px;
height:3px;
font-size:3px;
background: image-url('jquery.simple.tree/line_bg_over_last.gif') 0 0 no-repeat transparent;
}
.simpleTree .folder-open {
margin-left:-16px;
background: image-url('jquery.simple.tree/collapsable.gif') 0 -2px no-repeat #fff;
}
.simpleTree .folder-open-last {
margin-left:-16px;
background: image-url('jquery.simple.tree/collapsable-last.gif') 0 -2px no-repeat #fff;
}
.simpleTree .folder-close {
margin-left:-16px;
background: image-url('jquery.simple.tree/expandable.gif') 0 -2px no-repeat #fff;
}
.simpleTree .folder-close-last {
margin-left:-16px;
background: image-url('jquery.simple.tree/expandable-last.gif') 0 -2px no-repeat #fff;
}
.simpleTree .doc {
margin-left:-16px;
background: image-url('jquery.simple.tree/leaf.gif') 0 -1px no-repeat #fff;
}
.simpleTree .doc-last {
margin-left:-16px;
background: image-url('jquery.simple.tree/leaf-last.gif') 0 -1px no-repeat #fff;
}
.simpleTree .ajax {
background: image-url('jquery.simple.tree/spinner.gif') no-repeat 0 0 #ffffff;
height: 16px;
display:none;
}
.simpleTree .ajax li {
display:none;
margin:0;
padding:0;
}
.simpleTree .trigger {
display:inline;
margin-left:-32px;
width: 28px;
height: 11px;
cursor:pointer;
}
.simpleTree .text {
cursor: default;
padding: 0 2px;
}
.simpleTree .active {
cursor: default;
background-color: #B9D5E4;
font-weight: bold;
padding-top: 0px;
padding-right: 2px;
padding-bottom: 0px;
padding-left: 2px;
}
.simpleTree a, .simpleTree a:hover {
text-decoration: none;
color: black;
}
.simpleTree a:hover {
cursor: pointer;
}
3 changes: 2 additions & 1 deletion app/assets/stylesheets/concepts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,5 @@ div.synonym-change-request button {
.concepts_json_button{
margin-right: 5px;
margin-top: -4px;
}
}

Loading
Loading