Release v2.9.0: Implement multi-tab 680x260 homepage UI closeups, symmetric 16px/20px quadrant frames, and exploratory deep-links

This commit is contained in:
Hermes Agent committed 2026-12-01 07:55:14 +00:00
1 parent 40460c1695
commit f0aaae680f
48 files changed
+479 -157

No files matched your search

+21 -3
View File
@@ -1,5 +1,5 @@
// /workspace/hyperstitionstudio-core/site/quant/quant-app.js
// Interactive Quantitative Finance & Memetic Gematria Time-Series Workbench (v2.8.1)
// Interactive Quantitative Finance & Memetic Gematria Time-Series Workbench (v2.9.0)
(function () {
"use strict";
@@ -245,7 +245,7 @@
selectedDateIdx: findLatestAvailableDateIdx("NVDA"),
};
const guilds = ["ALL", "S1", "S2", "S3", "S4", "S5", "S6"];
const guilds = ["ALL", "S1", "S2", "S3", "S4", "S5", "S6", "DOSE_D3"];
const modes = [
{ id: "spoken_aq", label: "Spoken AQ (Gen 1)" },
{ id: "close_usd", label: "Close Price (USD)" },
@@ -263,8 +263,16 @@
const canvas = document.getElementById("tsCanvas");
const ctx = canvas.getContext("2d");
function instrumentHasDoseD3(inst) {
return (inst.bars || []).some((b) => b.data_available && Number(b.confluence_dose || 0) >= 3);
}
function getFilteredInstruments() {
if (state.guildFilter === "ALL") return DATA.instruments;
if (state.guildFilter === "DOSE_D3") {
const d3 = DATA.instruments.filter(instrumentHasDoseD3);
return d3.length ? d3 : DATA.instruments;
}
return DATA.instruments.filter((inst) => inst.guilds.indexOf(state.guildFilter) !== -1);
}
@@ -295,7 +303,7 @@
guilds.forEach((g) => {
const btn = document.createElement("button");
btn.className = "pill" + (state.guildFilter === g ? " active" : "");
btn.textContent = g;
btn.textContent = g === "DOSE_D3" ? "\u0394 Dose D\u22653 (19d)" : g;
btn.onclick = function () {
state.guildFilter = g;
const list = getFilteredInstruments();
@@ -1117,5 +1125,15 @@
}
};
const qParams = new URLSearchParams(window.location.search || "");
if (qParams.get("screen") === "dose-d3") {
state.guildFilter = "DOSE_D3";
const d3List = getFilteredInstruments();
if (d3List.length) {
state.selectedSymbol = d3List[0].symbol;
const d3BarIdx = (d3List[0].bars || []).findIndex((b) => b.data_available && Number(b.confluence_dose || 0) >= 3);
if (d3BarIdx >= 0) state.selectedDateIdx = d3BarIdx;
}
}
renderAll();
})();