Expose active source quote in Ranker receipt
This commit is contained in:
@@ -253,6 +253,7 @@ function renderFirstScreen(firstScreen = {}) {
|
||||
<p>${escapeHtml(firstScreen.why || 'It is the best first proof slice.')}</p>
|
||||
</div>
|
||||
${held.length ? `<div><span>Hold back</span><ul>${held.map((item) => `<li><b>${escapeHtml(item.title)}</b>${item.lane ? ` — ${escapeHtml(item.lane)}` : ''}</li>`).join('')}</ul></div>` : ''}
|
||||
${firstScreen.sourceQuote ? `<blockquote class="active-source-quote"><span>${escapeHtml(firstScreen.sourceTitle || 'Source quote')}</span>${escapeHtml(firstScreen.sourceQuote)}</blockquote>` : ''}
|
||||
${guardrails.length ? `<small>Guardrails: ${guardrails.map(escapeHtml).join(' · ')}</small>` : ''}
|
||||
${firstScreen.sourceAnchor ? `<small>Source anchor: ${escapeHtml(firstScreen.sourceAnchor)}</small>` : ''}
|
||||
<small>${escapeHtml(firstScreen.rule || 'One active move. Everything else waits.')}</small>
|
||||
|
||||
Reference in New Issue
Block a user