thingsboard-memoizeit

Details

diff --git a/ui/src/app/common/types.constant.js b/ui/src/app/common/types.constant.js
index 4dd961a..8026115 100644
--- a/ui/src/app/common/types.constant.js
+++ b/ui/src/app/common/types.constant.js
@@ -464,7 +464,7 @@ export default angular.module('thingsboard.types', [])
                 clazz: 'tb.internal.RuleChain',
                 configurationDescriptor: {
                     nodeDefinition: {
-                        description: "Forwards incoming messages to specified Rule Chain",
+                        description: "",
                         details: "Forwards incoming messages to specified Rule Chain",
                         inEnabled: true,
                         outEnabled: false,
@@ -483,30 +483,35 @@ export default angular.module('thingsboard.types', [])
                 FILTER: {
                     value: "FILTER",
                     name: "rulenode.type-filter",
+                    details: "rulenode.type-filter-details",
                     nodeClass: "tb-filter-type",
                     icon: "filter_list"
                 },
                 ENRICHMENT: {
                     value: "ENRICHMENT",
                     name: "rulenode.type-enrichment",
+                    details: "rulenode.type-enrichment-details",
                     nodeClass: "tb-enrichment-type",
                     icon: "playlist_add"
                 },
                 TRANSFORMATION: {
                     value: "TRANSFORMATION",
                     name: "rulenode.type-transformation",
+                    details: "rulenode.type-transformation-details",
                     nodeClass: "tb-transformation-type",
                     icon: "transform"
                 },
                 ACTION: {
                     value: "ACTION",
                     name: "rulenode.type-action",
+                    details: "rulenode.type-action-details",
                     nodeClass: "tb-action-type",
                     icon: "flash_on"
                 },
                 RULE_CHAIN: {
                     value: "RULE_CHAIN",
                     name: "rulenode.type-rule-chain",
+                    details: "rulenode.type-rule-chain-details",
                     nodeClass: "tb-rule-chain-type",
                     icon: "settings_ethernet"
                 },
diff --git a/ui/src/app/locale/locale.constant.js b/ui/src/app/locale/locale.constant.js
index 18c9330..360c828 100644
--- a/ui/src/app/locale/locale.constant.js
+++ b/ui/src/app/locale/locale.constant.js
@@ -1186,10 +1186,15 @@ export default angular.module('thingsboard.locale', [])
                     "custom-link-label": "Custom link label",
                     "custom-link-label-required": "Custom link label is required.",
                     "type-filter": "Filter",
+                    "type-filter-details": "Filter incoming messages with configured conditions",
                     "type-enrichment": "Enrichment",
+                    "type-enrichment-details": "Add additional information into Message Metadata",
                     "type-transformation": "Transformation",
+                    "type-transformation-details": "Change Message payload and Metadata",
                     "type-action": "Action",
-                    "type-rule-chain": "Rule Chain"
+                    "type-action-details": "Perform special action",
+                    "type-rule-chain": "Rule Chain",
+                    "type-rule-chain-details": "Forwards incoming messages to specified Rule Chain"
                 },
                 "rule-plugin": {
                     "management": "Rules and plugins management"
diff --git a/ui/src/app/rulechain/rulechain.controller.js b/ui/src/app/rulechain/rulechain.controller.js
index 973618d..d9bbf2f 100644
--- a/ui/src/app/rulechain/rulechain.controller.js
+++ b/ui/src/app/rulechain/rulechain.controller.js
@@ -34,7 +34,8 @@ const aKeyCode = 65;
 const escKeyCode = 27;
 
 /*@ngInject*/
-export function RuleChainController($stateParams, $scope, $compile, $q, $mdUtil, $timeout, $mdExpansionPanel, $document, $mdDialog, $filter, types, ruleChainService, Modelfactory, flowchartConstants, ruleChain, ruleChainMetaData) {
+export function RuleChainController($stateParams, $scope, $compile, $q, $mdUtil, $timeout, $mdExpansionPanel, $document, $mdDialog,
+                                    $filter, $translate, types, ruleChainService, Modelfactory, flowchartConstants, ruleChain, ruleChainMetaData) {
 
     var vm = this;
 
@@ -155,11 +156,12 @@ export function RuleChainController($stateParams, $scope, $compile, $q, $mdUtil,
     };
 
     vm.typeHeaderMouseEnter = function(event, typeId) {
+        var ruleNodeType = types.ruleNodeType[typeId];
         displayTooltip(event,
             '<div class="tb-rule-node-tooltip">' +
             '<div id="tooltip-content" layout="column">' +
-            '<div class="tb-node-title">' + typeId + '</div>' +
-            '<div class="tb-node-description">' + 'Some description of component type' + '</div>' +
+            '<div class="tb-node-title">' + $translate.instant(ruleNodeType.name) + '</div>' +
+            '<div class="tb-node-details">' + $translate.instant(ruleNodeType.details) + '</div>' +
             '</div>' +
             '</div>'
         );