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:
@@ -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
|
||||
|
||||
|
||||
@@ -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", () => {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user