Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

mecatui: evaluate bounded MCP resource and prompt pickers

Aperta
#2,175 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cli, testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
290
Fork
26
Merge medio
1g 2h
PR unite (30g)
313

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di stacklok/mecatl

Tutte le issue di stacklok/mecatl

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.