gitui-org / gitui-org/gitui

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

Offen
#2,039 3 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement feature-request
Vorherrschende Sprache
Rust
Sterne
22.5k
Forks
773
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit der aus dem Issue verlinkten Diskussion und verfolge anschließend die Commit-Aktion sowie den Ausführungspfad der Hooks in gitui. Die Arbeit ist abgeschlossen, wenn während der Ausführung der Hooks deutlich ein Spinner oder Loader erscheint und verschwindet, sobald der Commit-Prozess beendet ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git, rust
Bereich
cli
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.