revert: the starter chips are three short labels again

The user, seeing four full questions stacked on the empty page: "the former
way… was better". Labels, three of them, as before.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016fZGJNyDvERbMgS2Uc2msP
This commit is contained in:
Daniel 2026-09-15 01:42:09 +02:00
parent 67336343cf
commit f94c2b9f90

View file

@ -2629,9 +2629,9 @@ import {
'<p class="assistant-empty-badge"><i class="fas fa-book-medical"></i> Answers built only from your indexed library</p>' + '<p class="assistant-empty-badge"><i class="fas fa-book-medical"></i> Answers built only from your indexed library</p>' +
'<div class="assistant-examples">' + examples.map(function (item) { '<div class="assistant-examples">' + examples.map(function (item) {
var source = item.sourceTitle ? (' title="Available from: ' + escapeAttr(item.sourceTitle + (item.page ? ', page ' + item.page : '')) + '"') : ''; var source = item.sourceTitle ? (' title="Available from: ' + escapeAttr(item.sourceTitle + (item.page ? ', page ' + item.page : '')) + '"') : '';
// The question itself, not a two-word label: "Status asthma escalation" // The short label, as it always was: the user asked for the earlier
// says nothing about what will be asked; the question does. // look back after seeing four full questions stacked here.
return '<button type="button" data-assistant-example="' + escapeAttr(item.prompt) + '"' + source + '>' + escapeHtml(item.prompt || item.label) + '</button>'; return '<button type="button" data-assistant-example="' + escapeAttr(item.prompt) + '"' + source + '>' + escapeHtml(item.label) + '</button>';
}).join('') + '</div></div>'; }).join('') + '</div></div>';
} }
@ -2643,7 +2643,7 @@ import {
examples[i] = examples[j]; examples[i] = examples[j];
examples[j] = tmp; examples[j] = tmp;
} }
return examples.slice(0, 4); return examples.slice(0, 3);
} }
function bindExampleButtons(root) { function bindExampleButtons(root) {