adobe/brackets — pull request #2329 by njx (2012-12-11 05:33:35+00:00)
Title: Extract About dialog from main HTML file so that we can override it easily in Edge Code

The only difference in `main-view.html` between Brackets and Edge Code is the about dialog. Since we want to move to having the differences in Edge Code be an overlay instead of a full fork, we want to localize differences as much as possible into separate minimally-sized files, so that as much is shared as possible.

Note that while I only moved the About dialog into a separate file, it would make sense to take some of the other one-off dialogs that are only used by one module and break them out similarly; there's really no reason for dialog IDs/templates for these one-off dialogs to be centralized in Dialogs.js. I was tempted to just go ahead and do that, but for some dialogs it might additionally make sense to combine them into a single dialog template a la #258.

The dialogs that seem to be true one-offs are `update-dialog` and `project-settings-dialog`; all the other dialogs seem similar enough that they probably ought to be combined somehow. If you think it's worthwhile to go ahead and break `update-dialog` and `project-settings-dialog` out as part of this pull request, let me know and I can do it easily.