From 6c687af4205d15c2d287f6d770c10bac5c918a47 Mon Sep 17 00:00:00 2001 From: Ali <010109ali@gmail.com> Date: Wed, 22 Apr 2026 13:19:16 +0000 Subject: [PATCH] Show version string in wizard footer Bump jey_wizard version to 0.0.2 and display it at the bottom of every wizard screen. Prevents the old-version-on-remote-machine confusion we just hit during testing. Rule: bump both __version__ and the JEY_WIZARD_VERSION constant on every commit that ships wizard code. Co-Authored-By: Claude Opus 4.7 (1M context) --- jey_wizard/__init__.py | 2 +- jey_wizard/public/js/jey_setup.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/jey_wizard/__init__.py b/jey_wizard/__init__.py index f102a9c..3b93d0b 100644 --- a/jey_wizard/__init__.py +++ b/jey_wizard/__init__.py @@ -1 +1 @@ -__version__ = "0.0.1" +__version__ = "0.0.2" diff --git a/jey_wizard/public/js/jey_setup.js b/jey_wizard/public/js/jey_setup.js index 3eed93b..e2cbfa4 100644 --- a/jey_wizard/public/js/jey_setup.js +++ b/jey_wizard/public/js/jey_setup.js @@ -7,6 +7,11 @@ frappe.provide("jey_wizard"); +// Bump this string in every commit that changes wizard code. Displayed in the footer so +// we can tell at a glance which version is actually running on a given machine. Kept in +// sync with __version__ in jey_wizard/__init__.py. +const JEY_WIZARD_VERSION = "0.0.2"; + // Wipe Frappe + ERPNext default slides so their `before_load`/`after_load` listeners // don't try to mutate a wizard that isn't slide-based anymore. frappe.setup.slides = []; @@ -38,6 +43,7 @@ frappe.setup.SetupWizard = class JeySetupWizard {
+
jey_wizard v${JEY_WIZARD_VERSION}
`).appendTo($parent); this.show_current_step();