Skip to content

Conversation

AngeloStavrow
Copy link
Collaborator

@AngeloStavrow AngeloStavrow commented Dec 3, 2020

Closes #38.

This PR adds a "Visit Support Forum" item to the bottom of the Help menu as shown in the screenshot below. Clicking it will open the link to forum's Help category in the user's default browser.

Screen capture of a Mac desktop showing the WriteFreely Help menu opened and Visit Support Forum entry selected

I added conditional logic to the button's action since CommandGroup is supported in both macOS and iOS; so we'll use the right API/framework to open the link depending on the platform.

@AngeloStavrow AngeloStavrow added the mac Anything specific to the Mac app label Dec 3, 2020
@AngeloStavrow AngeloStavrow added this to the 1.0 milestone Dec 3, 2020
@AngeloStavrow AngeloStavrow requested a review from thebaer December 3, 2020 13:27
@AngeloStavrow AngeloStavrow self-assigned this Dec 3, 2020
Copy link
Member

@thebaer thebaer left a comment

Choose a reason for hiding this comment

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

Simple enough. Looks good!

@AngeloStavrow AngeloStavrow merged commit 30ec158 into main Dec 3, 2020
@AngeloStavrow AngeloStavrow deleted the add-a-support-link-to-the-help-menu branch December 3, 2020 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mac Anything specific to the Mac app
Development

Successfully merging this pull request may close these issues.

Add a support link to the Help menu
2 participants