Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

fix(eve): remove redundant indicator in picker (#3627)

Colton Paddenb174a62f6435
diff --git a/.changeset/quiet-search-pickers.md b/.changeset/quiet-search-pickers.md
new file mode 100644
index 000000000..2371ff407
--- /dev/null
+++ b/.changeset/quiet-search-pickers.md
@@ -0,0 +1,5 @@
+---
+"eve": patch
+---
+
+Remove the redundant Enter badge from searchable setup pickers; the selected-row cursor already indicates the active choice.
diff --git a/packages/eve/src/cli/dev/tui/setup-panel.ts b/packages/eve/src/cli/dev/tui/setup-panel.ts
index fabfef26f..e1e84064c 100644
--- a/packages/eve/src/cli/dev/tui/setup-panel.ts
+++ b/packages/eve/src/cli/dev/tui/setup-panel.ts
@@ -480,7 +480,7 @@ function searchFilter(
/**
* Whether a select renders as the railed searchable list — the one component
* behind the model catalog, team, and project pickers: `▏`-railed rows, an
- * inverse cursor row trailed by the `↵` badge, and a rail-led filter line.
+ * inverse cursor row, and a rail-led filter line.
*/
function isRailedSearch(presentation: SelectPresentation): boolean {
return (
@@ -666,10 +666,9 @@ function appendSelectOptionRows(input: {
};
if (editingKey) rowOption.hint = undefined;
const railed = isRailedSearch(presentation);
- // Railed lists carry the Enter affordance on the cursor row by default;
- // an explicit cursorBadge (the provider picker's `↵ change`) still wins.
- const rowBadge =
- state.cursorBadge ?? (railed && !isTrailingTaskAction ? enterBadge(theme) : undefined);
+ // Railed lists already mark their cursor with `›`; only an explicit badge
+ // such as the provider picker's `↵ change` adds an extra affordance.
+ const rowBadge = state.cursorBadge;
const badge = isCursor && rowBadge !== undefined ? ` ${rowBadge}` : "";
rows.push(
` ${optionRow({