64a736ffcb
Define local/offline truth as commands, domain events, and projections rather than stored DOM patches or EffectBatch payloads, and wire the techdemo through a local command-to-projection-to-effect flow. req: local/001 req: local/002 req: local/003 req: local/004 req: examples/001
70 lines
3.1 KiB
Plaintext
70 lines
3.1 KiB
Plaintext
<main data-hemx-root="techdemo" data-hemx-sse="/events">
|
|
<section class="hero-shell">
|
|
<div class="hero-copy">
|
|
<p class="eyebrow">hemx Control Plane</p>
|
|
<h1>A Linear-class work system without a frontend framework.</h1>
|
|
<p class="lede">Create, inspect, advance, and stream work through native HTML, generated typed resources, and compact update batches. The UI feels app-grade; the model stays server-owned and boring.</p>
|
|
</div>
|
|
<div class="hero-panel" data-hemx-slot="hero_metrics">{+= self.hero =+}</div>
|
|
</section>
|
|
|
|
<nav class="topology" data-hemx-slot="nav">
|
|
<a href="/" data-hemx-nav="">Live system</a>
|
|
<a href="/architecture" data-hemx-nav="">Architecture</a>
|
|
</nav>
|
|
|
|
<section class="workspace">
|
|
<aside class="command-card">
|
|
<h2>Create an issue</h2>
|
|
<form id="launch-work" method="post" data-hemx-handle="launch_work" data-hemx-form="launch_work" data-hemx-disable-while-pending>
|
|
<label>Title <input name="title" required="required" value="Ship typed updates"></label>
|
|
<label>Lane
|
|
<select name="lane" required="required">
|
|
<option value="compiler">Compiler</option>
|
|
<option value="runtime">Runtime</option>
|
|
<option value="product">Product</option>
|
|
</select>
|
|
</label>
|
|
<label>Impact <input name="impact" type="number" min="1" max="9" value="7"></label>
|
|
<button class="primary-action" type="button" form="launch-work" data-hemx-handle="launch_work">Create issue</button>
|
|
</form>
|
|
<div class="quick-actions">
|
|
<button type="button" data-hemx-handle="simulate_push">Simulate server push</button>
|
|
<button type="button" data-hemx-handle="reset_demo">Reset demo</button>
|
|
</div>
|
|
<div data-hemx-slot="host_panel">{+= self.host =+}</div>
|
|
<div data-hemx-slot="local_panel">{+= self.local =+}</div>
|
|
<p data-hemx-slot="notice" class="notice">Every control posts through a generated handle and receives typed updates.</p>
|
|
</aside>
|
|
|
|
<section class="board-card">
|
|
<div class="section-heading">
|
|
<span>Generated slots + keyed cards</span>
|
|
<strong>generated resources, no selectors</strong>
|
|
</div>
|
|
<div data-hemx-slot="board">{+= self.board =+}</div>
|
|
</section>
|
|
</section>
|
|
|
|
<section class="insight-grid">
|
|
<article class="glass-card">
|
|
<h2>Update inspector</h2>
|
|
<div data-hemx-slot="inspector" class="inspector-slot">{+= self.inspector =+}</div>
|
|
</article>
|
|
<article class="glass-card island-card" data-hemx-island="orbit" +data-island-snapshot="self.island_snapshot">
|
|
<h2>Opaque island bridge</h2>
|
|
<canvas width="360" height="180" aria-label="Animated island orbit"></canvas>
|
|
<p data-island-readout="">Waiting for Rust snapshot…</p>
|
|
</article>
|
|
<article class="glass-card">
|
|
<h2>Activity stream</h2>
|
|
<div data-hemx-slot="activity">{+= self.activity =+}</div>
|
|
</article>
|
|
<article class="glass-card glow">
|
|
<h2>Server push</h2>
|
|
<div data-hemx-slot="live_feed" class="live-feed">Waiting for SSE heartbeat…</div>
|
|
</article>
|
|
</section>
|
|
|
|
</main>
|