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:
parent
67336343cf
commit
f94c2b9f90
1 changed files with 4 additions and 4 deletions
|
|
@ -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>' +
|
||||
'<div class="assistant-examples">' + examples.map(function (item) {
|
||||
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"
|
||||
// says nothing about what will be asked; the question does.
|
||||
return '<button type="button" data-assistant-example="' + escapeAttr(item.prompt) + '"' + source + '>' + escapeHtml(item.prompt || item.label) + '</button>';
|
||||
// The short label, as it always was: the user asked for the earlier
|
||||
// look back after seeing four full questions stacked here.
|
||||
return '<button type="button" data-assistant-example="' + escapeAttr(item.prompt) + '"' + source + '>' + escapeHtml(item.label) + '</button>';
|
||||
}).join('') + '</div></div>';
|
||||
}
|
||||
|
||||
|
|
@ -2643,7 +2643,7 @@ import {
|
|||
examples[i] = examples[j];
|
||||
examples[j] = tmp;
|
||||
}
|
||||
return examples.slice(0, 4);
|
||||
return examples.slice(0, 3);
|
||||
}
|
||||
|
||||
function bindExampleButtons(root) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue