Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

mecatui: evaluate bounded MCP resource and prompt pickers

Đang mở
#2,175 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
cli, testing

Hướng nghiên cứu

Start in cmd/mecatui/ui/mcp.go and inspect how the resource and prompt pickers render and handle selection; then read the bounded.List and presentListRow implementations. Add scenario-first tests for narrow, short layouts, overflow, refresh identity and activation/preview/argument transitions, and run focused MCP/UI and bounded tests. Done means both pickers stay within their offered geometry while preserving the listed flows and key/close/back behavior, or tests justify retaining a region.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Scope

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 #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.

Relates to #1742 and #1589.

Ngôn ngữ chính
Go
Star
290
Fork
26
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
313

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của stacklok/mecatl

Tất cả issue của stacklok/mecatl

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.