From 0de3f6df666667679f88d66f8e199c093c4a3819 Mon Sep 17 00:00:00 2001 From: Chish36 Date: Wed, 13 Aug 2025 15:42:32 +0100 Subject: [PATCH 1/4] Added menu to modal to adjust z height --- .../modalComponents/calibrationModal.vue | 80 +++++++++++++++++-- 1 file changed, 73 insertions(+), 7 deletions(-) diff --git a/webapp/src/components/modalComponents/calibrationModal.vue b/webapp/src/components/modalComponents/calibrationModal.vue index 9d24d533..efae9e36 100644 --- a/webapp/src/components/modalComponents/calibrationModal.vue +++ b/webapp/src/components/modalComponents/calibrationModal.vue @@ -54,6 +54,51 @@
+

Adjust z height

+

+ Insert a sample and adjust the z position of + the stage using the buttons below, until the + sample is in focus. +

+

+ You may also adjust the z position with page up and page down. +

+ + +
+ + +
+
+ +

Camera-stage mapping

@@ -87,7 +132,7 @@ @@ -99,7 +144,7 @@

-
+

Calibration complete

@@ -118,7 +163,7 @@ Cancel
@@ -334,9 +334,11 @@ export default { gap: 8px; /* Small space between buttons */ margin-top: 4px; /* Gap from image */ } -.action-button { - padding: 6px 12px; /* Smaller button */ - font-size: 22px !important; +>>> .moveZ .uk-button.uk-width-1-1 { + line-height: 50px; + font-size: 50px !important; + height: 60px; + padding-bottom: 46px; margin: 0; /* Remove default margin */ width: 120px; min-width: 80px; From 0617a5a6a481f17fcad6efa61d8d1011992b23f5 Mon Sep 17 00:00:00 2001 From: Chish36 Date: Thu, 14 Aug 2025 11:47:08 +0100 Subject: [PATCH 4/4] Added comment and removed unused method --- .../components/labThingsComponents/actionButton.vue | 1 + .../components/modalComponents/calibrationModal.vue | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/webapp/src/components/labThingsComponents/actionButton.vue b/webapp/src/components/labThingsComponents/actionButton.vue index 54710499..80783c25 100644 --- a/webapp/src/components/labThingsComponents/actionButton.vue +++ b/webapp/src/components/labThingsComponents/actionButton.vue @@ -5,6 +5,7 @@ >
+
@@ -271,10 +265,6 @@ export default { } }, - async updatePosition() { - this.setPosition = await this.readThingProperty("stage", "position"); - }, - // Forces modal to show on button press force_show: function() { this.ready = true;