Skip to content

Commit 65a7cd3

Browse files
tobiasdiezSiedlerchr
authored andcommitted
Remove "automatic bug report" title (#5040)
Right now users often forget to change the title to something reasonable.
1 parent b3993fd commit 65a7cd3

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/main/java/org/jabref/gui/errorconsole/ErrorConsoleViewModel.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,16 @@ public void clearLog() {
9191
*/
9292
public void reportIssue() {
9393
try {
94-
String issueTitle = "Automatic Bug Report - " + dateFormat.format(date);
95-
// system info
94+
// System info
9695
String systemInfo = String.format("JabRef %s%n%s %s %s %nJava %s", buildInfo.getVersion(), BuildInfo.OS,
9796
BuildInfo.OS_VERSION, BuildInfo.OS_ARCH, BuildInfo.JAVA_VERSION);
98-
// steps to reproduce
97+
// Steps to reproduce
9998
String howToReproduce = "Steps to reproduce:\n\n1. ...\n2. ...\n3. ...";
100-
// log messages
99+
// Log messages
101100
String issueDetails = "<details>\n" + "<summary>" + "Detail information:" + "</summary>\n\n```\n"
102101
+ getLogMessagesAsString(allMessagesData) + "\n```\n\n</details>";
103102
clipBoardManager.setContent(issueDetails);
104-
// bug report body
103+
// Bug report body
105104
String issueBody = systemInfo + "\n\n" + howToReproduce + "\n\n" + "Paste your log details here.";
106105

107106
dialogService.notify(Localization.lang("Issue on GitHub successfully reported."));
@@ -114,7 +113,6 @@ public void reportIssue() {
114113
URIBuilder uriBuilder = new URIBuilder()
115114
.setScheme("https").setHost("github.com")
116115
.setPath("/JabRef/jabref/issues/new")
117-
.setParameter("title", issueTitle)
118116
.setParameter("body", issueBody);
119117
JabRefDesktop.openBrowser(uriBuilder.build().toString());
120118
} catch (IOException | URISyntaxException e) {

0 commit comments

Comments
 (0)