From d2f49a3ed4ac8dc3be12ffb4d28fcc51610f6685 Mon Sep 17 00:00:00 2001 From: David-Alexandre Chanel Date: Fri, 2 Oct 2026 11:02:30 +0200 Subject: [PATCH 1/7] refactor: centralize app version --- src/app-info.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/app-info.js diff --git a/src/app-info.js b/src/app-info.js new file mode 100644 index 0000000..9c2e447 --- /dev/null +++ b/src/app-info.js @@ -0,0 +1 @@ +export const APP_VERSION = '1.0.0'; From 4bfc9e4f5b12d9e426bac797a964b675d8a9698a Mon Sep 17 00:00:00 2001 From: David-Alexandre Chanel Date: Fri, 2 Oct 2026 11:02:32 +0200 Subject: [PATCH 2/7] refactor: use shared app version in websocket client --- src/connection.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/connection.js b/src/connection.js index e804887..bbfb8a9 100644 --- a/src/connection.js +++ b/src/connection.js @@ -1,6 +1,7 @@ import { AugmentaWebSocketClient, AxisMode, CoordinateSpace, OriginMode, RotationMode } from 'augmenta-client-sdk'; +import { APP_VERSION } from './app-info.js'; const RECONNECT_DELAY_MS = 1000; const CONNECTION_ATTEMPT_TIMEOUT_MS = 2500; @@ -156,7 +157,7 @@ export function createConnectionController({ const connection = new AugmentaWebSocketClient(target.url, { clientName: 'Augmenta Three.js Debug Viewer', applicationName: 'Augmenta ThreeJS Example', - applicationVersion: '1.0.0', + applicationVersion: APP_VERSION, options: { version, downSample, From cd50b68014bcea7695eeaf4ea549be2adf40e3bc Mon Sep 17 00:00:00 2001 From: David-Alexandre Chanel Date: Fri, 2 Oct 2026 11:02:35 +0200 Subject: [PATCH 3/7] feat: display shared app version in footer --- src/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 6a8f77a..ee17f35 100644 --- a/src/main.js +++ b/src/main.js @@ -1,3 +1,4 @@ +import { APP_VERSION } from './app-info.js'; import { createConnectionController } from './connection.js'; import { createSetupStore } from './setup-store.js'; import { createViewer } from './viewer.js'; @@ -37,10 +38,12 @@ const ui = { sidebarToggle: $('#sidebar-toggle'), viewerTitle: $('.viewer-title'), connectionQrVisibility: $('.connection-qr-visibility'), connectionSection: $('#connection-section'), connectionAdvanced: $('#connection-advanced'), connectionAdvancedSummary: $('#connection-advanced-summary'), displaySection: $('#display-section'), displayAdvanced: $('#display-advanced'), displaySectionSummary: $('#display-section-summary'), - debugSection: $('#debug-section'), + debugSection: $('#debug-section'), appVersion: $('#app-version'), showClusters: $('#show-clusters'), showPoints: $('#show-points'), showScene: $('#show-scene'), showZones: $('#show-zones'), showVectors: $('#show-vectors') }; +ui.appVersion.textContent = `Version ${APP_VERSION}`; + const viewer = createViewer($('#canvas-host')); const debug = createDebugPanel(ui.summary, ui.debug); From ece62326d82943bac475a9825202384a8c59f9e2 Mon Sep 17 00:00:00 2001 From: David-Alexandre Chanel Date: Fri, 2 Oct 2026 11:02:38 +0200 Subject: [PATCH 4/7] fix: remove duplicated footer version literal --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 1c3e4dd..a4c24ec 100644 --- a/index.html +++ b/index.html @@ -195,7 +195,7 @@

Augmenta × Three.js

From 812572cc5295ccf2ac2aead1b0d2df0b33959281 Mon Sep 17 00:00:00 2001 From: David-Alexandre Chanel Date: Fri, 2 Oct 2026 11:13:24 +0200 Subject: [PATCH 7/7] style: refine sidebar footer presentation --- src/styles.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/styles.css b/src/styles.css index a147ab8..0606d14 100644 --- a/src/styles.css +++ b/src/styles.css @@ -155,10 +155,13 @@ button, input, select { font: inherit; } .sidebar-footer { margin-top: auto; - padding: 15px 18px 16px; - border-top: 1px solid #252a35; + padding: 22px 18px 16px; color: #8f99aa; - background: rgba(12, 15, 20, .3); + background: linear-gradient( + to bottom, + rgba(12, 15, 20, 0), + rgba(12, 15, 20, .58) + ); } .sidebar-footer-app { @@ -167,7 +170,7 @@ button, input, select { font: inherit; } } .sidebar-footer-title { - color: #dbe1eb; + color: #8f99aa; font-size: 11.5px; font-weight: 650; letter-spacing: .01em; @@ -212,6 +215,7 @@ button, input, select { font: inherit; } width: 16px; height: 16px; object-fit: contain; + opacity: .68; } /* Desktop resize strip: invisible until the panel edge is hovered/focused. */