Skip to content

rgh-improve-new-issue-form - show open issues #9583

@fregante

Description

@fregante

Description

Let's load the entire information widget from rgh-feature-descriptions. This will make it easier to also look at the feature's screenshot and all the meta info (whether it's hot-disabled, etc)

Example URLs

This URL is generated by

const newIssueUrl = new URL('https://github.com/refined-github/refined-github/issues/new');
newIssueUrl.searchParams.set('template', '1_bug_report.yml');
newIssueUrl.searchParams.set('title', id ? `\`${id}\`: ${message}` : message);
newIssueUrl.searchParams.set('repro', location.href);
newIssueUrl.searchParams.set(
'description',
[
'```',
String(error instanceof Error ? error.stack! : error).trim(),
'```',
].join('\n'),
);

or

const newIssueUrl = new URL('https://github.com/refined-github/refined-github/issues/new');
newIssueUrl.searchParams.set('template', '1_bug_report.yml');
newIssueUrl.searchParams.set('title', `\`${id}\` `);
newIssueUrl.searchParams.set('labels', 'bug, help wanted');

https://github.com/refined-github/refined-github/issues/new?template=1_bug_report.yml&title=%60open-all-notifications%60%3A+Expected+elements+not+found%3A+.notification-unread&repro=https%3A%2F%2Fgithub.com%2Fnotifications&description=%60%60%60%0AElementNotFoundError%3A+Expected+elements+not+found%3A+.notification-unread%0A++++at+%24%24+%28chrome-extension%3A%2F%2Fjialghbnladbdlhaibaoejjlnihkmemc%2Fassets%2Fnpm%2Fselect-dom.js%3A66%3A11%29%0A++++at+getUnreadNotifications+%28chrome-extension%3A%2F%2Fjialghbnladbdlhaibaoejjlnihkmemc%2Fassets%2Ffeatures%2Fopen-all-notifications.js%3A23%3A9%29%0A++++at+addToMainHeader+%28chrome-extension%3A%2F%2Fjialghbnladbdlhaibaoejjlnihkmemc%2Fassets%2Ffeatures%2Fopen-all-notifications.js%3A113%3A6%29%0A++++at+globalThis.addEventListener.signal.signal+%28chrome-extension%3A%2F%2Fjialghbnladbdlhaibaoejjlnihkmemc%2Fassets%2Fhelpers%2Fselector-observer.js%3A99%3A3%29%0A%60%60%60

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions