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

Renderer actions that fail silently or run twice: delete/clear while busy, secret Remove, Ctrl+Enter commit

Chiusa
#193 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
74/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
desktop

Direzione di ricerca

Start with the named handlers in src/renderer/src/views/dialogs.ts and the commit flow in src/renderer/src/views/panels.ts; read how they report errors and track in-flight work. Check src/main/chat_manager.ts:450 for the busy-state failure. Done means failures are shown to the user and a second commit cannot run before the first finishes; verify the affected actions and Ctrl+Enter behavior.

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

Descrizione

bug priority: low severity: low

Found in the 2026-10-07 code review (read).

Problem

  • Silent failures: history:delete and history:clear throw while the agent is busy (src/main/chat_manager.ts:450). Their async onclick handlers (src/renderer/src/views/dialogs.ts:652-656,697-701) and the secret "Remove" button (dialogs.ts:96-100) have no catch. The user sees nothing; the error only reaches the renderer error log.
  • Double commit: Ctrl+Enter in the commit message box calls commit() with no in-flight guard (src/renderer/src/views/panels.ts:366-371,610-640), and a refresh() during a slow push re-enables the button. Pressing twice gives a "nothing to commit" error or two concurrent pushes.

Fix

  • Wrap these handlers in try/catch and show the error.
  • Add a committing flag that blocks a second commit until the first finishes.
Lingua principale
TypeScript
Stelle
2
Fork
2
Merge medio
5h 28m
PR unite (30g)
24

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 PierrunoYT/patch

Tutte le issue di PierrunoYT/patch

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.