diff --git a/ui/src/app/common/types.constant.js b/ui/src/app/common/types.constant.js index 7f85f6adac..cf1023eb4e 100644 --- a/ui/src/app/common/types.constant.js +++ b/ui/src/app/common/types.constant.js @@ -560,6 +560,8 @@ export default angular.module('thingsboard.types', []) }, INPUT: { value: "INPUT", + name: "rulenode.type-input", + details: "rulenode.type-input-details", nodeClass: "tb-input-type", icon: "input", special: true diff --git a/ui/src/app/locale/locale.constant.js b/ui/src/app/locale/locale.constant.js index b3dec38af8..d1b8db0e5f 100644 --- a/ui/src/app/locale/locale.constant.js +++ b/ui/src/app/locale/locale.constant.js @@ -1268,6 +1268,8 @@ export default angular.module('thingsboard.locale', []) "type-external-details": "Interacts with external system", "type-rule-chain": "Rule Chain", "type-rule-chain-details": "Forwards incoming messages to specified Rule Chain", + "type-input": "Input", + "type-input-details": "Logical input of Rule Chain, forwards incoming messages to next related Rule Node", "directive-is-not-loaded": "Defined configuration directive '{{directiveName}}' is not available.", "ui-resources-load-error": "Failed to load configuration ui resources.", "invalid-target-rulechain": "Unable to resolve target rule chain!", diff --git a/ui/src/app/rulechain/rulechain.controller.js b/ui/src/app/rulechain/rulechain.controller.js index 875bc5d59f..d15cf7467a 100644 --- a/ui/src/app/rulechain/rulechain.controller.js +++ b/ui/src/app/rulechain/rulechain.controller.js @@ -448,7 +448,7 @@ export function RuleChainController($state, $scope, $compile, $q, $mdUtil, $time vm.nodeLibCallbacks = { nodeCallbacks: { 'mouseEnter': function (event, node) { - displayNodeDescriptionTooltip(event, node); + displayLibNodeDescriptionTooltip(event, node); }, 'mouseLeave': function () { destroyTooltips(); @@ -462,8 +462,8 @@ export function RuleChainController($state, $scope, $compile, $q, $mdUtil, $time vm.typeHeaderMouseEnter = function(event, typeId) { var ruleNodeType = types.ruleNodeType[typeId]; displayTooltip(event, - '