gitui-org / gitui-org/gitui

Add syntax highlighting options for commit titles inside the log view

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

Descrizione

I would like some more visual clues while scanning a log view as to what is important or not or might be related to the thing I'm looking for. My projects mostly follow the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) guidelines, so they have lots of easy to parse information that could be used for this. Commits are categorized as to whether they are feature additions, bug fixes, refactors, documentation, etc. Also they show the scope of the commit.

I would like some sort of syntax highlighting / formatting for commit titles that took this info into account. For example:

* Use different highlight colors for the titles of different types of commits (red for bugs, blue for docs, light grey for style changes, etc.).
* Perhaps hide the commit type entirely in favor of just the color scheme.
* Add alignment so the actual commit titles line up as another column after the type and scope info.

I may be able to work on this some if such a feature set would be acceptable. Presumably this would just involve some sort of filter widget used when outputting message that adds either conventional commit specific or generic pattern matching of some kind.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dalla vista dei log e dal filtro o widget di output dei messaggi descritto nell’issue. Poiché non sono indicati file o test, individua innanzitutto dove vengono renderizzati i titoli dei commit e come è strutturato il filtraggio. Per considerare completato il lavoro servirebbe un design concordato per il parsing di conventional-commit, i colori, la visibilità e l’allineamento, seguito dalla copertura del comportamento selezionato.

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

Valutazione

Stack tecnologico
rust
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.