Release v2.10.0: Implement progressive scale-ready UI navigation for growing datasets across /quant/, /graph/, /learn/, /engineering/, and /math/
This commit is contained in:
1 parent
f0aaae680f
commit
e788f357ff
36 files changed
+402
-176
No files matched your search
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Self-Paced Learning Track — hyperstitionstud.io (Base-36 AQ, Ingglish & Technocapital Zoology)</title>
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.9.0" />
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
|
||||
<style>
|
||||
:root {
|
||||
--bg-canvas: #020617;
|
||||
@@ -409,7 +409,9 @@
|
||||
<div class="sandbox-out" id="m06Output"></div>
|
||||
<div class="sandbox-controls" style="margin-top:0.25rem;">
|
||||
<span style="font-size:0.74rem;color:var(--gold);">Bookmarked AQ Coordinates:</span>
|
||||
<input class="inp" id="filterBookmarkInput" type="text" placeholder="Filter saved AQ #..." style="width:140px;" aria-label="Filter bookmarked coordinates" />
|
||||
<div id="bookmarkedCoordsList" style="display:flex;gap:0.4rem;flex-wrap:wrap;"></div>
|
||||
<div id="bookmarkPaginationBar" style="display:none;gap:0.35rem;align-items:center;font-size:0.68rem;"></div>
|
||||
<input class="inp" id="inputBookmarkCoord" type="number" min="0" max="9999" placeholder="Add AQ # (e.g. 137)" style="width:145px;" />
|
||||
<button class="btn" id="btnAddBookmark" type="button">+ Bookmark</button>
|
||||
</div>
|
||||
@@ -419,12 +421,12 @@
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div>hyperstitionstud.io/learn • Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:schema:v1:learn-progress-state v2.9.0)</div>
|
||||
<div>hyperstitionstud.io/learn • Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:schema:v1:learn-progress-state v2.10.0)</div>
|
||||
<div class="hs-lemur-credit"><span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" role="img" aria-label="love">♥</span> by Lemurs.</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script src="../assets/hs-matrix-coderain.js?v=2.9.0" defer></script>
|
||||
<script src="learn-app.js?v=2.9.0"></script>
|
||||
<script src="../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
|
||||
<script src="learn-app.js?v=2.10.0"></script>
|
||||
</body>
|
||||
</html>
|
||||
+37
-2
@@ -265,7 +265,7 @@
|
||||
const base = {
|
||||
$schema: "../schemas/v1/learn-progress-state.schema.json",
|
||||
$id: SCHEMA_ID,
|
||||
version: "2.9.0",
|
||||
version: "2.10.0",
|
||||
updated_at_utc: new Date().toISOString(),
|
||||
preferred_register: "fund_manager",
|
||||
completed_modules: [],
|
||||
@@ -477,9 +477,21 @@
|
||||
updateM06RegisterView(memoryState.preferred_register);
|
||||
|
||||
const bmWrap = document.getElementById("bookmarkedCoordsList");
|
||||
const bmFilterEl = document.getElementById("filterBookmarkInput");
|
||||
const bmPagBar = document.getElementById("bookmarkPaginationBar");
|
||||
if (bmWrap) {
|
||||
bmWrap.innerHTML = "";
|
||||
memoryState.bookmarked_coordinates.forEach(c => {
|
||||
const bq = bmFilterEl ? (bmFilterEl.value || "").trim() : "";
|
||||
const allBm = memoryState.bookmarked_coordinates || [];
|
||||
const filteredBm = !bq ? allBm : allBm.filter(c => String(c).includes(bq));
|
||||
const bmPageSize = 20;
|
||||
const bmTotalPages = Math.max(1, Math.ceil(filteredBm.length / bmPageSize));
|
||||
if (typeof window.__hsLearnBmPage !== "number" || window.__hsLearnBmPage >= bmTotalPages) {
|
||||
window.__hsLearnBmPage = 0;
|
||||
}
|
||||
const bmStart = window.__hsLearnBmPage * bmPageSize;
|
||||
const bmSlice = filteredBm.slice(bmStart, bmStart + bmPageSize);
|
||||
bmSlice.forEach(c => {
|
||||
const pill = document.createElement("span");
|
||||
pill.className = "coord-pill";
|
||||
pill.textContent = `AQ ${c} ×`;
|
||||
@@ -490,6 +502,22 @@
|
||||
});
|
||||
bmWrap.appendChild(pill);
|
||||
});
|
||||
if (bmPagBar) {
|
||||
if (filteredBm.length <= bmPageSize) {
|
||||
bmPagBar.style.display = "none";
|
||||
bmPagBar.innerHTML = "";
|
||||
} else {
|
||||
bmPagBar.style.display = "inline-flex";
|
||||
bmPagBar.innerHTML =
|
||||
`<button type="button" class="btn" id="bmPrevBtn">←</button>` +
|
||||
`<span style="color:var(--gold);">${window.__hsLearnBmPage + 1}/${bmTotalPages} (${filteredBm.length})</span>` +
|
||||
`<button type="button" class="btn" id="bmNextBtn">→</button>`;
|
||||
const pB = document.getElementById("bmPrevBtn");
|
||||
const nB = document.getElementById("bmNextBtn");
|
||||
if (pB) pB.onclick = () => { window.__hsLearnBmPage = Math.max(0, window.__hsLearnBmPage - 1); renderAll(); };
|
||||
if (nB) nB.onclick = () => { window.__hsLearnBmPage = Math.min(bmTotalPages - 1, window.__hsLearnBmPage + 1); renderAll(); };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (statusMsg) setStatus(statusMsg, false);
|
||||
@@ -701,6 +729,13 @@
|
||||
if (rstBtn) rstBtn.addEventListener("click", resetLearnState);
|
||||
|
||||
const addBmBtn = document.getElementById("btnAddBookmark");
|
||||
const bmFilterInput = document.getElementById("filterBookmarkInput");
|
||||
if (bmFilterInput) {
|
||||
bmFilterInput.addEventListener("input", () => {
|
||||
window.__hsLearnBmPage = 0;
|
||||
renderAll();
|
||||
});
|
||||
}
|
||||
if (addBmBtn) {
|
||||
addBmBtn.addEventListener("click", () => {
|
||||
const inp = document.getElementById("inputBookmarkCoord");
|
||||
|
||||
Reference in new issue
Block a user