berzniz / berzniz/github_pr_tree

Extra features for large PR workflow

Aperta
#175 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
HTML
Stelle
696
Fork
79
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I just moved to Github from Gitlab and this extension is really great, thanks for building it!

I often have to review very large pull requests and there are a few features that help me quite a lot in my workflow, so I cloned the project and had a go at adding them. I was wondering if you're interested in having any of these:

* Option to filter by the full file path instead of just file name. I use this to review things like `api`, `src/main` and `src/test` separately rather than go file by file alphabetically
* Option to filter out file diffs as well as the tree view (so the diffs on the right hand side always match what's in the tree). This means I can filter to e.g. `api` and then scroll through all the `api` related changes
* A button to click "viewed" on all currently visible files. I use this to register that I've reviewed all the `api` stuff after scrolling through it, rather than clicking on each individual file

I put these features as optional settings in the options page, with them disabled by default.

Happy to raise a PR but wanted to check if any of these sound useful first. If not that's totally fine, I can see why you'd want to avoid the behaviour of the extension spilling out into other areas of the screen such as the file diffs! Also, I'm going to be using this a lot for work so I'll be more than happy to help maintain it

Below is a gif to show the features together. The benefits aren't very obvious on small pull requests, but I struggled to find really large PRs in open source projects!

![Animation](https://user-images.githubusercontent.com/90266027/133892724-16efcbae-4a67-407b-a66a-25edcdbfb87a.gif)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia dalla pagina delle opzioni e dal flusso di filtraggio esistente della vista ad albero descritto nell’issue, quindi esamina la GIF per comprendere le interazioni proposte. L’issue propone il filtraggio per percorso completo, filtri corrispondenti nei diff dei file e la marcatura dei file visibili come visualizzati; conferma quali funzionalità sono richieste prima dell’implementazione, con le impostazioni opzionali disabilitate per impostazione predefinita come criteri di completamento.

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

Valutazione

Stack tecnologico
html
Ambito
frontend
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
28/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.