Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta: Improve "New Issue" templates #7903

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Meta: Improve "New Issue" templates #7903

merged 1 commit into from
Oct 14, 2024

Conversation

fregante
Copy link
Member

@fregante fregante added the meta Related to Refined GitHub itself label Oct 14, 2024
@@ -3,3 +3,5 @@ name: 💬 Ask a question or open a discussion
about: ———
labels: under discussion
---

<!-- If you wonder why something isn't working, "report a bug" instead of using this template. -->
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can update it <button className="btn-link" type="button" onClick={openOptions as unknown as React.MouseEventHandler}>in the options</button>.
</p>
<p>Add a valid token and confirm the problem still occurs, before submitting this issue.</p>
<p>Before creating this issue, add a valid token and confirm the problem still occurs.</p>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing

Screenshot

Invalid

Screenshot

addNotice('invalid, expired or insufficient permissions');
await baseApiFetch({apiBase: 'https://api.github.com/', path: 'user', token});
} catch (error) {
if (!navigator.onLine || (error as any)?.message === 'Failed to fetch') {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #7678

@fregante fregante changed the title Improve wording when opening new issues on Refined GitHub Meta: Improve "New Issue" templates Oct 14, 2024
@fregante fregante merged commit ad7d8ce into main Oct 14, 2024
11 checks passed
@fregante fregante deleted the fetch branch October 14, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Related to Refined GitHub itself
Development

Successfully merging this pull request may close these issues.

rgh-improve-new-issue-form shows invalid token banner on bad connections
1 participant