diff --git a/README.md b/README.md index 8a1da71f1ca..cd591d7ccaa 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,10 @@ To download the latest release, [see our releases page](https://github.com/brave For a more user-friendly download page, [please visit our website](https://brave.com/downloads.html). +## Community + +[The Brave Community](https://community.brave.com/) + ## Useful documentation * See [CONTRIBUTING.md](.github/CONTRIBUTING.md) for tips and guidelines about contributing. diff --git a/app/common/commonMenu.js b/app/common/commonMenu.js index 5ce9a8e8637..f1886e2dcce 100644 --- a/app/common/commonMenu.js +++ b/app/common/commonMenu.js @@ -10,7 +10,7 @@ const Immutable = require('immutable') const locale = require('../../js/l10n') const settings = require('../../js/constants/settings') const getSetting = require('../../js/settings').getSetting -const issuesUrl = 'https://github.com/brave/browser-laptop/issues' +const communityURL = 'https://community.brave.com/' const isDarwin = process.platform === 'darwin' let electron @@ -260,7 +260,7 @@ module.exports.reportAnIssueMenuItem = () => { label: locale.translation('reportAnIssue'), click: function (item, focusedWindow) { module.exports.sendToFocusedWindow(focusedWindow, - [messages.SHORTCUT_NEW_FRAME, issuesUrl]) + [messages.SHORTCUT_NEW_FRAME, communityURL]) } } } @@ -268,8 +268,9 @@ module.exports.reportAnIssueMenuItem = () => { module.exports.submitFeedbackMenuItem = () => { return { label: locale.translation('submitFeedback'), - click: function () { - appActions.submitFeedback() + click: function (item, focusedWindow) { + module.exports.sendToFocusedWindow(focusedWindow, + [messages.SHORTCUT_NEW_FRAME, communityURL]) } } } diff --git a/app/extensions/brave/locales/en-US/preferences.properties b/app/extensions/brave/locales/en-US/preferences.properties index 75fd52628aa..37318aed38c 100644 --- a/app/extensions/brave/locales/en-US/preferences.properties +++ b/app/extensions/brave/locales/en-US/preferences.properties @@ -116,7 +116,7 @@ hintsTitle=Helpful hints hint0=The Bravery panel allows you to turn HTTPS Everywhere on or off. HTTPS Everywhere automatically changes your HTTP traffic to HTTPS for supported sites to keep you more secure. hint1=Brave will always auto-update for you, but you can check for an update on demand in the menu. hint2=The File menu allows you to create a New Session Tab. Session tabs are like any other tab but they run in a different user profile. This allows you to login to the same sites multiple times with the same browser. -sendUsFeedback=Send us feedback… +submitFeedback=Submit Feedback… loveToHear=We'd love to hear from you. startsWith=Brave starts with startsWithOptionLastTime=My windows / tabs from last time diff --git a/docs/appActions.md b/docs/appActions.md index b76ea3b97ff..9d519335333 100644 --- a/docs/appActions.md +++ b/docs/appActions.md @@ -472,12 +472,6 @@ Dispatches a message when the network is disconnected -### submitFeedback() - -Dispatches a message to submit feedback - - - ### defaultBrowserUpdated(useBrave) Dispatch a message to set default browser diff --git a/js/about/aboutActions.js b/js/about/aboutActions.js index ec94c724c4d..3dda621c60c 100644 --- a/js/about/aboutActions.js +++ b/js/about/aboutActions.js @@ -306,15 +306,6 @@ const aboutActions = { }) }, - /** - * Dispatches a message to submit feedback - */ - submitFeedback: function () { - aboutActions.dispatchAction({ - actionType: appConstants.APP_SUBMIT_FEEDBACK - }) - }, - /** * Show the "Add Bookmark" control * @param {Object} siteDetail - object bound to add/edit control diff --git a/js/about/preferences.js b/js/about/preferences.js index 8785ea31fe4..f3d61e0b5a4 100644 --- a/js/about/preferences.js +++ b/js/about/preferences.js @@ -1703,7 +1703,7 @@ class HelpfulHints extends ImmutableComponent {
- +
} diff --git a/js/actions/appActions.js b/js/actions/appActions.js index ff0f89f05d8..103ddb468cc 100644 --- a/js/actions/appActions.js +++ b/js/actions/appActions.js @@ -551,15 +551,6 @@ const appActions = { }) }, - /** - * Dispatches a message to submit feedback - */ - submitFeedback: function () { - AppDispatcher.dispatch({ - actionType: AppConstants.APP_SUBMIT_FEEDBACK - }) - }, - /** * Dispatch a message to set default browser * diff --git a/js/constants/appConstants.js b/js/constants/appConstants.js index fa2f0d35529..d72dd17cc58 100644 --- a/js/constants/appConstants.js +++ b/js/constants/appConstants.js @@ -61,7 +61,6 @@ const AppConstants = { APP_SET_MENUBAR_TEMPLATE: _, APP_UPDATE_ADBLOCK_DATAFILES: _, APP_UPDATE_ADBLOCK_CUSTOM_RULES: _, - APP_SUBMIT_FEEDBACK: _, APP_DEFAULT_BROWSER_UPDATED: _, APP_DEFAULT_BROWSER_CHECK_COMPLETE: _, APP_POPULATE_HISTORY: _, diff --git a/js/stores/appStore.js b/js/stores/appStore.js index affd9760b28..0fd2cf0f98a 100644 --- a/js/stores/appStore.js +++ b/js/stores/appStore.js @@ -30,8 +30,6 @@ const diff = require('immutablediff') const debounce = require('../lib/debounce.js') const locale = require('../../app/locale') const path = require('path') -const {channel} = require('../../app/channel') -const os = require('os') const autofill = require('../../app/autofill') // state helpers @@ -762,16 +760,6 @@ const handleAppAction = (action) => { }) return } - case AppConstants.APP_SUBMIT_FEEDBACK: - let platform = os.platform() - if (platform === 'darwin') { - platform = 'macOS' - } else if (platform === 'windows') { - platform = 'Windows' - } - const subject = encodeURIComponent(`Brave ${platform} ${os.arch()} ${app.getVersion()}${channel()} feedback`) - electron.shell.openExternal(`${appConfig.contactUrl}?subject=${subject}`) - break case AppConstants.APP_DEFAULT_BROWSER_UPDATED: if (action.useBrave) { for (const p of defaultProtocols) {