[PR #8053] feat(dialog-select-server): add icon button for server removal #12605

Closed
opened 2026-02-16 18:17:30 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8053

State: closed
Merged: Yes


What does this PR do?

Closes #8071

Allows users to delete servers from server list.

Also works on the useFilteredList, to properly track changes in items array in a list. Had an issue where the server is deleted from the store but it is still rendered in the list, until a complete remount of the dialog. The update the use-filtered-list.tsx, fixes that in any other place where lists are used and needed to react to changes in the passed in array of items.

How did you verify your code works?

Ran on my dev server and tested.

https://github.com/user-attachments/assets/8bc34820-3114-4ee5-8f4a-04d535f3ac09

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8053 **State:** closed **Merged:** Yes --- ### What does this PR do? Closes #8071 Allows users to delete servers from server list. Also works on the `useFilteredList`, to properly track changes in items array in a list. Had an issue where the server is deleted from the store but it is still rendered in the list, until a complete remount of the dialog. The update the `use-filtered-list.tsx`, fixes that in any other place where lists are used and needed to react to changes in the passed in array of items. ### How did you verify your code works? Ran on my dev server and tested. https://github.com/user-attachments/assets/8bc34820-3114-4ee5-8f4a-04d535f3ac09
yindo added the pull-request label 2026-02-16 18:17:30 -05:00
yindo closed this issue 2026-02-16 18:17:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12605