Fix filtered command palette action selection #60

Closed
opened 2026-08-06 01:47:15 +00:00 by rockachopa · 0 comments
Member

Reproduction

  1. Open the dashboard command palette.
  2. Type refresh so only Refresh now remains.
  3. Click the result.

Actual

The whiteboard opens because filtered result index 0 is resolved against the unfiltered command array.

Expected

The clicked filtered result runs Refresh now.

Evidence

renderCommands assigns data-idx from the filtered array but the click handler indexes the original commands array.

## Reproduction 1. Open the dashboard command palette. 2. Type `refresh` so only **Refresh now** remains. 3. Click the result. ## Actual The whiteboard opens because filtered result index `0` is resolved against the unfiltered command array. ## Expected The clicked filtered result runs **Refresh now**. ## Evidence `renderCommands` assigns `data-idx` from the filtered array but the click handler indexes the original `commands` array.
timmy was assigned by rockachopa 2026-08-06 01:47:15 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#60
No description provided.