fix(tui): generic empty-state for searchable pickers (PR #1201, thanks @vignesh07)

Co-authored-by: Vignesh Natarajan <vigneshnatarajan92@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-19 05:15:51 +00:00
parent dd18765b50
commit c578fca687
3 changed files with 3 additions and 6 deletions

View File

@@ -14,12 +14,9 @@ Docs: https://docs.clawd.bot
### Fixes
- Plugins: surface plugin load/register/config errors in gateway logs with plugin/source context.
<<<<<<< Updated upstream
- Agents: propagate accountId into embedded runs so sub-agent announce routing honors the originating account. (#1058)
||||||| Stash base
=======
- Compaction: include tool failure summaries in safeguard compaction to prevent retry loops. (#1084)
>>>>>>> Stashed changes
- TUI: show generic empty-state text for searchable pickers. (#1201) — thanks @vignesh07.
## 2026.1.18-5

View File

@@ -158,7 +158,7 @@ describe("SearchableSelectList", () => {
list.handleInput("z");
const output = list.render(80);
expect(output.some((line) => line.includes("No matching"))).toBe(true);
expect(output.some((line) => line.includes("No matches"))).toBe(true);
});
it("navigates with arrow keys", () => {

View File

@@ -190,7 +190,7 @@ export class SearchableSelectList implements Component {
// If no items match filter, show message
if (this.filteredItems.length === 0) {
lines.push(this.theme.noMatch(" No matching models"));
lines.push(this.theme.noMatch(" No matches"));
return lines;
}