You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mecatui: evaluate bounded MCP resource and prompt pickers #2175
Evaluate bounded selectable browsing for the MCP resource and prompt pickers in cmd/mecatui/ui/mcp.go. Each currently renders every advertised item and uses an index-only cursor; the surface's Render(width, height) discards offered height. With enough advertised items the picker can exceed the card and hide its selection. Treat resource and prompt lists separately from MCP status, resource preview, and prompt argument forms.
Required outcome
Establish and test the constrained-geometry inconsistency for each picker; if justified, use bounded.List with stable server+resource URI or server+prompt name identities, measured chrome, selection reveal, standard presentListRow treatment, and surface-owned overflow/footers. Explicitly retain a region if migration offers no net benefit.
Preserve sanitized labels, names/server attribution, resource read → preview → insert, prompt argument selection/fetch, capability/availability states, and the existing key/close/back contract. Do not add wheel/click semantics without a tested interaction decision; click-to-select is tracked in mecatui: rationalize mouse selection and activation across modals and surfaces #769.
Verification
Scenario-first tests for numerous resources/prompts at narrow/short sizes, overflow, cursor/identity after refresh, and activation/preview/argument transitions. Run focused MCP/UI and bounded tests.
Both inventories now use bounded browsing with stable raw identities, paging, wheel browsing, and select-only row clicks. The approved scope also delivered a full loaded-resource preview and persistent required-argument form with explicit Cancel/Submit, plus owned asynchronous results and frame-scoped pointer targets. The final CI race gate passed before merge.
Remaining work is deliberately separate: #769 for cross-surface mouse selection/activation consistency, #2768 for the /mcp / Ctrl+O status/inventory panel. The parent trackers #1742, #1589, and #2237 have been updated; they remain open.
Activity
jbeda commentedon Nov 18, 2026
Completed in #2763, merged as bb7767e.
Both inventories now use bounded browsing with stable raw identities, paging, wheel browsing, and select-only row clicks. The approved scope also delivered a full loaded-resource preview and persistent required-argument form with explicit Cancel/Submit, plus owned asynchronous results and frame-scoped pointer targets. The final CI race gate passed before merge.
Remaining work is deliberately separate: #769 for cross-surface mouse selection/activation consistency, #2768 for the
/mcp/ Ctrl+O status/inventory panel. The parent trackers #1742, #1589, and #2237 have been updated; they remain open.