We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70836de commit 3e4ab77Copy full SHA for 3e4ab77
βGithub_Reply_Comments/Github_Reply_Comments.user.jsβ
@@ -83,6 +83,15 @@
83
.querySelector(".comment-body")
84
.cloneNode(true);
85
86
+ // Skip empty PR description.
87
+ if (
88
+ commentBody
89
+ .querySelector("em")
90
+ ?.innerText.includes("No description provided.")
91
+ ) {
92
+ return "";
93
+ }
94
+
95
// Remove 'Toggle code wrap' buttons from https://greasyfork.org/en/scripts/18789-github-toggle-code-wrap
96
Array.prototype.forEach.call(
97
commentBody.querySelectorAll(".ghd-wrap-toggle"),
βGithub_Reply_Comments/README.mdβ
@@ -23,6 +23,7 @@ reply button on an comment.
23
- version **next**
24
25
- π Ignore "Reference new issue" modals when quoting.
26
+ - π Skip empty PR description.
27
28
- version **1.0.6**
29
0 commit comments