Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e3351243e | ||
|
|
b106de6025 |
No files matched your search
@@ -0,0 +1,26 @@
|
||||
# Plan: Alternative Single-Row Header Layout — Folding Passive Telemetry Counters into `.subtitle` (`v2.0.19`)
|
||||
|
||||
- **Document ID:** `PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE` (`v2.0.19`)
|
||||
- **Roadmap Status:** **LONG-TERM INACTIVE PLAN (Deferred Alternative)** — Preserved in the inactive backlog in case a future layout revision wishes to fold the three passive telemetry counter badges on `site/index.html` into `.subtitle` so the right-hand `.meta-badges` container holds exclusively interactive route buttons. Not active unless explicitly requested by the user.
|
||||
- **Target File (When Activated):** `/workspace/hyperstitionstudio-core/site/index.html`
|
||||
|
||||
---
|
||||
|
||||
## 1. Motivation & Horizontal Budget Analysis
|
||||
|
||||
In `/workspace/hyperstitionstudio-core/site/index.html`, the `<header>` container has `max-width: 1260px` and `padding: 1.4rem 1.6rem` (`25.6px` per side), providing `1208.8px` of usable inner horizontal width:
|
||||
|
||||
- Currently (under implemented `Option 3` of `PLAN-STATIC-DONATE-SUBPAGE`), `.meta-badges` keeps the three passive `.badge` counters (`388 Graph Nodes`, `1,282 Typed Edges`, `24 Quant Tickers`) alongside the interactive route buttons (`Start Learning Track (/learn/)`, `Quant Time-Series (/quant/)`) and the terminal right-justified `( ♥ DONATE )` stadium pill (`.btn-donate-pill`), using `margin-left: auto; justify-content: flex-end;` so the cluster remains right-justified even when wrapping onto a second flex line.
|
||||
- If a strictly non-wrapping single-row `<header>` at `1260px` desktop width is desired in the future without abbreviating button labels:
|
||||
1. Move the three static counts (`388 Nodes • 1,282 Edges • 24 Tickers`) inline into the existing `.subtitle` paragraph under `<h1>` (`~710px` total left block width).
|
||||
2. Reserve `.meta-badges` (`margin-left: auto; display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0`) strictly for interactive navigation routes:
|
||||
`[ Start Learning Track (/learn/) ] [ Quant Time-Series (/quant/) ] | ( ♥ DONATE )` (`~430px` total right block width).
|
||||
3. Combined width: `710px + 16px gap + 430px = 1156px <= 1208.8px` (`~52px` of spare horizontal margin on a single unbroken row).
|
||||
|
||||
---
|
||||
|
||||
## 2. Implementation Specification (When Activated)
|
||||
|
||||
1. In `/workspace/hyperstitionstudio-core/site/index.html`, update `.subtitle` to include `388 Graph Nodes • 1,282 Typed Edges • 24 Quant Tickers` and remove the three `<span class="badge">...</span>` elements from `.meta-badges`.
|
||||
2. Add `flex-wrap: nowrap` on desktop (`@media (min-width: 1180px)`) to `<header>` while retaining `flex-wrap: wrap` and `margin-left: auto; justify-content: flex-end` on `.meta-badges` below `1180px`.
|
||||
3. Verify `version_sync --check` and `tests/test_core_suite.py` pass with zero regressions.
|
||||
Binary file not shown.
File renamed without changes.
File renamed without changes.
@@ -128,8 +128,8 @@ To give `/donate/` an unmistakable, tactile visual centerpiece—while keeping `
|
||||
- Automatic `file://` vs. `https://` link resolution, and
|
||||
- The global `"Made with ♥ by Lemurs."` (`♥`) footer.
|
||||
|
||||
### Phase 2: Wire Navigation Links & `version_sync.py`
|
||||
1. Add a `Signal Support (/donate/)` link in the navigation of `site/index.html`, `site/quant/index.html`, and `site/learn/index.html`.
|
||||
### Phase 2: Wire Right-Justified Stadium-Pill Donate Button (`Option 3`) & `version_sync.py`
|
||||
1. In `site/index.html`, `site/quant/index.html`, and `site/learn/index.html`, place a right-justified (`margin-left: auto; justify-content: flex-end`), `34px`-tall stadium-pill `( ♥ DONATE )` button (`.btn-donate-pill`, `border-radius: 999px`, preceded by a `1px solid #334155` vertical divider `.nav-donate-sep`, featuring a `20px × 20px` circular inset `.donate-pill-emblem` and warm amber-gold bevel) as the `:last-child` flush with the right inner header padding boundary—without altering the single-row height or modifying existing `.badge` telemetry counters. *(Option 1—folding the 3 passive telemetry counters into `.subtitle`—is preserved as a separate Long-Term Inactive Plan in `docs/PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE.{md,pdf}`; Option 2 is discarded).*
|
||||
2. Register `core / "site" / "donate" / "index.html"` in `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/version_sync.py` and in `test_offline_urn_namespaces_and_no_external_https_fonts()` inside `tests/test_core_suite.py`.
|
||||
|
||||
### Phase 3: Wire into `deploy/sync-vps-repos.sh` & `deploy/test-first-deployment.sh`
|
||||
Binary file not shown.
@@ -7,7 +7,7 @@
|
||||
> - **Production VPS & Git Operator Deployment Guide:** `../VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.pdf` (and `.md`)
|
||||
> - **Cross-Repository Dependency & Audit Flow Diagram:** `../cross-repo-dependency-and-audit-flow-diagram.html` (and `.png` / `.pdf`)
|
||||
> - **Concentric ETI Radar (`D Periphery`) Specification:** `../specification-concentric-eti-tier-ring-radar-d-periphery.pdf` (and `.md`)
|
||||
> - **Active / Deferred Roadmap Plans in `../`:** `../PLAN-STATIC-DONATE-SUBPAGE.{md,pdf}` and `../PLAN-QUANT-TUTORIAL-VIDEO-SERIES-AND-CITATION-DEEP-LINKS.{md,pdf}` (active outstanding plans); `../PLAN-SQLITE-META-REST-ENDPOINTS-ETAG-AND-VPS-SYNC.{md,pdf}`, `../PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.{md,pdf}`, and `../PLAN-MEMETIC-GALLERY-SUBPAGE.{md,pdf}` (long-term inactive/deferred plans).
|
||||
> - **Active / Deferred Roadmap Plans in `../`:** All active `v2.0.19` plans are now implemented and archived below; `../PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE.{md,pdf}`, `../PLAN-SQLITE-META-REST-ENDPOINTS-ETAG-AND-VPS-SYNC.{md,pdf}`, `../PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.{md,pdf}`, and `../PLAN-MEMETIC-GALLERY-SUBPAGE.{md,pdf}` are preserved in `../` as long-term inactive/deferred plans.
|
||||
|
||||
---
|
||||
|
||||
@@ -33,3 +33,5 @@
|
||||
| `PLAN-QUANTITATIVE-FINANCE-TIMESERIES-SUBPAGE.{md,pdf}` | Specification for the `/quant/` interactive time-series workbench (`site/quant/{index.html,quant-app.js,quant-timeseries-data.js}`) and TradingView `EXCHANGE:SYMBOL` new-window launcher; now implemented and live at `/quant/`. |
|
||||
| `PLAN-MCP-REST-API-ADAPTER.{md,pdf}` | Specification for the unified stateless REST API v1 (`/api/v1/*`) and OpenAPI 3.1.0 adapter (`/api/v1/openapi.json`) on `hs-mcp` (`127.0.0.1:8095`); now implemented in `hyperstitionstud_io.mcp.{rest,server}` and `deploy/Caddyfile`. |
|
||||
| `PLAN-SQLITE-REST-API-METADATA-DB.{md,pdf}` | Specification for the standalone SQLite + FTS5 catalog & telemetry engine (`hyperstitionstud_io.db.sqlite_meta`, `hs-db-build`), automatic `/api/v1/*` and `/mcp` telemetry population (`api-telemetry.db`), and quiescent `logrotate.d` snapshot compression (`deploy/logrotate.d/hyperstition-sqlite-meta`, default `100M`); now implemented and verified in `tests/test_core_suite.py` and `deploy/test-first-deployment.sh`. |
|
||||
| `PLAN-STATIC-DONATE-SUBPAGE.{md,pdf}` | Specification for the `/donate/` signal patronage & open-instrument subpage (`site/donate/index.html`) and Option 3 right-justified `34px` stadium-pill `( ♥ DONATE )` navbar button across `site/index.html`, `site/learn/index.html`, and `site/quant/index.html`; now implemented and live at `/donate/`. |
|
||||
| `PLAN-QUANT-TUTORIAL-VIDEO-SERIES-AND-CITATION-DEEP-LINKS.{md,pdf}` | Specification for the Option B Zero-MP4 5-episode, 25-scene interactive HTML5 canvas tutorial player (`site/quant/quant-tutorials.js`), passage-encoded deep links (`#page=N&search=...`, `#:~:text=...`, `/graph/index.html?select=aq:N`, `/api/v1/dossiers/N?highlight=...`), and `site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.{md,pdf}`; now implemented and verified in `tests/test_core_suite.py` and `deploy/test-first-deployment.sh`. |
|
||||
@@ -120,7 +120,7 @@
|
||||
<div class="pulse-dot"></div>
|
||||
<h1>Cross-Repository Dependency Graph & Auditable Build → Test → Stage_Commit Pipeline</h1>
|
||||
</div>
|
||||
<p class="subtitle">Sibling Repositories under /workspace: ingglish-hyperdope-gematria • technocapital-singularity-zoology (v2.0.19) • encyclopedia-knowledge-graph (v2.0.19)</p>
|
||||
<p class="subtitle">Sibling Repositories under /workspace: ingglish-hyperdope-gematria • technocapital-singularity-zoology (v2.0.20) • encyclopedia-knowledge-graph (v2.0.20)</p>
|
||||
</div>
|
||||
|
||||
<!-- Main SVG Diagram -->
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
|
||||
"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph",
|
||||
"namespace_urn": "urn:io:hyperstitionstud:ns:kg:1.0",
|
||||
"version": "2.0.19",
|
||||
"version": "2.0.20",
|
||||
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
|
||||
"upstream_repository": "/workspace/technocapital-singularity-zoology",
|
||||
"isolation_verified": {
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ window.HyperstitionStudio.EncyclopediaGraphData = {
|
||||
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
|
||||
"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph",
|
||||
"namespace_urn": "urn:io:hyperstitionstud:ns:kg:1.0",
|
||||
"version": "2.0.19",
|
||||
"version": "2.0.20",
|
||||
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
|
||||
"upstream_repository": "/workspace/technocapital-singularity-zoology",
|
||||
"isolation_verified": {
|
||||
|
||||
+32
-4
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v2.0.19)</title>
|
||||
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v2.0.20)</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg-canvas: #121318;
|
||||
@@ -268,7 +268,7 @@
|
||||
<header>
|
||||
<div class="brand">
|
||||
<h1>ENCYCLOPEDIA OF TECHNOCAPITAL SINGULARITY ZOOLOGY — INTERACTIVE KNOWLEDGE GRAPH</h1>
|
||||
<p>Standalone Sibling Repository (/workspace/encyclopedia-knowledge-graph) • 388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak • v2.0.19</p>
|
||||
<p>Standalone Sibling Repository (/workspace/encyclopedia-knowledge-graph) • 388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak • v2.0.20</p>
|
||||
</div>
|
||||
<div class="toolbar">
|
||||
<button class="btn active" data-mode="mode2_radar">Mode 2: ETI Radar (S+ -> D Periphery)</button>
|
||||
@@ -321,7 +321,7 @@
|
||||
</aside>
|
||||
</div>
|
||||
<footer class="hs-global-footer" style="background:#1A1D26;border-top:1px solid #323846;padding:4px 14px;text-align:center;font-size:11px;color:#9BA3B8;z-index:20;">
|
||||
<span class="hs-lemur-credit">hyperstitionstud.io/graph v2.0.19 • Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">♥</span> by Lemurs.</span>
|
||||
<span class="hs-lemur-credit">hyperstitionstud.io/graph v2.0.20 • Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">♥</span> by Lemurs.</span>
|
||||
</footer>
|
||||
|
||||
<script src="graph-data.js"></script>
|
||||
@@ -797,7 +797,35 @@
|
||||
|
||||
window.addEventListener("resize", resizeCanvas);
|
||||
resizeCanvas();
|
||||
selectNode(nodeMap["build:S1"] || DATA.nodes[0]);
|
||||
|
||||
// Deep-link query parameter support (?select=aq:137&mode=mode2_radar)
|
||||
const urlParams = new URLSearchParams(window.location.search || "");
|
||||
const reqMode = urlParams.get("mode");
|
||||
if (reqMode && ["mode1_trophic", "mode2_radar", "mode3_bipartite"].includes(reqMode)) {
|
||||
currentMode = reqMode;
|
||||
document.querySelectorAll("[data-mode]").forEach(b => {
|
||||
b.classList.toggle("active", b.getAttribute("data-mode") === reqMode);
|
||||
});
|
||||
}
|
||||
const reqSelect = (urlParams.get("select") || "").trim();
|
||||
let initialNode = nodeMap["build:S1"] || DATA.nodes[0];
|
||||
if (reqSelect) {
|
||||
const selLow = reqSelect.toLowerCase();
|
||||
const selCoord = selLow.replace(/^aq:/, "");
|
||||
const matchedNode = nodeMap[reqSelect] || DATA.nodes.find(n =>
|
||||
String(n.id).toLowerCase() === selLow ||
|
||||
String(n.ing_aq || "") === selCoord ||
|
||||
String(n.aq_value || "") === selCoord ||
|
||||
String(n.label || "").toLowerCase().includes(selLow)
|
||||
);
|
||||
if (matchedNode) {
|
||||
initialNode = matchedNode;
|
||||
}
|
||||
}
|
||||
selectNode(initialNode);
|
||||
if (reqSelect && initialNode) {
|
||||
centerOnNode(initialNode);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
|
||||
@@ -705,7 +705,7 @@ def build_graph(upstream_repo: Path = UPSTREAM_REPO_DEFAULT) -> dict[str, Any]:
|
||||
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
|
||||
"$id": URN_SCHEMA_GRAPH,
|
||||
"namespace_urn": URN_GRAPH_NS,
|
||||
"version": "2.0.19",
|
||||
"version": "2.0.20",
|
||||
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
|
||||
"upstream_repository": str(upstream_repo),
|
||||
"isolation_verified": {
|
||||
|
||||
Reference in new issue
Block a user