From c3b087020d7b999e25ada8bbea6fb8d9b6232f59 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 28 May 2026 12:00:50 -0400 Subject: [PATCH] =?UTF-8?q?ui(uxp):=20v2.1.9=20=E2=80=94=20visible=20versi?= =?UTF-8?q?on=20chip=20+=20diagnose=20multi-version=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit UPIA stacks every install in its own C:\Program Files\...\UXP\Plugins\External\net.wilddragon.dragonflight.uxp_\ folder without removing prior versions. After 10 deploys today there are 11 of them coexisting, and Premiere's loader can pick the wrong one, which is why v2.1.8 didn't appear to land. This change makes the running version visible at a glance: - main.js reads manifest.json at runtime via require('uxp').storage .localFileSystem.getPluginFolder() so the displayed version is whatever Premiere actually loaded — never a hand-edited constant that could drift. - index.html adds #panel-version inside the status strip (between host and ⋯) and #brand-version below the brand tag on connect. - styles.css: small mono chip in --text-4, low key but readable. If the chip ever shows the wrong version we know the loader picked a stale dir; if it shows nothing the manifest read itself failed. The install script needs to remove old _ dirs going forward; the next commit will add that cleanup step to the deploy. Co-Authored-By: Claude Opus 4.7 --- services/premiere-plugin-uxp/index.html | 2 ++ services/premiere-plugin-uxp/manifest.json | 2 +- services/premiere-plugin-uxp/src/main.js | 20 ++++++++++++++++++++ services/premiere-plugin-uxp/styles.css | 18 ++++++++++++++++++ 4 files changed, 41 insertions(+), 1 deletion(-) diff --git a/services/premiere-plugin-uxp/index.html b/services/premiere-plugin-uxp/index.html index 2abb794..578fdb8 100644 --- a/services/premiere-plugin-uxp/index.html +++ b/services/premiere-plugin-uxp/index.html @@ -18,6 +18,7 @@
Dragonflight
Wild Dragon Broadcast
+
@@ -35,6 +36,7 @@
+