git clone https://garage44.eu/jeroen/midas.git.. /docs/screens/directions.html
<!doctype html><meta charset="utf-8"><link rel="stylesheet" href="style.css">
<!-- The design Goals ▸ Directions was built from (tree.rs directions_step, research.tsx directionsPage): drawn before it existed. -->
<style>
body { width:2240px; }
.app { width:1300px; flex:none; border-radius:12px; overflow:hidden; background:#f3f6f6; color:#1d2a2c; box-shadow:0 0 0 1px #2a3236, 0 30px 70px rgba(0,0,0,.55); font-size:14px; }
.app .top { display:flex; align-items:center; gap:14px; padding:18px 28px; border-bottom:1px solid #dfe7e7; background:#fff; }
.app .top b { font-size:18px; }
.app .top select, .chip { border:1px solid #cfdcdc; border-radius:8px; padding:4px 10px; background:#fff; font:inherit; font-size:13px; color:#38494b; }
.body { padding:22px 28px 28px; display:flex; flex-direction:column; gap:16px; }
.budget { display:flex; align-items:center; gap:18px; background:#fff; border:1px solid #dfe7e7; border-radius:14px; padding:14px 18px; }
.budget b { font-size:15px; }
.slots { display:flex; gap:6px; } .slots i { width:26px; height:10px; border-radius:5px; background:#dfe7e7; display:block; }
.slots i.on { background:#5cc6c0; }
.muted { color:#6b8183; font-size:13px; }
.btn { margin-left:auto; border:0; background:none; font:inherit; font-weight:600; color:#2f7f7a; }
.btn.primary { background:#5cc6c0; color:#0d2f2d; border-radius:9px; padding:8px 14px; }
.dir { background:#fff; border:1px solid #dfe7e7; border-radius:14px; padding:14px 18px 16px; display:grid; grid-template-columns:22px 1fr; gap:4px 12px; }
.dir.now { border:2px solid #5cc6c0; }
.dir.paused { background:#fbf7ee; border-color:#ecdcb4; }
.grip { grid-row:span 3; color:#9fb3b5; font-size:18px; line-height:22px; cursor:grab; }
.head { display:flex; align-items:center; gap:10px; }
.head b { font-size:15.5px; }
.bar { width:120px; height:6px; border-radius:3px; background:#e3eaea; overflow:hidden; } .bar i { display:block; height:100%; background:#2f8f5b; }
.projects { display:flex; gap:6px; flex-wrap:wrap; }
.lanes { display:grid; grid-template-columns:repeat(auto-fill, minmax(270px, 1fr)); gap:8px; margin-top:8px; }
.lane { border:1px solid #e3eaea; border-radius:10px; padding:8px 10px; display:flex; flex-direction:column; gap:3px; }
.lane .p { font-size:12px; font-weight:600; color:#6b8183; text-transform:uppercase; letter-spacing:.04em; }
.tag { font-size:11px; font-weight:700; border-radius:6px; padding:1px 6px; margin-right:6px; }
.tag.now { background:#cdeeed; color:#1b6b67; } .tag.next { border:1px solid #c79a3c; color:#8a6214; } .tag.wait { background:#eef1f1; color:#6b8183; } .tag.new { background:#5cc6c0; color:#0d2f2d; }
.two { display:block; font-size:12.5px; color:#38494b; }
.head .btn + .btn { margin-left:0; }
.two i { font-style:normal; color:#9fb3b5; }
.foot { display:flex; gap:16px; align-items:center; margin-top:6px; }
.caveat { color:#8a6214; font-size:13px; }
/* phone */
.phone2 { width:390px; flex:none; border-radius:28px; overflow:hidden; background:#f3f6f6; color:#1d2a2c; box-shadow:0 0 0 10px #0b0e10, 0 30px 70px rgba(0,0,0,.55); font-size:14px; }
.phone2 .body { padding:16px; gap:12px; }
.phone2 .dir { padding:12px 14px; grid-template-columns:1fr; }
.phone2 .grip { display:none; }
</style>
<h1>Goals ▸ <em>Directions</em> across projects — a design</h1>
<p class="lede">Today the tree heads for <b>one</b> goal at a time. This is how several could run side by side — Pinnacle, Cartopolis and midas itself — under <b>one budget</b>, without two sessions colliding in one project, and with a tech that needs <b>two projects</b> built in the right order.</p>
<div class="screen">
<div class="app">
<div class="top"><b>Goals</b><select><option>all projects</option></select><span class="chip">Directions</span><span class="muted">the tree, one goal at a time, is a tab away</span></div>
<div class="body">
<div class="budget">
<div><b>Across all directions</b><div class="muted">at most 3 at once · 10 started a day · one session per project at a time</div></div>
<div class="slots"><i class="on"></i><i class="on"></i><i></i></div><span class="muted">2 of 3 at work · 5 of 10 today · $41 this week</span>
<button class="btn">Budget</button>
</div>
<div class="dir now">
<span class="grip">⠿</span>
<div class="head"><b>An open rust-only OS for mobile, workstations and servers</b><span class="bar"><i style="width:49%"></i></span><span class="muted">34 / 70</span><button class="btn">Limits</button><button class="btn">Pause</button></div>
<div class="projects"><span class="chip">pinnacle</span><span class="chip">mithril</span><span class="chip">frits</span><span class="chip">pinnacle-website</span><span class="muted">2 at once · 6 a day · scout when the way runs out</span></div>
<div class="lanes">
<div class="lane"><span class="p">pinnacle</span><span><span class="tag now">NOW · 25M</span>Pair a Bluetooth device securely</span><span class="muted">then: Text a contact who is offline</span></div>
<div class="lane"><span class="p">mithril → pinnacle</span><span><span class="tag next">NEXT</span>Toggle a switch or slider</span><span class="two">mithril first <i>→</i> then pinnacle <i>·</i> 2 sessions, each lands on its own</span></div>
<div class="lane"><span class="p">frits</span><span><span class="tag wait">WAITS</span>Write and edit a Frits script</span><span class="muted">needs “Edit and select text” (pinnacle)</span></div>
</div>
</div>
<div class="dir">
<span class="grip">⠿</span>
<div class="head"><b>Samen vergaderen en beslissen</b><span class="bar"><i style="width:38%"></i></span><span class="muted">8 / 21</span><button class="btn">Limits</button><button class="btn">Pause</button></div>
<div class="projects"><span class="chip">cartopolis</span><span class="muted">1 at once · 4 a day · scout every 3 landings</span></div>
<div class="lanes">
<div class="lane"><span class="p">cartopolis</span><span><span class="tag now">NOW · 1H</span>Een agenda voor de wekelijkse vergadering</span><span class="muted">then: Stemmen over een voorstel</span></div>
</div>
</div>
<div class="dir paused">
<span class="grip">⠿</span>
<div class="head"><b>midas host its own git</b><span class="bar"><i style="width:20%"></i></span><span class="muted">2 / 10</span><button class="btn">Resume</button><button class="btn">Stop</button></div>
<div class="projects"><span class="chip">midas</span><span class="caveat">⚑ paused: 2 researches in a row landed nothing</span></div>
<div class="foot"><span class="muted">Next once resumed: Pull requests in the hub (midas). The last two: s861 dropped, s866 stopped.</span></div>
</div>
<div class="foot"><button class="btn primary">Head for another goal</button><span class="muted">Drag to order: when the budget is short, the higher direction gets the next free slot.</span></div>
</div>
</div>
<div class="notes">
<h2><span>1</span>Many directions, one budget</h2>
<ul>
<li>Every goal can have a direction of its own, in any project. Each keeps its own limits (at once, a day, the scout).</li>
<li><b>Across all directions</b> caps them together, beside your Focus cap. Its line says what is at work, what started today and what it cost this week.</li>
<li>The <b>order</b> is the priority: when the budget is full, the higher one starts first.</li>
</ul>
<h2><span>2</span>One project, one session</h2>
<ul>
<li>Two directions that reach the same project <b>take turns</b> there, so no two sessions change one project at once. The Budget can allow two.</li>
<li>Each direction shows a lane per project: what is at work there, what is next, what waits and on what.</li>
</ul>
<h2><span>3</span>A tech in two projects</h2>
<ul>
<li>A tech whose change spans projects (a widget in <code>mithril</code> that <code>pinnacle</code> then uses) becomes <b>two sessions in order</b>: the one depended on first, each landing on its own on main — the workspace's rule.</li>
</ul>
<h2><span>4</span>What stays</h2>
<ul>
<li>The tree, the scout, “Done when” and the pause after two that land nothing work as now, per direction.</li>
<li>Choosing a goal on the tree still offers <b>Head this way</b>; it adds a direction instead of replacing the one going.</li>
</ul>
</div>
<div class="phone2">
<div class="app" style="width:auto;box-shadow:none;border-radius:0">
<div class="top"><b>Directions</b><span class="muted">2 of 3 at work</span></div>
<div class="body">
<div class="dir now"><div class="head"><b>An open rust-only OS…</b></div><div class="muted">34 / 70 · pinnacle, mithril, frits +1</div>
<div><span class="tag now">NOW · 25M</span>Pair a Bluetooth device</div><div><span class="tag next">NEXT</span>Toggle a switch <span class="muted">· mithril → pinnacle</span></div></div>
<div class="dir"><div class="head"><b>Samen vergaderen en beslissen</b></div><div class="muted">8 / 21 · cartopolis</div>
<div><span class="tag now">NOW · 1H</span>Een agenda voor de vergadering</div></div>
<div class="dir paused"><div class="head"><b>midas host its own git</b></div><div class="caveat">⚑ paused: 2 in a row landed nothing</div><div><button class="btn" style="margin:0">Resume</button></div></div>
<button class="btn primary">Head for another goal</button>
</div>
</div>
</div>
</div>