-
-
Notifications
You must be signed in to change notification settings - Fork 96
New links in "Help" menu for issues and forum #1210
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
Changes from 4 commits
3d79fc0
9a96dd6
f4d8557
37db555
c1a3cec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,9 @@ | |
import java.util.zip.ZipEntry; | ||
import java.util.zip.ZipOutputStream; | ||
|
||
import java.net.URI; | ||
import java.net.URISyntaxException; | ||
|
||
import javax.swing.*; | ||
import javax.swing.event.*; | ||
import javax.swing.text.BadLocationException; | ||
|
@@ -327,6 +330,18 @@ public JMenu buildHelpMenu() { | |
|
||
menu.addSeparator(); | ||
|
||
// Report a bug link opener | ||
item = new JMenuItem(Language.text("menu.help.report")); | ||
item.addActionListener(e -> Platform.openURL(Language.text("menu.help.report.url"))); | ||
menu.add(item); | ||
|
||
// Ask on the Forum link opener | ||
item = new JMenuItem(Language.text("menu.help.ask")); | ||
item.addActionListener(e -> Platform.openURL(Language.text("menu.help.getting_started.url"))); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hey @lassevonpfeil. I just caught while testing: the URL here should have been There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @lassevonpfeil just checking in. Would you be able to confirm whether or not you'll be able to make this small PR? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi, sorry for the delay. Of course, will work on it asap. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No problem at all! Just wanted to check in. Thank you so much, @lassevonpfeil :) |
||
menu.add(item); | ||
|
||
menu.addSeparator(); | ||
|
||
final JMenu libRefSubmenu = new JMenu(Language.text("menu.help.libraries_reference")); | ||
|
||
// Adding this in case references are included in a core library, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these necessary anymore? If not please remove, and then this is ready to be approved! 🎉