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

tui3: input-trapping empty/unwired places for /drafts and /skill

Aperta
#1,557 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cli

Direzione di ricerca

Start in internal/tui3/draftpage.go around draftPanel.draw and trace the main frame render loop to confirm how the drafts view is wired. Then read internal/tui3/input.go and internal/tui3/skills.go for the empty /skill palette path. Done means /drafts renders a list or empty state, while an empty /skill shelf shows the requested notice and cancel cleanly resets the input line.

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

Descrizione

area:chat bug sev:serious
Summary

Navigating to /drafts or invoking /skill with an empty shelf traps keyboard focus without drawing visible UI, requiring Esc or manual clearing.

Items & Observed Behavior
  1. /drafts traps input with invisible UI: Opening /drafts renders nothing on screen because draftPanel.draw (internal/tui3/draftpage.go:116) is not connected to the frame renderer. All keystrokes are swallowed until the user presses Esc.
  2. /skill traps empty prompt: Typing /skill when no skills are installed leaves /skill in the prompt box without showing options or feedback, and subsequent inputs get appended into the command string.
Expected Behavior
  • /drafts must render its draft list view or display an empty state placeholder.
  • /skill with an empty shelf should show an inline informational notice (no skills installed) and cleanly reset the input line on cancel.
Root Cause / Location
  • internal/tui3/draftpage.go: Unwired draw handler in the main frame render loop.
  • internal/tui3/input.go and internal/tui3/skills.go: Empty state handling for /skill palette.

—
Drafted with CodeAF · reviewed and owned by the author

Lingua principale
Go
Stelle
115
Fork
14
Merge medio
9h 37m
PR unite (30g)
755

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 Agent-Field/CodeAF

Tutte le issue di Agent-Field/CodeAF

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.