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

Remove "automatic bug report" title #5040

Merged
merged 1 commit into from
Jun 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,16 @@ public void clearLog() {
*/
public void reportIssue() {
try {
String issueTitle = "Automatic Bug Report - " + dateFormat.format(date);
// system info
// System info
String systemInfo = String.format("JabRef %s%n%s %s %s %nJava %s", buildInfo.getVersion(), BuildInfo.OS,
BuildInfo.OS_VERSION, BuildInfo.OS_ARCH, BuildInfo.JAVA_VERSION);
// steps to reproduce
// Steps to reproduce
String howToReproduce = "Steps to reproduce:\n\n1. ...\n2. ...\n3. ...";
// log messages
// Log messages
String issueDetails = "<details>\n" + "<summary>" + "Detail information:" + "</summary>\n\n```\n"
+ getLogMessagesAsString(allMessagesData) + "\n```\n\n</details>";
clipBoardManager.setContent(issueDetails);
// bug report body
// Bug report body
String issueBody = systemInfo + "\n\n" + howToReproduce + "\n\n" + "Paste your log details here.";

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