Skip to content

Commit

Permalink
fix #31: Extension rebranding
Browse files Browse the repository at this point in the history
* changed logo
* renamed extension to "AEM Brackets Extension"
* changed top-level menu to "AEM"
  • Loading branch information
raducotescu committed Dec 8, 2014
1 parent ea223f9 commit 500074a
Show file tree
Hide file tree
Showing 7 changed files with 152 additions and 59 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name" : "aem-sightly-brackets-extension",
"title" : "AEM Sightly Brackets Extension",
"description" : "Sightly is the new HTML templating system introduced with Adobe Experience Manager 6.0. The AEM Sightly Brackets Extension provides a smoother development workflow for writing AEM components, adding support for syntax-highlighting, code-completion, bi-directional synchronisation and more.",
"description" : "The AEM Brackets Extension provides a smooth and easy development workflow for front-end developers to edit AEM components. Its main features are: automatic synchronisation of changed project files to your AEM instance; manual importing of content from the AEM instance to the project; Sightly syntax-highlighting and auto-completion; easy editing of associated client libraries (CSS, JavaScript).",
"version" : "0.0.11-dev",
"engines" : {
"brackets": ">=0.38.0"
},
"author" : "Adobe Marketing Cloud (https://github.com/raducotescu)",
"homepage" : "https://github.com/adobe-marketing-cloud/aem-sightly-brackets-extension",
"author" : "Adobe Marketing Cloud (https://github.com/adobe-marketing-cloud)",
"homepage" : "http://docs.adobe.com/docs/en/dev-tools/sightly-brackets.html",
"repository" : "https://github.com/adobe-marketing-cloud/aem-sightly-brackets-extension.git",
"license" : "MIT License",
"keywords" : ["aem", "sightly", "templating"],
"license" : "Apache License 2.0",
"keywords": ["Adobe", "Adobe Experience Manager", "AEM", "Sightly", "sly"],
"categories": ["editing", "language", "external"],
"i18n" : ["en", "ro", "en-gb"],
"dependencies" : {
Expand Down
4 changes: 2 additions & 2 deletions sly/menu/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ define(function (require, exports, module) {
KeyBindingManager = brackets.getModule('command/KeyBindingManager');

function load(SLYDictionary) {
var appMenu = Menus.addMenu('Sightly', 'adobe.brackets.sly', Menus.BEFORE, Menus.AppMenuBar.HELP_MENU);
var appMenu = Menus.addMenu('AEM', 'sly.adobe.main', Menus.BEFORE, Menus.AppMenuBar.HELP_MENU);
var openProjectPreferencesCommand = CommandManager.register(
Commands.MENU.projectPreferences.name,
Commands.MENU.projectPreferences.id,
Expand All @@ -47,4 +47,4 @@ define(function (require, exports, module) {
}

exports.load = load;
});
});
2 changes: 1 addition & 1 deletion sly/styles/sly.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

#sly-status-aem {
background-image: url('../toolbar/brackets_sightly_icons.svg');
background-image: url('../toolbar/brackets_aem_icons.svg');
}

#sly-status-aem.sly-status-inactive {
Expand Down
5 changes: 1 addition & 4 deletions sly/toolbar/ToolBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ define(function (require, exports, module) {
AEM_INDICATOR = 'sly-status-aem',
DISABLED_TOOLBAR_BUTTON_CLASS = 'disabled-toolbar-button',
states = {},
statusIconPath = require.toUrl('./brackets_sightly_icons.svg'),
$slySyncStatus;

states.INACTIVE = {title: Strings.AEM_SLY_EXTENSION, style: 'sly-status-inactive'};
Expand All @@ -27,19 +26,17 @@ define(function (require, exports, module) {

function load() {
var templateVars = {
icon: statusIconPath,
title: Strings.AEM_SLY_EXTENSION
};
$slySyncStatus = $(Mustache.render(ToolBarIndicatorTemplate, templateVars));
$slySyncStatus.addClass(DISABLED_TOOLBAR_BUTTON_CLASS).addClass(states.INACTIVE.style);
$slySyncStatus.appendTo('#main-toolbar div.bottom-buttons');
$slySyncStatus.appendTo('#main-toolbar div.buttons');
}

function updateStatusIndicator(show, state, title, errorMessage) {
if (show === true) {
if (state) {
var templateVars = {
icon : statusIconPath,
title: title || state.title
};
var template = Mustache.render(ToolBarIndicatorTemplate, templateVars);
Expand Down
142 changes: 142 additions & 0 deletions sly/toolbar/brackets_aem_icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 500074a

Please sign in to comment.