Discourse Community integration (#2263)

* Discourse Community integration
+ Replace all Zendesk links with equivalent Discourse links.
+ 'Mailspring Help' menu option now points to /docs on Discourse.
+ Add 'Mailspring Community' to menu.
+ Remove old FAQ (same as new Mailspring Help).

* Update Quick Start Guide link to better URL
This commit is contained in:
Jason C. McDonald 2021-03-26 08:26:10 -07:00 committed by GitHub
parent d5aa3095ba
commit 5ce665d4ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 31 additions and 33 deletions

View file

@ -98,10 +98,9 @@ modify and extend. Mailspring comes stock with a few beautiful themes, and
there are many more which have been built by community developers. To start
creating a theme, [clone the theme starter](https://github.com/Foundry376/Mailspring-Theme-Starter)!
If you are updating an existing Nylas theme for Mailspring here is a [step by
step tutorial](https://foundry376.zendesk.com/hc/en-us/articles/115001918391-How-do-I-update-an-N1-Nylas-Mail-theme-for-Mailspring-).
Notice: as part of the update process you will probably need to [import
mailspring base variables](https://github.com/Foundry376/Mailspring/issues/326#issuecomment-343757775).
If you are updating an existing Nylas theme for Mailspring here is a
[step by step tutorial](https://community.getmailspring.com/t/updating-an-n1-nylas-mail-theme-for-mailspring/195).
Notice: as part of the update process you will probably need to [import mailspring base variables](https://github.com/Foundry376/Mailspring/issues/326#issuecomment-343757775).
You can share and browse Mailspring Themes, and discuss theme development with other developers, on our [Discourse](https://community.getmailspring.com/).

View file

@ -12,7 +12,9 @@ interface ITemplate {
path: string;
name: string;
}
const { Conversion: { convertFromHTML, convertToHTML } } = ComposerSupport;
const {
Conversion: { convertFromHTML, convertToHTML },
} = ComposerSupport;
interface TemplateEditorProps {
template: ITemplate;
@ -82,7 +84,7 @@ class TemplateEditor extends React.Component<
<div className="section note">
{localizedReactFragment(
'Changes are saved automatically. View the %@ for tips and tricks.',
<a href="https://foundry376.zendesk.com/hc/en-us/articles/115001875231-Using-quick-reply-templates">
<a href="https://community.getmailspring.com/t/reply-faster-with-email-templates/167">
{localized('Templates Guide')}
</a>
)}

View file

@ -48,8 +48,7 @@ class RefreshButton extends React.Component<{}, { refreshing: boolean }> {
const ProTourFeatures = [
{
link:
'https://foundry376.zendesk.com/hc/en-us/articles/115003340291--Add-reminders-to-sent-messages',
link: 'https://community.getmailspring.com/t/add-reminders-to-sent-messages/157',
icon: `icon-composer-reminders.png`,
title: localized(`Follow-up reminders`),
text: localized(
@ -57,8 +56,7 @@ const ProTourFeatures = [
),
},
{
link:
'https://foundry376.zendesk.com/hc/en-us/articles/115001881272--View-contact-and-company-profiles',
link: 'https://community.getmailspring.com/t/view-contact-and-company-profiles/159',
icon: `toolbar-person-sidebar.png`,
title: localized(`Rich contact profiles`),
text: localized(
@ -67,7 +65,7 @@ const ProTourFeatures = [
},
{
link:
'https://foundry376.zendesk.com/hc/en-us/articles/115001875431--Enable-read-receipts-link-tracking-and-notifications',
'https://community.getmailspring.com/t/read-receipts-link-tracking-and-activity-reports/162',
icon: `icon-composer-eye.png`,
title: localized(`Read Receipts`),
text: localized(
@ -75,8 +73,7 @@ const ProTourFeatures = [
),
},
{
link:
'https://foundry376.zendesk.com/hc/en-us/articles/115001875231--Reply-faster-with-email-templates',
link: 'https://community.getmailspring.com/t/reply-faster-with-email-templates/167',
icon: `toolbar-templates.png`,
title: localized(`Mail Templates`),
text: localized(
@ -85,7 +82,7 @@ const ProTourFeatures = [
},
{
link:
'https://foundry376.zendesk.com/hc/en-us/articles/115001875431--Enable-read-receipts-link-tracking-and-notifications',
'https://community.getmailspring.com/t/read-receipts-link-tracking-and-activity-reports/162',
icon: `icon-composer-linktracking.png`,
title: localized(`Link tracking`),
text: localized(
@ -93,8 +90,7 @@ const ProTourFeatures = [
),
},
{
link:
'https://foundry376.zendesk.com/hc/en-us/articles/115001882012--Schedule-messages-to-send-later',
link: 'https://community.getmailspring.com/t/schedule-messages-to-send-later/158',
icon: `icon-composer-sendlater.png`,
title: localized(`Send Later`),
text: localized(
@ -102,8 +98,7 @@ const ProTourFeatures = [
),
},
{
link:
'https://foundry376.zendesk.com/hc/en-us/articles/115001881272--View-contact-and-company-profiles',
link: 'https://community.getmailspring.com/t/view-contact-and-company-profiles/159',
icon: `icon-composer-reminders.png`,
title: localized(`Company overviews`),
text: localized(
@ -111,8 +106,7 @@ const ProTourFeatures = [
),
},
{
link:
'https://foundry376.zendesk.com/hc/en-us/articles/115001881232--Snooze-emails-to-handle-them-later',
link: 'https://community.getmailspring.com/t/snooze-emails-to-handle-them-later/161',
icon: `toolbar-snooze.png`,
title: localized(`Snooze messages`),
text: localized(
@ -120,7 +114,8 @@ const ProTourFeatures = [
),
},
{
link: 'https://foundry376.zendesk.com/hc/en-us/articles/115002507891-Activity-Reports-In-Depth',
link:
'https://community.getmailspring.com/t/read-receipts-link-tracking-and-activity-reports/162',
icon: `icon-toolbar-activity.png`,
title: localized(`Mailbox insights`),
text: localized(
@ -128,7 +123,7 @@ const ProTourFeatures = [
),
},
{
link: 'https://foundry376.zendesk.com/hc/en-us/articles/360031102452',
link: 'https://community.getmailspring.com/t/automatically-translate-incoming-email/166',
icon: `pro-feature-translation.png`,
title: localized(`Automatic Translation`),
text: localized(
@ -319,7 +314,7 @@ class PreferencesIdentity extends React.Component<{}, { identity: IIdentity }> {
<strong
style={{ textTransform: 'capitalize' }}
>{`Mailspring ${planDisplayName}`}</strong>,
<a href="https://foundry376.zendesk.com/hc/en-us/sections/115000521592-Getting-Started">
<a href="https://community.getmailspring.com/docs?topic=241">
{localized(`Help Center`)}
</a>
)}

View file

@ -55,7 +55,9 @@ class DefaultMailClientItem extends React.Component<{}, DefaultMailClientItemSta
style={{ marginBottom: 12 }}
className="btn btn-small"
onClick={() =>
shell.openExternal('https://foundry376.zendesk.com/hc/en-us/articles/115002281851')
shell.openExternal(
'https://community.getmailspring.com/t/choose-mailspring-as-the-default-mail-client-on-linux/191'
)
}
>
{localized('Use Mailspring as default mail client')}

View file

@ -18,7 +18,7 @@ export const TokenAndTermRegexp = () =>
/(^|\s)(i[ns]?|s[iu]?[nb]?[cj]?e?c?t?|fr?o?m?|to?|ha?s?|be?f?o?r?e?|af?t?e?r?)(?::? ?$|: ?("[^"]*"?|[^\s]+))/gi;
export const LearnMoreURL =
'https://foundry376.zendesk.com/hc/en-us/articles/115002212931-Search-with-advanced-Gmail-style-queries';
'https://community.getmailspring.com/t/search-with-advanced-gmail-style-queries/153';
export const rankOfRole = role => {
const rank = ['inbox', 'important', 'snoozed', 'sent', 'all', 'spam', 'trash'].indexOf(role);

View file

@ -144,7 +144,7 @@ export default class ThreadSharingPopover extends React.Component<
</label>
)}
<div className="meta">
<a href="https://foundry376.zendesk.com/hc/en-us/articles/360002360771">
<a href="https://community.getmailspring.com/t/share-email-conversations-with-shareable-links/165">
{localized('Learn More')}
</a>
</div>

View file

@ -268,7 +268,7 @@ module.exports = {
{ label: localized('Mailspring Help'), command: 'application:view-help' },
{ type: 'separator' },
{ label: localized('Getting Started Guide'), command: 'application:view-getting-started' },
{ label: localized('Frequently Asked Questions'), command: 'application:view-faq' },
{ label: localized('Mailspring Community'), command: 'application:view-community' },
],
},
],

View file

@ -234,7 +234,7 @@ module.exports = {
{ label: localized('Mailspring Help'), command: 'application:view-help' },
{ type: 'separator' },
{ label: localized('Getting Started Guide'), command: 'application:view-getting-started' },
{ label: localized('Frequently Asked Questions'), command: 'application:view-faq' },
{ label: localized('Mailspring Community'), command: 'application:view-community' },
{ type: 'separator' },
{ label: localized('View License'), command: 'application:view-license' },
],

View file

@ -212,7 +212,7 @@ module.exports = {
label: localized('Getting Started Guide') + '...',
command: 'application:view-getting-started',
},
{ label: localized('Frequently Asked Questions') + '...', command: 'application:view-faq' },
{ label: localized('Mailspring Community') + '...', command: 'application:view-community' },
{ type: 'separator' },
{ label: localized('Sync New Mail Now'), command: 'window:sync-mail-now' },
{ type: 'separator' },

View file

@ -394,19 +394,19 @@ export default class Application extends EventEmitter {
});
this.on('application:view-help', () => {
const helpUrl = 'http://support.getmailspring.com/hc/en-us';
const helpUrl = 'https://community.getmailspring.com/docs';
shell.openExternal(helpUrl);
});
this.on('application:view-getting-started', () => {
const helpUrl =
'https://foundry376.zendesk.com/hc/en-us/sections/115000521592-Getting-Started';
'https://community.getmailspring.com/pub/quick-start-guide';
shell.openExternal(helpUrl);
});
this.on('application:view-faq', () => {
this.on('application:view-community', () => {
const helpUrl =
'https://foundry376.zendesk.com/hc/en-us/sections/115000521892-Frequently-Asked-Questions';
'https://community.getmailspring.com/';
shell.openExternal(helpUrl);
});