algairim commented on a change in pull request #206:
URL: https://github.com/apache/brooklyn-ui/pull/206#discussion_r642386043



##########
File path: 
ui-modules/blueprint-composer/app/views/main/graphical/edit/dsl/edit.dsl.controller.js
##########
@@ -131,27 +127,31 @@ export const graphicalEditDslState = {
         index: {
             value: '',
             squash: true
-        }
+        },
+        isConfig: true // This flag identifies whether DSL edit is for 
configuration or something else. Configuration is a default.

Review comment:
       This flag is not used in Brooklyn code just now, however, branding parts 
rely on it. For example, adding DSL editor menu for a non-config case:
   ```
   <a ui-sref="main.graphical.edit.dsl({entityId: model._id, for: item.name, 
isConfig: false})" class="btn btn-default" title="Open in DSL editor"><i 
class="fa fa-bolt"></i></a>
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to