harrisoncramer / harrisoncramer/gitlab.nvim

Choose whether note is resolvable

Aperta
#418 1 commento 1 reazione 0 assegnatari Vedi su GitHub
feature request
Lingua principale
Lua
Stelle
399
Fork
62
Merge medio
2g 19h
PR unite (30g)
2

Descrizione

## Feature Description

While working on #417, I've noticed that notes in `gitlab.nvim` are created as resolvable (i.e., as threads) when they are created directly with `require("gitlab").create_note()`, but as non-resolvable when they are first created as a draft note and then published. While I don't think this causes any real problems to users, it may be a little confusing why some notes need to be resolved and some not.

To match the behaviour of Gitlab online, (and if this is supported by [go-gitlab](https://github.com/xanzy/go-gitlab)) users should have the possibility of choosing whether they create a note as a non-resolvable comment or a thread. This could be implemented as another field in the note popup next to "Draft", something like "Type" with the values "Comment" and "Thread".

I've also just noticed, that Gitlab also allows creating "Internal notes". `gitlab.nvim` should probably at least show the `internal` flag on the note, ideally, also enable users to create internal notes (that could be another field in the note popup).

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia da require("gitlab").create_note() e dal popup delle note, quindi confronta le note dirette con le note in bozza pubblicate successivamente. Verifica se go-gitlab supporta la selezione tra commento e thread e l’esposizione del flag interno. Il lavoro è concluso quando il popup consente di scegliere il tipo di nota richiesto e le note risultanti corrispondono al comportamento di GitLab.

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

Valutazione

Stack tecnologico
gitlab, lua, neovim
Ambito
api, tooling
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.