observatory stuff

This commit is contained in:
2026-06-22 23:05:05 +02:00
parent 1bdb518a94
commit 4ef04dd5e5
22 changed files with 1005 additions and 159 deletions

View File

@@ -26,109 +26,182 @@
<wn-tag slot="right" id="liquidity-badge"></wn-tag>
</wn-top-nav>
<main class="wn-main obs-main">
<wn-page-header
eyebrow="Economic Observatory · MVP"
title="Operator liquidity"
lede="Ledger-backed view of infrastructure spend, member payments, and remaining budget. Customer cost-pass-through billing is not active."
id="page-header"
></wn-page-header>
<div class="wn-app obs-app">
<wn-sidebar id="obs-sidebar">
<wn-sidebar-group label="Observatory">
<wn-sidebar-item icon="activity" active data-section="cost-floor" id="nav-cost-floor">
Cost Floor
</wn-sidebar-item>
<wn-sidebar-item icon="lightbulb" data-section="value-range" id="nav-value-range">
Value Range
</wn-sidebar-item>
<wn-sidebar-item icon="users" data-section="market-price" id="nav-market-price">
Market Price
</wn-sidebar-item>
</wn-sidebar-group>
</wn-sidebar>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Snapshot</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<div class="obs-metric-grid" id="metric-grid"></div>
</section>
<main class="wn-main obs-main">
<wn-page-header id="page-header"></wn-page-header>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Liquidity &amp; budget</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<wn-banner variant="info" title="Budget position" id="budget-banner">
<p id="budget-caption"></p>
</wn-banner>
<div class="obs-budget-meter" aria-hidden="true">
<div class="obs-budget-meter__fill" id="budget-fill"></div>
</div>
<div class="obs-field-sheet" id="budget-stats"></div>
</section>
<section class="obs-panel obs-panel--active" id="panel-cost-floor" data-section="cost-floor">
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Snapshot</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<div class="obs-metric-grid" id="metric-grid"></div>
</section>
<div class="obs-split">
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Monthly net liquidity</wn-eyebrow>
<div class="obs-section__rule"></div>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Liquidity &amp; budget</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<wn-banner variant="info" title="Budget position" id="budget-banner">
<p id="budget-caption"></p>
</wn-banner>
<div class="obs-budget-meter" aria-hidden="true">
<div class="obs-budget-meter__fill" id="budget-fill"></div>
</div>
<div class="obs-field-sheet" id="budget-stats"></div>
</section>
<div class="obs-split">
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Monthly net liquidity</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<p class="lead obs-section-note">Member net payments minus infrastructure, by period.</p>
<div class="obs-liquidity-list" id="liquidity-chart"></div>
</section>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Infrastructure stack</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<p class="lead obs-section-note">Domains, hosting, and Stripe reference rates.</p>
<div id="infra-stack"></div>
</section>
</div>
<p class="lead obs-section-note">Member net payments minus infrastructure, by period.</p>
<div class="obs-liquidity-list" id="liquidity-chart"></div>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Monthly ledger</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<p class="lead obs-section-note">Computed from expense and payment record tables.</p>
<div class="obs-table-wrap">
<table class="wn-table--native obs-table">
<thead>
<tr>
<th>Period</th>
<th>Members</th>
<th class="obs-num">Gross</th>
<th class="obs-num">Infrastructure</th>
<th class="obs-num">Processing</th>
<th class="obs-num">Net liquidity</th>
</tr>
</thead>
<tbody id="history-body"></tbody>
</table>
</div>
</section>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Pricing model registry</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<div class="obs-table-wrap">
<table class="wn-table--native obs-table">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Type</th>
<th>Status</th>
</tr>
</thead>
<tbody id="pricing-body"></tbody>
</table>
</div>
</section>
</section>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Infrastructure stack</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<p class="lead obs-section-note">Domains, hosting, and Stripe reference rates.</p>
<div id="infra-stack"></div>
<section class="obs-panel" id="panel-value-range" data-section="value-range" hidden>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Current position</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<div class="obs-metric-grid" id="value-summary"></div>
</section>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Segment bands</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<p class="lead obs-section-note" id="value-range-notes"></p>
<div class="obs-value-grid" id="value-segments"></div>
</section>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Value drivers</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<div class="obs-field-sheet" id="value-drivers"></div>
</section>
</section>
</div>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Monthly ledger</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<p class="lead obs-section-note">Computed from expense and payment record tables.</p>
<div class="obs-table-wrap">
<table class="wn-table--native obs-table">
<thead>
<tr>
<th>Period</th>
<th>Members</th>
<th class="obs-num">Gross</th>
<th class="obs-num">Infrastructure</th>
<th class="obs-num">Processing</th>
<th class="obs-num">Net liquidity</th>
</tr>
</thead>
<tbody id="history-body"></tbody>
</table>
</div>
</section>
<section class="obs-panel" id="panel-market-price" data-section="market-price" hidden>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Market span</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<div class="obs-metric-grid" id="market-summary"></div>
</section>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Pricing model registry</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<div class="obs-table-wrap">
<table class="wn-table--native obs-table">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Type</th>
<th>Status</th>
</tr>
</thead>
<tbody id="pricing-body"></tbody>
</table>
</div>
</section>
<section class="obs-section">
<div class="obs-section__head">
<wn-eyebrow>Competitive alternatives</wn-eyebrow>
<div class="obs-section__rule"></div>
</div>
<p class="lead obs-section-note" id="market-notes"></p>
<div class="obs-table-wrap">
<table class="wn-table--native obs-table">
<thead>
<tr>
<th>Alternative</th>
<th>Category</th>
<th class="obs-num">Price / mo</th>
<th>Signal</th>
<th>Features</th>
<th>Evidence</th>
</tr>
</thead>
<tbody id="market-body"></tbody>
</table>
</div>
</section>
</section>
<footer class="obs-footer">
<p class="small">
Design:
<a id="design-link" href="#" target="_blank" rel="noreferrer">Claude design share</a>
·
<span class="mono" id="design-ref-label">whynot-design</span>
· totals computed programmatically from ledgers
</p>
</footer>
</main>
<footer class="obs-footer">
<p class="small">
Design:
<a id="design-link" href="#" target="_blank" rel="noreferrer">Claude design share</a>
·
<span class="mono" id="design-ref-label">whynot-design</span>
· totals computed programmatically from ledgers
</p>
</footer>
</main>
</div>
<script src="/ui/app.js"></script>
</body>