Fixed TUI list selection bug#1151
Fixed TUI list selection bug#1151BobDickinson wants to merge 2 commits intomodelcontextprotocol:v1.5/mainfrom
Conversation
|
@claude review |
|
Claude finished @BobDickinson's task in 44s —— View job Code Review
The fix is clean and correctly addresses the root cause. Here's my analysis: What changed
The fix is correct ✓Passing the array reference as
Minor observations
OverallThe approach is sound — using reference identity of the list as a reset signal is idiomatic and avoids over-resetting. The bug fix is minimal, targeted, and doesn't introduce new complexity. Approved — no blocking issues. |
|
The Resources tab feedback is not unreasonable, but given that it works as is and that we're going to do a pretty big TUI UX refactor at some point before release, I'm inclined to leave this as-is. I don't find any of the other feedback action-worthy (local agent agreed). |
Summary
The TUI has a list selection bug for Resources, Prompts, and Tools that made it impossible to navigate the lists (continually reselected first item).
Type of Change
Changes Made
Fixed hook to only reselect first item when server changes
Testing
Checklist
npm run prettier-fix)Breaking Changes
None