From 949cc48c9b0d2bd0cbc1aca1d40759b9f311ba09 Mon Sep 17 00:00:00 2001 From: akhuoa Date: Fri, 26 Sep 2025 13:31:39 +1200 Subject: [PATCH 01/14] Fix help mode tooltip position for species --- src/components/MultiFlatmapVuer.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/MultiFlatmapVuer.vue b/src/components/MultiFlatmapVuer.vue index a590da7a..a35ba51a 100644 --- a/src/components/MultiFlatmapVuer.vue +++ b/src/components/MultiFlatmapVuer.vue @@ -885,6 +885,8 @@ export default { left: 16px; top: 44px; position: absolute; + width: fit-content; + :deep(.el-input__inner) { color: rgb(48, 49, 51); padding-top: 0.25em; From 4b7004d96274497aeac9ec406d91e51bef6877f5 Mon Sep 17 00:00:00 2001 From: akhuoa Date: Mon, 6 Oct 2025 14:28:22 +1300 Subject: [PATCH 02/14] Refactor: align with existing code structure --- src/components/FlatmapVuer.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/FlatmapVuer.vue b/src/components/FlatmapVuer.vue index 6bbfd198..9b79edcd 100644 --- a/src/components/FlatmapVuer.vue +++ b/src/components/FlatmapVuer.vue @@ -58,7 +58,10 @@ Please use `const` to assign meaningful names to them... SCKAN .

-

+

This map displays the connectivity of neuron populations. Specifically, those from the primarily rat-based Date: Mon, 6 Oct 2025 16:29:03 +1300 Subject: [PATCH 03/14] Fix help mode for warning popover --- src/components/FlatmapVuer.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/FlatmapVuer.vue b/src/components/FlatmapVuer.vue index 9b79edcd..4193f35f 100644 --- a/src/components/FlatmapVuer.vue +++ b/src/components/FlatmapVuer.vue @@ -18,6 +18,7 @@

Date: Wed, 8 Oct 2025 18:39:29 +1300 Subject: [PATCH 04/14] Remove feature dataset tooltip --- src/components/FlatmapVuer.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/FlatmapVuer.vue b/src/components/FlatmapVuer.vue index 4193f35f..0876efcd 100644 --- a/src/components/FlatmapVuer.vue +++ b/src/components/FlatmapVuer.vue @@ -268,7 +268,8 @@ Please use `const` to assign meaningful names to them... :style="{ 'max-height': pathwaysMaxHeight + 'px' }" v-popover:checkBoxPopover > - + -
+ Date: Wed, 8 Oct 2025 18:43:38 +1300 Subject: [PATCH 05/14] Refactor: remove trailing space --- src/components/legends/DynamicLegends.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/legends/DynamicLegends.vue b/src/components/legends/DynamicLegends.vue index 1678dfd0..610441fb 100644 --- a/src/components/legends/DynamicLegends.vue +++ b/src/components/legends/DynamicLegends.vue @@ -76,7 +76,7 @@ export default { let borderColour = item.border ? item.border : "black"; if (specifiedColour && !item.border) { borderColour = colour; - } + } if (item[this.styleKey] === 'star') { let star = starTemplate.replace('', colour); star = star.replace('', borderColour); From 3d1b8a82f079722badba4dd66b915bee0722ada9 Mon Sep 17 00:00:00 2001 From: akhuoa Date: Wed, 8 Oct 2025 19:11:09 +1300 Subject: [PATCH 06/14] Move legend-item into separate component --- src/components/legends/DynamicLegends.vue | 175 ++----------------- src/components/legends/LegendItem.vue | 194 ++++++++++++++++++++++ 2 files changed, 205 insertions(+), 164 deletions(-) create mode 100644 src/components/legends/LegendItem.vue diff --git a/src/components/legends/DynamicLegends.vue b/src/components/legends/DynamicLegends.vue index 610441fb..463555a0 100644 --- a/src/components/legends/DynamicLegends.vue +++ b/src/components/legends/DynamicLegends.vue @@ -6,37 +6,25 @@ :key="item[identifierKey]" :label="item[identifierKey]" > -
- - -
{{ capitalise(item[identifierKey]) }}
-
+
@@ -125,92 +60,4 @@ export default { .legend-container { width: max-content; } - -.legend-item { - display: flex; - align-items: center; - margin: 8px 12.5px; -} - -.line { - position: relative; - width: 20px; - border-top: 2px solid currentColor; -} - -.line.dashed { - border-top: 2px dashed currentColor; -} - -.line::after { - content: ""; - position: absolute; - right: -2px; - top: -5px; - width: 0; - height: 0; - border-left: 7px solid currentColor; - border-top: 4px solid transparent; - border-bottom: 4px solid transparent; - display: none; -} - -.line.arrow::after { - display: block; -} - -.shape { - height: 16px; - width: 16px; - border-color: black; - border-style: solid; - border-width: 2px; - background-color: transparent; - display: inline-block; -} - -.circle { - border-radius: 50%; -} - -.rounded-square { - border-radius: 30%; -} - -.hexagon { - width: 20px; - height: calc(20px * 0.866); - background-color: transparent; - clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); - -webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); -} - -.exoid { - width: 20px; - height: 25px; - background-color: transparent; - clip-path: path( - "M9.96 0.72 c-2.01 3.53 -5.81 5.74 -9.92 5.74 l-0.15 0.23 c1.94 3.42 1.94 7.6 0 11.02 l0.15 0.23 c4.07 0 7.9 2.2 9.92 5.74 c2.01 -3.53 5.81 -5.74 9.92 -5.74 c-2.01 -3.53 -2.01 -7.94 0 -11.55 C15.81 6.5 12.04 4.29 9.96 0.72z" - ); - -webkit-clip-path: path( - "M9.96 0.72 c-2.01 3.53 -5.81 5.74 -9.92 5.74 l-0.15 0.23 c1.94 3.42 1.94 7.6 0 11.02 l0.15 0.23 c4.07 0 7.9 2.2 9.92 5.74 c2.01 -3.53 5.81 -5.74 9.92 -5.74 c-2.01 -3.53 -2.01 -7.94 0 -11.55 C15.81 6.5 12.04 4.29 9.96 0.72z" - ); -} - -.star { - width: 25px; - height: 25px; - background-color: transparent !important; - background-repeat: no-repeat; - background-size: contain; - display: inline-block; - margin: -3px; - padding-right: 2px; -} - -.label { - margin-left: 14px; - font-size: 12px; - color: rgb(48, 49, 51); -} diff --git a/src/components/legends/LegendItem.vue b/src/components/legends/LegendItem.vue new file mode 100644 index 00000000..afc1a0e7 --- /dev/null +++ b/src/components/legends/LegendItem.vue @@ -0,0 +1,194 @@ + + + + + From d1d0bd76a0b0047fc2c14bef8fe4b18dd77fd028 Mon Sep 17 00:00:00 2001 From: akhuoa Date: Wed, 8 Oct 2025 19:14:06 +1300 Subject: [PATCH 07/14] Separate legend-items --- src/components/legends/DynamicLegends.vue | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/src/components/legends/DynamicLegends.vue b/src/components/legends/DynamicLegends.vue index 463555a0..e646d50a 100644 --- a/src/components/legends/DynamicLegends.vue +++ b/src/components/legends/DynamicLegends.vue @@ -6,12 +6,22 @@ :key="item[identifierKey]" :label="item[identifierKey]" > - + + From 222631058fb519d12376eee54a6dd4ffa7adb556 Mon Sep 17 00:00:00 2001 From: akhuoa Date: Thu, 9 Oct 2025 11:12:00 +1300 Subject: [PATCH 08/14] Add featured dataset marker tooltip --- src/components/legends/DynamicLegends.vue | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/src/components/legends/DynamicLegends.vue b/src/components/legends/DynamicLegends.vue index e646d50a..878a2ba1 100644 --- a/src/components/legends/DynamicLegends.vue +++ b/src/components/legends/DynamicLegends.vue @@ -7,12 +7,23 @@ :label="item[identifierKey]" >