Files
encyclopedia-knowledge-graph/docs/plans/inactive/PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE.md
T

2.7 KiB

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 &bull; 1,282 Typed Edges &bull; 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.