refined-github/refined-github

`close-as-unplanned` broken on new issue UI

Open

Aperta il 25 apr 2026

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)TypeScript (22.918 star) (1423 fork)batch import
bughelp wanted

Descrizione

Context: https://github.com/refined-github/refined-github/issues/7856

[we might] have to use the UI on behalf of the user because we no longer have the good ol' form element 😒

For example in https://github.com/refined-github/refined-github/pull/7893 this meant opening the dropdown menu and simulating a click on the Edit item.

Here I'd expect the dropdown arrow to be hidden and a new custom button to be added. When the button is clicked, we show the arrow, open it, click "close as not planned", then click the new "close" button.

I wonder if it's just easier to do it via API and call triggerConversationUpdate (which is also likely broken on the new issue view), but I think that as long as every part here is selectable, it's actually not too difficult:

https://github.com/refined-github/refined-github/blob/60217e812c4bac4707d1f1b6caea6fd10a0d672e/source/features/quick-comment-edit.tsx#L25-L33

Test URL

This page

Guida contributor