Skip to content

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

Open
@extrawurst

Description

@extrawurst

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions