Bypass the new issue modal on Refined GitHub repositories - #9968
Conversation
|
This looks like an AI-generated PR, so we're preemptively closing it. If you're human and tested it, include a screenshot/video/gif of the working PR and we can reopen the PR. Don't open more PRs until this one is resolved. |
|
The code looks good. If you tested this please include a screencast or gif of this working. You can use LICEcap for example. Untested PRs are not entertained. |
|
I'm the human author and have now tested this locally on macOS with the unpacked extension built from this branch. The screencast added to the PR description shows that a normal click on the global New issue action bypasses GitHub's repository picker modal and opens the full-page template chooser. It then opens the bug-report form, where The automated test also covers both current selectors and preserves modifier-key/middle-click behavior. Could you please reopen the PR? |
Closes #9954
What changed
/issues/new/chooseso the full-page issue form and its Refined GitHub helpers can run.Why
GitHub's repository-and-template picker modal prevents
rgh-improve-new-issue-formhelpers from running. This keeps the behavior scoped to the Refined GitHub repository and leaves other repositories unchanged.Validation
npm test: 567 passed, 28 skipped.npm run format:checkpassed.Test URLs
Screencast
A normal click on the global New issue action now bypasses GitHub's repository picker modal and opens
/issues/new/choosedirectly, allowingrgh-improve-new-issue-formto run.The screencast also shows the helper converting the cache-refresh link into a button, auto-filling the local development version, and checking the configured-token confirmation.
Booger poem
A booger blocked the modal's way,
One plain click swept the goo away.