harrisoncramer / harrisoncramer/gitlab.nvim

Help popup improvements

Offen
#472 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug good first issue
Vorherrschende Sprache
Lua
Sterne
399
Forks
62
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
2

Beschreibung

## Bug Description

1. Every help popup created by `gitlab.nvim` also shows the line: `✎ = draft; 󰌸 = unlinked comment; ✓ = resolved`. This should only be shown when the help is opened from the discussion tree. This can be easily fixed by adding a parameter the the `help.open()` function, so it could be a good first issue.
2. Every help on a `gitlab.nvim` popup contains the same information: `ZA: Perform linewise action`, `ZZ: Perform action`. This is not very helpful as the actions can be very different depending on the given popup/field. This information can be found in the plugin's help page, but a more informative info in the help popup would certainly be useful. This would require more work on the [set_popup_keymaps](https://github.com/harrisoncramer/gitlab.nvim/blob/a893f61bfc496e2468bdb1f9cc674e1b5c2e542b/lua/gitlab/popup.lua#L74) function.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, help.open() nachzuverfolgen, um zu sehen, wie der Hilfeinhalt zusammengestellt wird und wo der Kontext des Diskussionsbaums verfügbar ist. Untersuche dann set_popup_keymaps in lua/gitlab/popup.lua und die zugehörigen Popup-Aufrufer. Erledigt ist die Aufgabe, wenn der nur für Diskussionen relevante Statustext bedingt angezeigt wird und die Popup-Hilfe die relevanten Aktionen erklärt, anstatt den generischen ZA/ZZ-Text zu wiederholen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
lua
Bereich
devtools
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

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