Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions presentation/assets/embeds/gramframe.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -2379,6 +2379,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
instance.rateLED.querySelector(".gram-frame-led-value").textContent = `${state.rate}`;
}
}
const VERSION = "0.1.13";
function getVersion() {
return VERSION;
}
function createModeSwitchingUI(modeCell, state, modeSwitchCallback, modes = {}) {
const modesContainer = document.createElement("div");
modesContainer.className = "gram-frame-modes";
Expand All @@ -2401,6 +2405,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
button.className = "gram-frame-mode-btn";
button.textContent = getModeDisplayName(modeType);
button.dataset.mode = modeType;
if (modeType === "pan") {
button.title = `GramFrame v${getVersion()}`;
}
if (modeType === state.mode) {
button.classList.add("active");
}
Expand Down Expand Up @@ -3217,10 +3224,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
this.renderDopplerFeatures();
}
}
const VERSION = "0.1.11";
function getVersion() {
return VERSION;
}
class PanMode extends BaseMode {
/**
* Constructor for pan mode
Expand Down Expand Up @@ -3421,7 +3424,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
return Object.assign({}, ...modeStates);
}
const initialState = {
version: "0.0.1",
version: getVersion(),
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
instanceId: "",
mode: "analysis",
Expand Down Expand Up @@ -5109,6 +5112,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
this.currentMode.cleanup();
this.currentMode.activate();
}
updatePersistentPanels(this);
updateLEDDisplays(this, this.state);
notifyStateListeners(this.state, this.stateListeners);
}
/**
Expand Down
4 changes: 2 additions & 2 deletions scripts/vendor/gramframe/VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
v0.1.11
source: https://github.com/DeepBlueCLtd/GramFrame/releases/download/v0.1.11/gramframe-0.1.11.zip
v0.1.13
source: https://github.com/DeepBlueCLtd/GramFrame/releases/download/v0.1.13/gramframe-0.1.13.zip
asset: gramframe.bundle.js
15 changes: 10 additions & 5 deletions scripts/vendor/gramframe/gramframe.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -2379,6 +2379,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
instance.rateLED.querySelector(".gram-frame-led-value").textContent = `${state.rate}`;
}
}
const VERSION = "0.1.13";
function getVersion() {
return VERSION;
}
function createModeSwitchingUI(modeCell, state, modeSwitchCallback, modes = {}) {
const modesContainer = document.createElement("div");
modesContainer.className = "gram-frame-modes";
Expand All @@ -2401,6 +2405,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
button.className = "gram-frame-mode-btn";
button.textContent = getModeDisplayName(modeType);
button.dataset.mode = modeType;
if (modeType === "pan") {
button.title = `GramFrame v${getVersion()}`;
}
if (modeType === state.mode) {
button.classList.add("active");
}
Expand Down Expand Up @@ -3217,10 +3224,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
this.renderDopplerFeatures();
}
}
const VERSION = "0.1.11";
function getVersion() {
return VERSION;
}
class PanMode extends BaseMode {
/**
* Constructor for pan mode
Expand Down Expand Up @@ -3421,7 +3424,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
return Object.assign({}, ...modeStates);
}
const initialState = {
version: "0.0.1",
version: getVersion(),
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
instanceId: "",
mode: "analysis",
Expand Down Expand Up @@ -5109,6 +5112,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
this.currentMode.cleanup();
this.currentMode.activate();
}
updatePersistentPanels(this);
updateLEDDisplays(this, this.state);
notifyStateListeners(this.state, this.stateListeners);
}
/**
Expand Down
2 changes: 1 addition & 1 deletion theme/gramframe-oxygen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ The folder names mirror the Fi3ldMan template so the files drop straight in.
## Keep the bundle in sync

The bundle here is a copy of `scripts/vendor/gramframe/gramframe.bundle.js`
(see `resources/VERSION` — currently **v0.1.9**). They must stay byte-identical
(see `resources/VERSION` — currently **v0.1.13**). They must stay byte-identical
so the Oxygen production output and the `publish_html.py` dev preview render
grams the same way; `tests/test_package_release.py` enforces this. When you bump
GramFrame, update **both** copies and the `VERSION` files together.
Expand Down
4 changes: 2 additions & 2 deletions theme/gramframe-oxygen/resources/VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
v0.1.11
source: https://github.com/DeepBlueCLtd/GramFrame/releases/download/v0.1.11/gramframe-0.1.11.zip
v0.1.13
source: https://github.com/DeepBlueCLtd/GramFrame/releases/download/v0.1.13/gramframe-0.1.13.zip
asset: gramframe.bundle.js
15 changes: 10 additions & 5 deletions theme/gramframe-oxygen/resources/gramframe.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -2379,6 +2379,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
instance.rateLED.querySelector(".gram-frame-led-value").textContent = `${state.rate}`;
}
}
const VERSION = "0.1.13";
function getVersion() {
return VERSION;
}
function createModeSwitchingUI(modeCell, state, modeSwitchCallback, modes = {}) {
const modesContainer = document.createElement("div");
modesContainer.className = "gram-frame-modes";
Expand All @@ -2401,6 +2405,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
button.className = "gram-frame-mode-btn";
button.textContent = getModeDisplayName(modeType);
button.dataset.mode = modeType;
if (modeType === "pan") {
button.title = `GramFrame v${getVersion()}`;
}
if (modeType === state.mode) {
button.classList.add("active");
}
Expand Down Expand Up @@ -3217,10 +3224,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
this.renderDopplerFeatures();
}
}
const VERSION = "0.1.11";
function getVersion() {
return VERSION;
}
class PanMode extends BaseMode {
/**
* Constructor for pan mode
Expand Down Expand Up @@ -3421,7 +3424,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
return Object.assign({}, ...modeStates);
}
const initialState = {
version: "0.0.1",
version: getVersion(),
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
instanceId: "",
mode: "analysis",
Expand Down Expand Up @@ -5109,6 +5112,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
this.currentMode.cleanup();
this.currentMode.activate();
}
updatePersistentPanels(this);
updateLEDDisplays(this, this.state);
notifyStateListeners(this.state, this.stateListeners);
}
/**
Expand Down
Loading