|
|
@@ -584,20 +584,21 @@
|
|
|
</details>
|
|
|
</section>
|
|
|
|
|
|
- <!-- The supervision narrative: one chronological feed of
|
|
|
- the goal agent's life (markdown bodies — reports land
|
|
|
- here whole). -->
|
|
|
+ <!-- The supervision narrative (plan 14 B6): state events
|
|
|
+ at full weight, comment events as .footnote — the
|
|
|
+ feed reads as events-with-occasional-footnotes. -->
|
|
|
<section class="card">
|
|
|
<h3>Supervision narrative</h3>
|
|
|
<p stm-if="goal.events.length == 0" class="muted">Nothing yet — start the goal.</p>
|
|
|
- <div stm-for-event-in="goal.events" class="goal-event">
|
|
|
+ <div stm-for-event-in="goal.events"
|
|
|
+ stm-attribute.class="'goal-event' + (event.kind == 'comment' ? ' footnote' : '')">
|
|
|
<span class="muted" stm-text="event.at_display">when</span>
|
|
|
<span stm-attribute.class="'badge badge-goal-' + event.kind"
|
|
|
stm-text="event.kind.replace('-', ' ')">kind</span>
|
|
|
- <!-- Comment events render as footnotes (plan 13 B4):
|
|
|
- the body leads, muted and smaller. -->
|
|
|
- <div stm-attribute.class="'md goal-event-text' + (event.kind == 'comment' ? ' footnote' : '')"
|
|
|
- stm-markdown="event.text">text</div>
|
|
|
+ <!-- Comment events render as footnotes (plan 13 B4
|
|
|
+ + 14 B6): the whole row is muted and smaller,
|
|
|
+ the body-first text leading. -->
|
|
|
+ <div class="md goal-event-text" stm-markdown="event.text">text</div>
|
|
|
<a stm-if="event.task_id > 0"
|
|
|
stm-attribute.href="'/tasks/' + event.task_id">task</a>
|
|
|
</div>
|