Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Add link to Troubleshooting page to Live Preview error messages #8734

Merged
merged 4 commits into from
Sep 16, 2014

Conversation

redmunds
Copy link
Contributor

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?

@@ -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)
Copy link
Contributor

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.

Copy link
Contributor Author

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) {
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@redmunds
Copy link
Contributor Author

Ready for another review.

@JeffryBooher JeffryBooher self-assigned this Sep 16, 2014
@JeffryBooher
Copy link
Contributor

LGTM. Merging

JeffryBooher added a commit that referenced this pull request Sep 16, 2014
Add link to Troubleshooting page to Live Preview error messages
@JeffryBooher JeffryBooher merged commit 130aa8d into master Sep 16, 2014
@redmunds redmunds deleted the randy/issue-7634 branch December 5, 2014 19:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants