-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add link to Troubleshooting page to Live Preview error messages #8734
Conversation
@@ -619,7 +619,7 @@ define(function LiveDevelopment(require, exports, module) { | |||
Dialogs.showModalDialog( | |||
Dialogs.DIALOG_ID_ERROR, | |||
Strings.LIVE_DEVELOPMENT_ERROR_TITLE, | |||
Strings.LIVE_DEV_LOADING_ERROR_MESSAGE | |||
_append(Strings.LIVE_DEV_LOADING_ERROR_MESSAGE) |
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.
Small error (the reason the Travis build failed): function should be _appendTroubleshootingMessage
.
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.
@le717 Thanks! Fixed.
* @param {string} msg Original message | ||
* @return {string} Original message plus link to troubleshooting page. | ||
*/ | ||
function _appendTroubleshootingMessage(msg) { |
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.
nit: this should be named something like: _makeTroubleshootingMessage
It's not appending anything it's concatenating strings and computing a result.
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.
Done.
Ready for another review. |
LGTM. Merging |
Add link to Troubleshooting page to Live Preview error messages
This is for #7634 for Brackets Milestone 1.0
This is to append link to troubleshooting doc to live preview error message. I went ahead and added the link to all live preview error messages.
@njx I did not reword error message as called for in #7634 -- is this ok? If not, suggestions for rewording?