gitui-org / gitui-org/gitui

Show a spinner/loader while hooks are running (?)

Aperta
#2,039 3 commenti 3 reazioni 0 assegnatari Vedi su GitHub
enhancement feature-request
Lingua principale
Rust
Stelle
22.5k
Fork
773
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Discussed in https://github.com/extrawurst/gitui/discussions/2033

Originally posted by **valerio-pescatori** February 7, 2024
Hi everyone!

I recently moved from vscode to helix and I'm using gitui to manage the git part in the terminal as well and I'm loving it! It's really easy to use, it has all the functionalities I need and it's _really_ fast.

One thing I noticed though it's that if you have hooks setup, when you press enter to run the commit it kinda 'freezes'... obviously it's not freezing (bc it's **_blazing 💥 fast_**) it's just the hooks running in background.
But before realizing the first time it I was kinda confused and started pressing random keys to understand what's going on.

So I was thinking: is there a way to display a spinner or a loader somewhere just to tell the user that the commit is actually being done and it did not freeze? That would improve ux/dx a lot imo.

Thank to all the contributors!

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dalla discussione collegata dall’issue, quindi segui l’azione di commit e il percorso di esecuzione degli hooks in gitui. Il lavoro è completato quando uno spinner o loader appare chiaramente mentre gli hooks sono in esecuzione e scompare al termine del processo di commit.

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

Valutazione

Stack tecnologico
git, rust
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.