From eac585f42a810ecff2dc6134625cd3b9f7342120 Mon Sep 17 00:00:00 2001 From: Florence Haudin Date: Tue, 17 Mar 2026 17:33:27 +0100 Subject: [PATCH 1/6] Update Move Hub panel. --- src/bluetooth/BluetoothManager.ts | 2 +- src/movehub-extension/components/Vernie.tsx | 4 +- style/VernieSchematicDark.svg | 122 +++----------------- style/VernieSchematicLight.svg | 120 +++---------------- style/base.css | 3 +- 5 files changed, 38 insertions(+), 213 deletions(-) diff --git a/src/bluetooth/BluetoothManager.ts b/src/bluetooth/BluetoothManager.ts index c08376d..57a01fd 100644 --- a/src/bluetooth/BluetoothManager.ts +++ b/src/bluetooth/BluetoothManager.ts @@ -6,7 +6,7 @@ import { IDisposable } from '@lumino/disposable'; import { Dialog, showDialog } from '@jupyterlab/apputils'; /** - * A class used to update the list of connected device and the related signals used to rerender the connected devices section. + * A class used to update the list of connected devices and the related signals used to rerender the connected devices section. */ export class BluetoothManager implements IBluetoothManager { constructor() { diff --git a/src/movehub-extension/components/Vernie.tsx b/src/movehub-extension/components/Vernie.tsx index d3d0980..01cf316 100644 --- a/src/movehub-extension/components/Vernie.tsx +++ b/src/movehub-extension/components/Vernie.tsx @@ -16,7 +16,7 @@ export default function Vernie({ themeManager }: IBuildProps) { Vernie build represented with LeoCAD )} @@ -26,7 +26,7 @@ export default function Vernie({ themeManager }: IBuildProps) { Vernie build represented with LeoCAD ); } diff --git a/style/VernieSchematicDark.svg b/style/VernieSchematicDark.svg index 6d2db6b..dd4734d 100644 --- a/style/VernieSchematicDark.svg +++ b/style/VernieSchematicDark.svg @@ -4,103 +4,14 @@ - - - - - - - - - - - - - - - - - (port C) - Caterpillars wheels ( port A and B) + Caterpillarswheels(ports A and B) diff --git a/style/VernieSchematicLight.svg b/style/VernieSchematicLight.svg index 342dde5..9b6d2d6 100644 --- a/style/VernieSchematicLight.svg +++ b/style/VernieSchematicLight.svg @@ -4,103 +4,14 @@ - - - - - - - - - - - - - - - - - (port C) Caterpillars wheels ( port A and B) + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:37.3333px;font-family:System-ui;-inkscape-font-specification:System-ui;text-align:start;writing-mode:lr-tb;direction:ltr;text-anchor:start;fill:#000000" + x="530.60126" + y="749.84668" + id="text15">Caterpillarswheels(ports A and B) diff --git a/style/base.css b/style/base.css index 734bd44..bba6360 100644 --- a/style/base.css +++ b/style/base.css @@ -75,12 +75,13 @@ .move-input-field { height: 24px; - padding: 0; + padding: 0 4px; border-width: 0.5px; border-radius: 4px; width: 30px; font-size: 10px; background-color: var(--jp-layout-color2); + text-align: right; } .move-input-field-with-2buttons { From d58cd23bbc326da4e5376a757e4df04b5801effb Mon Sep 17 00:00:00 2001 From: Florence Haudin Date: Wed, 18 Mar 2026 14:34:39 +0100 Subject: [PATCH 2/6] Set a max-width for jp-movehub-panel-content. --- style/base.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/style/base.css b/style/base.css index bba6360..c73070e 100644 --- a/style/base.css +++ b/style/base.css @@ -10,6 +10,8 @@ width: 100%; box-sizing: border-box; background-color: var(--jp-layout-color0); + max-width: 1200px; + margin: 0 auto; } .vernie-control-grid-container { From e8996ba26ab95fe85c2453d1f1295a217152879a Mon Sep 17 00:00:00 2001 From: Florence Haudin Date: Wed, 18 Mar 2026 19:08:02 +0100 Subject: [PATCH 3/6] Merge the 2 columns of the second row for the vernie-control-grid-container for intermediary screen widths. --- style/base.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/style/base.css b/style/base.css index c73070e..0fcb17c 100644 --- a/style/base.css +++ b/style/base.css @@ -217,6 +217,11 @@ grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, auto); } + .vernie-control-grid-item-right { + justify-content: center; + grid-column: 1 / -1; + } + } .manual-control-grid { From 988cd19b88a98197545775ae452df26e9d114256 Mon Sep 17 00:00:00 2001 From: Florence Haudin Date: Fri, 17 Apr 2026 13:00:16 +0200 Subject: [PATCH 4/6] Fix failing lint test. --- style/base.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/style/base.css b/style/base.css index 0fcb17c..4c8521e 100644 --- a/style/base.css +++ b/style/base.css @@ -11,7 +11,7 @@ box-sizing: border-box; background-color: var(--jp-layout-color0); max-width: 1200px; - margin: 0 auto; + margin: 0 auto; } .vernie-control-grid-container { @@ -219,9 +219,8 @@ } .vernie-control-grid-item-right { justify-content: center; - grid-column: 1 / -1; + grid-column: 1 / -1; } - } .manual-control-grid { From 0eebb449d087845d3eb35a37b827004a148002e2 Mon Sep 17 00:00:00 2001 From: Florence Haudin Date: Fri, 17 Apr 2026 13:17:46 +0200 Subject: [PATCH 5/6] Add missing line in style/base.css. --- style/base.css | 1 + 1 file changed, 1 insertion(+) diff --git a/style/base.css b/style/base.css index 4c8521e..c12e3b7 100644 --- a/style/base.css +++ b/style/base.css @@ -217,6 +217,7 @@ grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, auto); } + .vernie-control-grid-item-right { justify-content: center; grid-column: 1 / -1; From 57e3bf9cc076ae69b8236bbb19022f3caf351631 Mon Sep 17 00:00:00 2001 From: Florence Haudin Date: Fri, 17 Apr 2026 13:48:45 +0200 Subject: [PATCH 6/6] Fix failing lint test. --- style/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style/base.css b/style/base.css index c12e3b7..fe3f605 100644 --- a/style/base.css +++ b/style/base.css @@ -217,7 +217,7 @@ grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, auto); } - + .vernie-control-grid-item-right { justify-content: center; grid-column: 1 / -1;