From d1272081d3129c65f4886b87d620ff2266eda212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Kala=C5=A1?= Date: Wed, 4 Aug 2021 22:41:50 +0200 Subject: [PATCH 1/7] Updated links to other browsers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Commented out AberOWL, as it's outdated and contains some weirdness in concept attributes - Changed WebProtégé link to the "dev" version - Added notes on what versions are displayed --- js/tree-edam-stand-alone.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/js/tree-edam-stand-alone.js b/js/tree-edam-stand-alone.js index bbbe7d0..e4f1005 100644 --- a/js/tree-edam-stand-alone.js +++ b/js/tree-edam-stand-alone.js @@ -472,13 +472,13 @@ function interactive_edam_browser(){ if(uri.startsWith("http://edamontology.org/")){ append_row(community,"Links", "Open in "+ - "AberOWL"+ + /*"AberOWL"+ + ", "+*/ + "BioPortal (newest \"unstable\")"+ ", "+ - "BioPortal"+ - ", "+ - "OLS"+ + "OLS (latest stable)"+ " or "+ - "WebProtégé"+ + "WebProtégé (dev)"+ ".","Links to this concept in other ontology browsers"); } if (community.children().length>0){ @@ -922,4 +922,4 @@ window.cpyToClipboard = function cpyToClipboard(value){ }, 1000); } -export {getInitURI,interactive_edam_browser,getTreeFile} \ No newline at end of file +export {getInitURI,interactive_edam_browser,getTreeFile} From dfdc03aaac7fc6ce418a1c482f29c5fd64fbf02e Mon Sep 17 00:00:00 2001 From: Bryan Brancotte Date: Thu, 5 Aug 2021 11:11:05 +0200 Subject: [PATCH 2/7] split links --- js/tree-edam-stand-alone.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/js/tree-edam-stand-alone.js b/js/tree-edam-stand-alone.js index e4f1005..8a55aaa 100644 --- a/js/tree-edam-stand-alone.js +++ b/js/tree-edam-stand-alone.js @@ -474,11 +474,14 @@ function interactive_edam_browser(){ "Open in "+ /*"AberOWL"+ ", "+*/ - "BioPortal (newest \"unstable\")"+ + "BioPortal (newest \"unstable\")"+ ", "+ - "OLS (latest stable)"+ + "OLS (latest stable)"+ " or "+ - "WebProtégé (dev)"+ + "WebProtégé (dev)"+ ".","Links to this concept in other ontology browsers"); } if (community.children().length>0){ From c3f83e78666bbf0e83fa5eef5156dde734561719 Mon Sep 17 00:00:00 2001 From: Bryan Brancotte Date: Thu, 5 Aug 2021 11:11:15 +0200 Subject: [PATCH 3/7] cleanup --- js/tree-edam-stand-alone.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/tree-edam-stand-alone.js b/js/tree-edam-stand-alone.js index 8a55aaa..4cfc373 100644 --- a/js/tree-edam-stand-alone.js +++ b/js/tree-edam-stand-alone.js @@ -472,8 +472,6 @@ function interactive_edam_browser(){ if(uri.startsWith("http://edamontology.org/")){ append_row(community,"Links", "Open in "+ - /*"AberOWL"+ - ", "+*/ "BioPortal (newest \"unstable\")"+ ", "+ From eaf3298551fc2e2dea8adf7ea24b40dfe045fc20 Mon Sep 17 00:00:00 2001 From: Bryan Brancotte Date: Thu, 5 Aug 2021 11:22:44 +0200 Subject: [PATCH 4/7] using title on links, include the short indicator of version in the link --- js/tree-edam-stand-alone.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/js/tree-edam-stand-alone.js b/js/tree-edam-stand-alone.js index 4cfc373..135f59f 100644 --- a/js/tree-edam-stand-alone.js +++ b/js/tree-edam-stand-alone.js @@ -473,13 +473,16 @@ function interactive_edam_browser(){ append_row(community,"Links", "Open in "+ "BioPortal (newest \"unstable\")"+ + 'title="Latest but unstable version"'+ + ">BioPortal (latest)"+ ", "+ "OLS (latest stable)"+ + 'title="Stable version"'+ + ">OLS (stable)"+ " or "+ "WebProtégé (dev)"+ + 'title="Latest but unstable version"'+ + ">WebProtégé (dev)"+ ".","Links to this concept in other ontology browsers"); } if (community.children().length>0){ From 673ad61fb3e00aaf74590edcee983243ffc27788 Mon Sep 17 00:00:00 2001 From: Bryan Brancotte Date: Thu, 5 Aug 2021 11:23:23 +0200 Subject: [PATCH 5/7] https://github.com/edamontology/edam-browser/commit/d1272081d3129c65f4886b87d620ff2266eda212#r54427855 --- js/tree-edam-stand-alone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tree-edam-stand-alone.js b/js/tree-edam-stand-alone.js index 135f59f..6c6feed 100644 --- a/js/tree-edam-stand-alone.js +++ b/js/tree-edam-stand-alone.js @@ -480,7 +480,7 @@ function interactive_edam_browser(){ 'title="Stable version"'+ ">OLS (stable)"+ " or "+ - "WebProtégé (dev)"+ ".","Links to this concept in other ontology browsers"); From bb12baf06b151149c354e21329142e5163401b8e Mon Sep 17 00:00:00 2001 From: Bryan Brancotte Date: Fri, 6 Aug 2021 11:04:44 +0200 Subject: [PATCH 6/7] explaining what is the dev version --- js/tree-edam-stand-alone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tree-edam-stand-alone.js b/js/tree-edam-stand-alone.js index 6c6feed..44c6964 100644 --- a/js/tree-edam-stand-alone.js +++ b/js/tree-edam-stand-alone.js @@ -481,7 +481,7 @@ function interactive_edam_browser(){ ">OLS (stable)"+ " or "+ "WebProtégé (dev)"+ ".","Links to this concept in other ontology browsers"); } From 02b0b95716ef5b9ae550a36ab2489a142a3ee09e Mon Sep 17 00:00:00 2001 From: Bryan Brancotte Date: Fri, 6 Aug 2021 11:17:09 +0200 Subject: [PATCH 7/7] use bootstrap tooltip --- js/tree-edam-stand-alone.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/tree-edam-stand-alone.js b/js/tree-edam-stand-alone.js index 44c6964..efa7cf6 100644 --- a/js/tree-edam-stand-alone.js +++ b/js/tree-edam-stand-alone.js @@ -474,14 +474,17 @@ function interactive_edam_browser(){ "Open in "+ "BioPortal (latest)"+ ", "+ "OLS (stable)"+ " or "+ "WebProtégé (dev)"+ ".","Links to this concept in other ontology browsers"); }