From d9dc283406f058add4279de1644e1421db9ce9e1 Mon Sep 17 00:00:00 2001 From: Matt Gilman Date: Wed, 24 Apr 2024 21:38:23 -0400 Subject: [PATCH] NIFI-13092: Adding info icons to configuration dialogs (#8696) * NIFI-13092: - Refactoring TextToolTip input to be a string. * NIFI-13092: - Migrating existing info tooltips to use the NiFi tooltip and fa-info-circle icon. * NIFI-13092: - Adding info icons to configuration dialogs where necessary. * NIFI-13092: - Aligning Run Schedule form label between Reporting Tasks and Processors. * NIFI-13092: - Removing primary color from info icons outside of those that appear in tables. * NIFI-13092: - Addressing review feedback. This closes #8696 --- .../component-access-policies.component.html | 2 +- .../component-access-policies.component.ts | 9 +- .../global-access-policies.component.html | 4 +- .../global-access-policies.component.ts | 15 +-- .../create-connection.component.html | 4 +- .../create-connection.component.ts | 9 +- .../destination-process-group.component.html | 2 +- .../destination-process-group.component.ts | 9 +- ...nation-remote-process-group.component.html | 2 +- ...tination-remote-process-group.component.ts | 9 +- .../edit-connection.component.html | 60 +++++++++-- .../edit-connection.component.ts | 11 +- .../prioritizers/prioritizers.component.html | 24 ++++- .../prioritizers/prioritizers.component.ts | 9 +- .../source-process-group.component.html | 2 +- .../source-process-group.component.ts | 9 +- ...source-remote-process-group.component.html | 2 +- .../source-remote-process-group.component.ts | 9 +- .../import-from-registry.component.html | 11 +- .../import-from-registry.component.ts | 8 -- .../save-version-dialog.component.html | 4 +- .../save-version-dialog.component.ts | 8 +- .../create-port/create-port.component.html | 15 ++- .../port/create-port/create-port.component.ts | 13 +-- .../port/edit-port/edit-port.component.html | 18 +++- .../port/edit-port/edit-port.component.ts | 7 +- .../create-process-group.component.html | 2 +- .../create-process-group.component.ts | 9 +- .../edit-process-group.component.html | 49 +++++++-- .../edit-process-group.component.ts | 9 +- .../group-components.component.html | 2 +- .../group-components.component.ts | 9 +- .../edit-processor.component.html | 76 +++++++++++-- .../edit-processor.component.ts | 10 +- .../relationship-settings.component.html | 50 ++++----- ...create-remote-process-group.component.html | 101 +++++++++++++----- .../create-remote-process-group.component.ts | 19 ++-- .../edit-remote-process-group.component.html | 83 ++++++++++++-- .../edit-remote-process-group.component.ts | 4 +- .../edit-remote-port.component.html | 36 ++++++- .../edit-remote-port.component.ts | 7 +- .../manage-remote-ports.component.html | 4 +- .../manage-remote-ports.component.ts | 14 +-- .../edit-parameter-context.component.html | 18 +++- .../edit-parameter-context.component.ts | 7 +- ...rameter-context-inheritance.component.html | 24 ++++- ...parameter-context-inheritance.component.ts | 8 +- .../parameter-table.component.html | 17 ++- .../parameter-table.component.ts | 14 +-- .../provenance-search-dialog.component.html | 46 ++++++-- .../edit-flow-analysis-rule.component.html | 11 +- .../edit-flow-analysis-rule.component.ts | 10 +- .../flow-analysis-rule-table.component.html | 2 +- .../flow-analysis-rule-table.component.ts | 8 +- .../general-form/general-form.component.html | 9 +- .../general-form/general-form.component.ts | 3 + .../settings/ui/general/general.module.ts | 4 +- .../edit-parameter-provider.component.html | 9 +- .../edit-parameter-provider.component.ts | 7 +- ...rameter-provider-parameters.component.html | 54 ++++++---- .../create-registry-client.component.html | 2 +- .../create-registry-client.component.ts | 9 +- .../edit-reporting-task.component.html | 20 +++- .../edit-reporting-task.component.ts | 10 +- .../reporting-task-table.component.html | 2 +- .../reporting-task-table.component.ts | 8 +- .../main/nifi/src/app/state/shared/index.ts | 4 - .../controller-service-table.component.html | 2 +- .../controller-service-table.component.ts | 13 +-- .../disable-controller-service.component.html | 27 ++++- .../edit-controller-service.component.html | 18 +++- .../edit-controller-service.component.ts | 7 +- .../enable-controller-service.component.html | 20 +++- .../enable-controller-service.component.ts | 10 +- .../edit-parameter-dialog.component.html | 9 +- .../edit-parameter-dialog.component.ts | 7 +- .../combo-editor/combo-editor.component.html | 4 +- .../combo-editor/combo-editor.component.ts | 9 +- .../property-table.component.html | 8 +- .../property-table.component.ts | 9 +- .../status-history.component.html | 4 +- .../status-history.component.ts | 8 +- .../system-diagnostics-dialog.component.html | 6 +- .../system-diagnostics-dialog.component.ts | 8 +- .../tooltips/text-tip/text-tip.component.html | 2 +- .../tooltips/text-tip/text-tip.component.ts | 3 +- 86 files changed, 765 insertions(+), 474 deletions(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.html index 18810eed44..2414d518fb 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.html @@ -80,7 +80,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.ts index bd64b36227..f75531131f 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/component-access-policies/component-access-policies.component.ts @@ -39,7 +39,7 @@ import { distinctUntilChanged } from 'rxjs'; import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'; import { NiFiCommon } from '../../../../service/nifi-common.service'; -import { ComponentType, isDefinedAndNotNull, SelectOption, TextTipInput } from '../../../../state/shared'; +import { ComponentType, isDefinedAndNotNull, SelectOption } from '../../../../state/shared'; import { TextTip } from '../../../../ui/common/tooltips/text-tip/text-tip.component'; import { AccessPolicyEntity, Action, PolicyStatus, ResourceAction } from '../../state/shared'; import { selectFlowConfiguration } from '../../../../state/flow-configuration/flow-configuration.selectors'; @@ -284,13 +284,6 @@ export class ComponentAccessPolicies implements OnInit, OnDestroy { return true; } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - getContextIcon(): string { switch (this.resource) { case 'processors': diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.html index 77f8a8bc02..fe07af7fa8 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.html @@ -65,7 +65,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} @@ -85,7 +85,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.ts index eb89e853a5..ab8aacc274 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/access-policies/ui/global-access-policies/global-access-policies.component.ts @@ -39,13 +39,7 @@ import { distinctUntilChanged } from 'rxjs'; import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'; import { NiFiCommon } from '../../../../service/nifi-common.service'; -import { - ComponentType, - isDefinedAndNotNull, - RequiredPermission, - SelectOption, - TextTipInput -} from '../../../../state/shared'; +import { ComponentType, isDefinedAndNotNull, RequiredPermission, SelectOption } from '../../../../state/shared'; import { TextTip } from '../../../../ui/common/tooltips/text-tip/text-tip.component'; import { AccessPolicyEntity, Action, PolicyStatus } from '../../state/shared'; import { loadExtensionTypesForPolicies } from '../../../../state/extension-types/extension-types.actions'; @@ -173,13 +167,6 @@ export class GlobalAccessPolicies implements OnInit, OnDestroy { return state.loadedTimestamp == initialState.loadedTimestamp; } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - resourceChanged(value: string): void { if (this.globalPolicySupportsReadWrite(value)) { this.supportsReadWriteAction = true; diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/create-connection/create-connection.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/create-connection/create-connection.component.html index 90ded375ee..2ddddf9350 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/create-connection/create-connection.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/create-connection/create-connection.component.html @@ -127,7 +127,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false"> {{ option.text }} @@ -154,7 +154,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false"> {{ option.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/create-connection/create-connection.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/create-connection/create-connection.component.ts index 034e77c091..f0207890b7 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/create-connection/create-connection.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/create-connection/create-connection.component.ts @@ -37,7 +37,7 @@ import { NifiSpinnerDirective } from '../../../../../../../ui/common/spinner/nif import { NifiTooltipDirective } from '../../../../../../../ui/common/tooltips/nifi-tooltip.directive'; import { MatTabsModule } from '@angular/material/tabs'; import { TextTip } from '../../../../../../../ui/common/tooltips/text-tip/text-tip.component'; -import { ComponentType, SelectOption, TextTipInput } from '../../../../../../../state/shared'; +import { ComponentType } from '../../../../../../../state/shared'; import { NiFiState } from '../../../../../../../state'; import { selectPrioritizerTypes } from '../../../../../../../state/extension-types/extension-types.selectors'; import { Prioritizers } from '../prioritizers/prioritizers.component'; @@ -200,13 +200,6 @@ export class CreateConnection { } } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - loadBalanceChanged(value: string): void { if (value == 'PARTITION_BY_ATTRIBUTE') { this.createConnectionForm.addControl('partitionAttribute', new FormControl('', Validators.required)); diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-process-group/destination-process-group.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-process-group/destination-process-group.component.html index fcf2e30319..0b4f59dc23 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-process-group/destination-process-group.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-process-group/destination-process-group.component.html @@ -37,7 +37,7 @@ [disabled]="isDisabled" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(item)" + [tooltipInputData]="item.description" [delayClose]="false" >{{ item.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-process-group/destination-process-group.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-process-group/destination-process-group.component.ts index 2e410e9ddc..36c078d0c1 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-process-group/destination-process-group.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-process-group/destination-process-group.component.ts @@ -24,7 +24,7 @@ import { MatFormFieldModule } from '@angular/material/form-field'; import { MatOptionModule } from '@angular/material/core'; import { MatSelectModule } from '@angular/material/select'; import { NifiTooltipDirective } from '../../../../../../../../ui/common/tooltips/nifi-tooltip.directive'; -import { SelectOption, TextTipInput } from '../../../../../../../../state/shared'; +import { SelectOption } from '../../../../../../../../state/shared'; @Component({ selector: 'destination-process-group', @@ -111,13 +111,6 @@ export class DestinationProcessGroup implements ControlValueAccessor { this.selectedInputPort = selectedInputPort; } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - handleChanged() { // mark the component as touched if not already if (!this.isTouched) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-remote-process-group/destination-remote-process-group.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-remote-process-group/destination-remote-process-group.component.html index 4f665e9a2c..9aafbd3ce3 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-remote-process-group/destination-remote-process-group.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-remote-process-group/destination-remote-process-group.component.html @@ -34,7 +34,7 @@ [disabled]="item.disabled == true || isDisabled" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(item)" + [tooltipInputData]="item.description" [delayClose]="false" >{{ item.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-remote-process-group/destination-remote-process-group.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-remote-process-group/destination-remote-process-group.component.ts index 4d28151b58..1d3442b65f 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-remote-process-group/destination-remote-process-group.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/destination/destination-remote-process-group/destination-remote-process-group.component.ts @@ -24,7 +24,7 @@ import { MatFormFieldModule } from '@angular/material/form-field'; import { MatOptionModule } from '@angular/material/core'; import { MatSelectModule } from '@angular/material/select'; import { NifiTooltipDirective } from '../../../../../../../../ui/common/tooltips/nifi-tooltip.directive'; -import { SelectOption, TextTipInput } from '../../../../../../../../state/shared'; +import { SelectOption } from '../../../../../../../../state/shared'; @Component({ selector: 'destination-remote-process-group', @@ -99,13 +99,6 @@ export class DestinationRemoteProcessGroup implements ControlValueAccessor { this.selectedInputPort = selectedInputPort; } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - handleChanged() { // mark the component as touched if not already if (!this.isTouched) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/edit-connection/edit-connection.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/edit-connection/edit-connection.component.html index 74f3a29d0e..889881b1c3 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/edit-connection/edit-connection.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/edit-connection/edit-connection.component.html @@ -104,11 +104,18 @@
Id
-
No value set
+
{{ dialogRequest.entity.id }}
- FlowFile Expiration + + FlowFile Expiration + +
- Back Pressure Object Threshold + + Back Pressure Object Threshold + +
- Size Threshold + + Size Threshold + +
- Load Balance Strategy + + Load Balance Strategy + + @@ -151,7 +179,7 @@ [disabled]="connectionReadonly || sourceReadonly || destinationReadonly" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false"> {{ option.text }} @@ -162,7 +190,14 @@ @if (loadBalancePartitionAttributeRequired) {
- Attribute Name + + Attribute Name + + - Load Balance Compression + + Load Balance Compression + + @for (option of loadBalanceCompressionStrategies; track option) { {{ option.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/edit-connection/edit-connection.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/edit-connection/edit-connection.component.ts index eddf087100..6db3584089 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/edit-connection/edit-connection.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/edit-connection/edit-connection.component.ts @@ -36,7 +36,7 @@ import { NifiSpinnerDirective } from '../../../../../../../ui/common/spinner/nif import { NifiTooltipDirective } from '../../../../../../../ui/common/tooltips/nifi-tooltip.directive'; import { MatTabsModule } from '@angular/material/tabs'; import { TextTip } from '../../../../../../../ui/common/tooltips/text-tip/text-tip.component'; -import { ComponentType, SelectOption, TextTipInput } from '../../../../../../../state/shared'; +import { ComponentType } from '../../../../../../../state/shared'; import { NiFiState } from '../../../../../../../state'; import { selectPrioritizerTypes } from '../../../../../../../state/extension-types/extension-types.selectors'; import { Prioritizers } from '../prioritizers/prioritizers.component'; @@ -224,7 +224,7 @@ export class EditConnectionComponent { initialCompression: string; constructor( - @Inject(MAT_DIALOG_DATA) private dialogRequest: EditConnectionDialogRequest, + @Inject(MAT_DIALOG_DATA) public dialogRequest: EditConnectionDialogRequest, private formBuilder: FormBuilder, private store: Store, private canvasUtils: CanvasUtils, @@ -340,13 +340,6 @@ export class EditConnectionComponent { } } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - loadBalanceChanged(value: string): void { if (value == 'PARTITION_BY_ATTRIBUTE') { this.editConnectionForm.addControl( diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/prioritizers/prioritizers.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/prioritizers/prioritizers.component.html index 3dd55c8838..ad7135e624 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/prioritizers/prioritizers.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/prioritizers/prioritizers.component.html @@ -17,7 +17,14 @@
-
Available Prioritizers
+
+ Available Prioritizers + +
-
Selected Prioritizers
+
+ Selected Prioritizers + +
{{ getPrioritizerLabel(item) }}
@if (hasDescription(item)) { -
+ [tooltipInputData]="item.description"> }
@if (canClose) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/prioritizers/prioritizers.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/prioritizers/prioritizers.component.ts index 204387e517..08168f146c 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/prioritizers/prioritizers.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/prioritizers/prioritizers.component.ts @@ -24,7 +24,7 @@ import { AsyncPipe, NgTemplateOutlet } from '@angular/common'; import { CdkConnectedOverlay, CdkOverlayOrigin } from '@angular/cdk/overlay'; import { RouterLink } from '@angular/router'; import { NiFiCommon } from '../../../../../../../service/nifi-common.service'; -import { DocumentedType, TextTipInput } from '../../../../../../../state/shared'; +import { DocumentedType } from '../../../../../../../state/shared'; import { NifiTooltipDirective } from '../../../../../../../ui/common/tooltips/nifi-tooltip.directive'; import { TextTip } from '../../../../../../../ui/common/tooltips/text-tip/text-tip.component'; import { @@ -128,13 +128,6 @@ export class Prioritizers implements ControlValueAccessor { return !this.nifiCommon.isBlank(entity.description); } - getDescriptionTipData(entity: DocumentedType): TextTipInput { - return { - // @ts-ignore - text: entity.description - }; - } - removeSelected(entity: DocumentedType, i: number): void { transferArrayItem(this.selectedPrioritizers, this.availablePrioritizers, i, this.availablePrioritizers.length); diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-process-group/source-process-group.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-process-group/source-process-group.component.html index 3aecf1d0da..49b8318f60 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-process-group/source-process-group.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-process-group/source-process-group.component.html @@ -37,7 +37,7 @@ [disabled]="isDisabled" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(item)" + [tooltipInputData]="item.description" [delayClose]="false" >{{ item.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-process-group/source-process-group.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-process-group/source-process-group.component.ts index c83946ea94..408907718e 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-process-group/source-process-group.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-process-group/source-process-group.component.ts @@ -24,7 +24,7 @@ import { MatFormFieldModule } from '@angular/material/form-field'; import { MatOptionModule } from '@angular/material/core'; import { MatSelectModule } from '@angular/material/select'; import { NifiTooltipDirective } from '../../../../../../../../ui/common/tooltips/nifi-tooltip.directive'; -import { SelectOption, TextTipInput } from '../../../../../../../../state/shared'; +import { SelectOption } from '../../../../../../../../state/shared'; @Component({ selector: 'source-process-group', @@ -112,13 +112,6 @@ export class SourceProcessGroup implements ControlValueAccessor { this.selectedOutputPort = selectedOutputPort; } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - handleChanged() { // mark the component as touched if not already if (!this.isTouched) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-remote-process-group/source-remote-process-group.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-remote-process-group/source-remote-process-group.component.html index e76f236a11..92f104c052 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-remote-process-group/source-remote-process-group.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-remote-process-group/source-remote-process-group.component.html @@ -34,7 +34,7 @@ [disabled]="item.disabled == true || isDisabled" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(item)" + [tooltipInputData]="item.description" [delayClose]="false" >{{ item.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-remote-process-group/source-remote-process-group.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-remote-process-group/source-remote-process-group.component.ts index da9a665980..3506e5c198 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-remote-process-group/source-remote-process-group.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/connection/source/source-remote-process-group/source-remote-process-group.component.ts @@ -24,7 +24,7 @@ import { MatFormFieldModule } from '@angular/material/form-field'; import { MatOptionModule } from '@angular/material/core'; import { MatSelectModule } from '@angular/material/select'; import { NifiTooltipDirective } from '../../../../../../../../ui/common/tooltips/nifi-tooltip.directive'; -import { SelectOption, TextTipInput } from '../../../../../../../../state/shared'; +import { SelectOption } from '../../../../../../../../state/shared'; @Component({ selector: 'source-remote-process-group', @@ -99,13 +99,6 @@ export class SourceRemoteProcessGroup implements ControlValueAccessor { this.selectedOutputPort = selectedOutputPort; } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - handleChanged() { // mark the component as touched if not already if (!this.isTouched) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.html index 9ae8c775f3..c20b00b439 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.html @@ -28,7 +28,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} @@ -48,7 +48,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} @@ -71,7 +71,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} @@ -88,6 +88,11 @@
Keep existing Parameter Contexts +
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.ts index 8dd2a3d14a..eed6f30f4e 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/import-from-registry/import-from-registry.component.ts @@ -25,7 +25,6 @@ import { isDefinedAndNotNull, RegistryClientEntity, SelectOption, - TextTipInput, VersionedFlow, VersionedFlowEntity, VersionedFlowSnapshotMetadata, @@ -158,13 +157,6 @@ export class ImportFromRegistry implements OnInit { } } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - registryChanged(registryId: string): void { this.loadBuckets(registryId); } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/save-version-dialog/save-version-dialog.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/save-version-dialog/save-version-dialog.component.html index 84b82fc313..3609e1a5ff 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/save-version-dialog/save-version-dialog.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/save-version-dialog/save-version-dialog.component.html @@ -57,7 +57,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} @@ -77,7 +77,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/save-version-dialog/save-version-dialog.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/save-version-dialog/save-version-dialog.component.ts index 615ff5dfa2..17c0cf6e50 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/save-version-dialog/save-version-dialog.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/flow/save-version-dialog/save-version-dialog.component.ts @@ -30,7 +30,7 @@ import { NifiSpinnerDirective } from '../../../../../../../ui/common/spinner/nif import { MatError, MatFormField, MatLabel } from '@angular/material/form-field'; import { MatOption, MatSelect } from '@angular/material/select'; import { Observable, of, take } from 'rxjs'; -import { BucketEntity, RegistryClientEntity, SelectOption, TextTipInput } from '../../../../../../../state/shared'; +import { BucketEntity, RegistryClientEntity, SelectOption } from '../../../../../../../state/shared'; import { NiFiCommon } from '../../../../../../../service/nifi-common.service'; import { SaveVersionDialogRequest, SaveVersionRequest, VersionControlInformation } from '../../../../../state/flow'; import { TextTip } from '../../../../../../../ui/common/tooltips/text-tip/text-tip.component'; @@ -149,12 +149,6 @@ export class SaveVersionDialog implements OnInit { } } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - text: option.description || '' - }; - } - registryChanged(registryId: string): void { this.loadBuckets(registryId); } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/create-port/create-port.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/create-port/create-port.component.html index 269a2a0176..51a7ac722e 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/create-port/create-port.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/create-port/create-port.component.html @@ -25,7 +25,18 @@ @if (!isRootProcessGroup) { - Receive From + + {{ ComponentType.InputPort == request.type ? 'Receive From' : 'Send To' }} + + @for (option of allowRemoteAccessOptions; track option) { @if (option.description) { @@ -33,7 +44,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/create-port/create-port.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/create-port/create-port.component.ts index d1c32f69a3..e9e0f4220f 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/create-port/create-port.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/create-port/create-port.component.ts @@ -24,7 +24,7 @@ import { selectParentProcessGroupId, selectSaving } from '../../../../../state/f import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { createPort } from '../../../../../state/flow/flow.actions'; import { CreateComponentRequest } from '../../../../../state/flow'; -import { ComponentType, SelectOption, TextTipInput } from '../../../../../../../state/shared'; +import { ComponentType, SelectOption } from '../../../../../../../state/shared'; import { MatInputModule } from '@angular/material/input'; import { MatSelectModule } from '@angular/material/select'; import { MatTooltipModule } from '@angular/material/tooltip'; @@ -76,7 +76,7 @@ export class CreatePort { ]; constructor( - @Inject(MAT_DIALOG_DATA) private request: CreateComponentRequest, + @Inject(MAT_DIALOG_DATA) public request: CreateComponentRequest, private formBuilder: FormBuilder, private store: Store ) { @@ -102,13 +102,6 @@ export class CreatePort { }); } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - createPort() { this.store.dispatch( createPort({ @@ -120,4 +113,6 @@ export class CreatePort { }) ); } + + protected readonly ComponentType = ComponentType; } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/edit-port/edit-port.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/edit-port/edit-port.component.html index cb0adb3b82..552172c2f2 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/edit-port/edit-port.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/edit-port/edit-port.component.html @@ -28,14 +28,28 @@
@if (request.entity.component.allowRemoteAccess) { - Concurrent Tasks + + Concurrent Tasks + + }
@if (portTypeLabel == 'Output Port') {
- Failure Port + + Failure Port + +
} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/edit-port/edit-port.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/edit-port/edit-port.component.ts index 2f44d2e177..26c0f30dae 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/edit-port/edit-port.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/port/edit-port/edit-port.component.ts @@ -33,6 +33,8 @@ import { selectSaving } from '../../../../../state/flow/flow.selectors'; import { NifiSpinnerDirective } from '../../../../../../../ui/common/spinner/nifi-spinner.directive'; import { ClusterConnectionService } from '../../../../../../../service/cluster-connection.service'; import { CanvasUtils } from '../../../../../service/canvas-utils.service'; +import { TextTip } from '../../../../../../../ui/common/tooltips/text-tip/text-tip.component'; +import { NifiTooltipDirective } from '../../../../../../../ui/common/tooltips/nifi-tooltip.directive'; @Component({ selector: 'edit-port', @@ -46,7 +48,8 @@ import { CanvasUtils } from '../../../../../service/canvas-utils.service'; MatCheckboxModule, MatButtonModule, AsyncPipe, - NifiSpinnerDirective + NifiSpinnerDirective, + NifiTooltipDirective ], styleUrls: ['./edit-port.component.scss'] }) @@ -122,4 +125,6 @@ export class EditPort { }) ); } + + protected readonly TextTip = TextTip; } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/create-process-group/create-process-group.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/create-process-group/create-process-group.component.html index a4c292e26b..aac174b676 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/create-process-group/create-process-group.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/create-process-group/create-process-group.component.html @@ -41,7 +41,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getParameterContextOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/create-process-group/create-process-group.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/create-process-group/create-process-group.component.ts index f960c1fb85..83d3abd49c 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/create-process-group/create-process-group.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/create-process-group/create-process-group.component.ts @@ -21,7 +21,7 @@ import { CreateProcessGroupDialogRequest } from '../../../../../state/flow'; import { Store } from '@ngrx/store'; import { CanvasState } from '../../../../../state'; import { createProcessGroup, uploadProcessGroup } from '../../../../../state/flow/flow.actions'; -import { SelectOption, TextTipInput } from '../../../../../../../state/shared'; +import { SelectOption } from '../../../../../../../state/shared'; import { selectSaving } from '../../../../../state/flow/flow.selectors'; import { AsyncPipe } from '@angular/common'; import { ErrorBanner } from '../../../../../../../ui/common/error-banner/error-banner.component'; @@ -97,13 +97,6 @@ export class CreateProcessGroup { }); } - getParameterContextOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - attachFlow(event: Event): void { const target = event.target as HTMLInputElement; const files = target.files as FileList; diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/edit-process-group/edit-process-group.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/edit-process-group/edit-process-group.component.html index 30414f7ce5..8951c4f941 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/edit-process-group/edit-process-group.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/edit-process-group/edit-process-group.component.html @@ -39,7 +39,7 @@ [disabled]="readonly" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} @@ -58,6 +58,11 @@ formControlName="applyParameterContextRecursively" name="applyParameterContextRecursively"> Apply Recursively +
@@ -70,7 +75,7 @@ [disabled]="readonly" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false"> {{ option.text }} @@ -88,7 +93,7 @@ [disabled]="readonly" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false"> {{ option.text }} @@ -106,7 +111,7 @@ [disabled]="readonly" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false"> {{ option.text }} @@ -118,7 +123,14 @@
- Default FlowFile Expiration + + Default FlowFile Expiration + +
- Default Back Pressure Object Threshold + + Default Back Pressure Object Threshold + +
- Default Back Pressure Data Size Threshold + + Default Back Pressure Data Size Threshold + +
- Log File Suffix + + Log File Suffix + +
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/edit-process-group/edit-process-group.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/edit-process-group/edit-process-group.component.ts index 1aac5c6690..252b328c4e 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/edit-process-group/edit-process-group.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/edit-process-group/edit-process-group.component.ts @@ -26,7 +26,7 @@ import { MatTabsModule } from '@angular/material/tabs'; import { MatOptionModule } from '@angular/material/core'; import { MatSelectModule } from '@angular/material/select'; import { Observable } from 'rxjs'; -import { SelectOption, TextTipInput } from '../../../../../../../state/shared'; +import { SelectOption } from '../../../../../../../state/shared'; import { Client } from '../../../../../../../service/client.service'; import { PropertyTable } from '../../../../../../../ui/common/property-table/property-table.component'; import { NifiSpinnerDirective } from '../../../../../../../ui/common/spinner/nifi-spinner.directive'; @@ -189,13 +189,6 @@ export class EditProcessGroup { }); } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - submitForm() { let updateStrategy = 'DIRECT_CHILDREN'; if (this.editProcessGroupForm.get('applyParameterContextRecursively')?.value) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/group-components/group-components.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/group-components/group-components.component.html index b61cd5334b..e1c2014801 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/group-components/group-components.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/group-components/group-components.component.html @@ -31,7 +31,7 @@ [value]="option.value" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getParameterContextOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false" >{{ option.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/group-components/group-components.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/group-components/group-components.component.ts index 58d43bbae0..e29b4b2104 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/group-components/group-components.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/process-group/group-components/group-components.component.ts @@ -21,7 +21,7 @@ import { GroupComponentsDialogRequest } from '../../../../../state/flow'; import { Store } from '@ngrx/store'; import { CanvasState } from '../../../../../state'; import { groupComponents } from '../../../../../state/flow/flow.actions'; -import { ComponentType, SelectOption, TextTipInput } from '../../../../../../../state/shared'; +import { ComponentType, SelectOption } from '../../../../../../../state/shared'; import { selectSaving } from '../../../../../state/flow/flow.selectors'; import { AsyncPipe } from '@angular/common'; import { MatButtonModule } from '@angular/material/button'; @@ -90,13 +90,6 @@ export class GroupComponents { }); } - getParameterContextOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - createProcessGroup(): void { this.store.dispatch( groupComponents({ diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/edit-processor.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/edit-processor.component.html index e7307bacd4..0db42494cb 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/edit-processor.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/edit-processor.component.html @@ -58,7 +58,14 @@
- Penalty Duration + + Penalty Duration + +
- Yield Duration + + Yield Duration + +
- Bulletin Level + + Bulletin Level + + @for (option of bulletinLevels; track option) { @@ -94,7 +115,14 @@
- Scheduling Strategy + + Scheduling Strategy + + @@ -104,7 +132,7 @@ [disabled]="readonly" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getSelectOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false"> {{ option.text }} @@ -115,7 +143,14 @@
- Concurrent Tasks + + Concurrent Tasks + +
- Scheduling Period + + Run Schedule + +
- Execution + + Execution + + @for (option of executionStrategies; track option) { {{ option.text }} @@ -159,7 +208,14 @@
@if (supportsBatching()) {
-
Run Duration
+
+ Run Duration + +
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/edit-processor.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/edit-processor.component.ts index d3841f75c0..568e895ab0 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/edit-processor.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/edit-processor.component.ts @@ -32,8 +32,7 @@ import { Parameter, ParameterContextReferenceEntity, Property, - SelectOption, - TextTipInput + SelectOption } from '../../../../../../../state/shared'; import { Client } from '../../../../../../../service/client.service'; import { NiFiCommon } from '../../../../../../../service/nifi-common.service'; @@ -239,13 +238,6 @@ export class EditProcessor { return this.nifiCommon.formatBundle(entity.component.bundle); } - getSelectOptionTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - concurrentTasksChanged(): void { if (this.schedulingStrategy === 'CRON_DRIVEN') { this.cronDrivenConcurrentTasks = this.editProcessorForm.get('concurrentTasks')?.value; diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/relationship-settings/relationship-settings.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/relationship-settings/relationship-settings.component.html index 5f46e58f6b..7d63cc8472 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/relationship-settings/relationship-settings.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/processor/edit-processor/relationship-settings/relationship-settings.component.html @@ -20,11 +20,11 @@
Automatically Terminate/Retry Relationships
- info_outline +
@for (relationship of relationships; track relationship; let i = $index) { @@ -65,7 +65,14 @@ @if (isRelationshipRetried()) {
- Number of Retry Attempts + + Number of Retry Attempts + + - info_outline
Retry Back Off Policy
- info_outline +
- Retry Maximum Back Off Period + + Retry Maximum Back Off Period + + - info_outline
} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/create-remote-process-group/create-remote-process-group.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/create-remote-process-group/create-remote-process-group.component.html index 5ee118cf6c..ac278c1352 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/create-remote-process-group/create-remote-process-group.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/create-remote-process-group/create-remote-process-group.component.html @@ -22,7 +22,14 @@
- URLs + + URLs + +
@@ -30,30 +37,30 @@
- Transport Protocol + + Transport Protocol + + - - RAW - - - HTTP - + RAW + HTTP
- Local Network Interface + + Local Network Interface + +
@@ -61,13 +68,27 @@
- HTTP Proxy Server Hostname + + HTTP Proxy Server Hostname + +
- HTTP Proxy Server Port + + HTTP Proxy Server Port + +
@@ -75,27 +96,55 @@
- HTTP Proxy User + + HTTP Proxy User + +
- HTTP Proxy Password - + + HTTP Proxy Password + + +
- Communications Timeout + + Communications Timeout + +
- Yield Duration + + Yield Duration + +
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/create-remote-process-group/create-remote-process-group.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/create-remote-process-group/create-remote-process-group.component.ts index 2766065cc3..822171998d 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/create-remote-process-group/create-remote-process-group.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/create-remote-process-group/create-remote-process-group.component.ts @@ -20,7 +20,6 @@ import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog'; import { Store } from '@ngrx/store'; import { CanvasState } from '../../../../../state'; import { createRemoteProcessGroup } from '../../../../../state/flow/flow.actions'; -import { TextTipInput } from '../../../../../../../state/shared'; import { selectSaving } from '../../../../../state/flow/flow.selectors'; import { AsyncPipe } from '@angular/common'; import { ErrorBanner } from '../../../../../../../ui/common/error-banner/error-banner.component'; @@ -31,10 +30,10 @@ import { MatOptionModule } from '@angular/material/core'; import { MatSelectModule } from '@angular/material/select'; import { NifiSpinnerDirective } from '../../../../../../../ui/common/spinner/nifi-spinner.directive'; import { FormBuilder, FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms'; -import { TextTip } from '../../../../../../../ui/common/tooltips/text-tip/text-tip.component'; -import { NifiTooltipDirective } from '../../../../../../../ui/common/tooltips/nifi-tooltip.directive'; import { MatIconModule } from '@angular/material/icon'; import { CreateComponentRequest } from '../../../../../state/flow'; +import { TextTip } from '../../../../../../../ui/common/tooltips/text-tip/text-tip.component'; +import { NifiTooltipDirective } from '../../../../../../../ui/common/tooltips/nifi-tooltip.directive'; @Component({ standalone: true, @@ -49,8 +48,8 @@ import { CreateComponentRequest } from '../../../../../state/flow'; ReactiveFormsModule, MatOptionModule, MatSelectModule, - NifiTooltipDirective, - MatIconModule + MatIconModule, + NifiTooltipDirective ], templateUrl: './create-remote-process-group.component.html', styleUrls: ['./create-remote-process-group.component.scss'] @@ -58,8 +57,6 @@ import { CreateComponentRequest } from '../../../../../state/flow'; export class CreateRemoteProcessGroup { saving$ = this.store.select(selectSaving); - protected readonly TextTip = TextTip; - createRemoteProcessGroupForm: FormGroup; constructor( @@ -80,12 +77,6 @@ export class CreateRemoteProcessGroup { }); } - getOptionTipData(tip: string): TextTipInput { - return { - text: tip - }; - } - createRemoteProcessGroup(): void { this.store.dispatch( createRemoteProcessGroup({ @@ -104,4 +95,6 @@ export class CreateRemoteProcessGroup { }) ); } + + protected readonly TextTip = TextTip; } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/edit-remote-process-group/edit-remote-process-group.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/edit-remote-process-group/edit-remote-process-group.component.html index 55a72230e9..5cb1be5260 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/edit-remote-process-group/edit-remote-process-group.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/edit-remote-process-group/edit-remote-process-group.component.html @@ -30,7 +30,14 @@
- URLs + + URLs + +
- Transport Protocol + + Transport Protocol + + RAW HTTP @@ -52,7 +66,14 @@
- Local Network Interface + + Local Network Interface + +
@@ -60,13 +81,27 @@
- HTTP Proxy Server Hostname + + HTTP Proxy Server Hostname + +
- HTTP Proxy Server Port + + HTTP Proxy Server Port + +
@@ -74,27 +109,55 @@
- HTTP Proxy User + + HTTP Proxy User + +
- HTTP Proxy Password - + + HTTP Proxy Password + + +
- Communications Timeout + + Communications Timeout + +
- Yield Duration + + Yield Duration + +
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/edit-remote-process-group/edit-remote-process-group.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/edit-remote-process-group/edit-remote-process-group.component.ts index 3d4f0e971d..08a80d6639 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/edit-remote-process-group/edit-remote-process-group.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/items/remote-process-group/edit-remote-process-group/edit-remote-process-group.component.ts @@ -31,6 +31,7 @@ import { TextTip } from '../../../../../../../ui/common/tooltips/text-tip/text-t import { EditComponentDialogRequest } from '../../../../../state/flow'; import { ErrorBanner } from '../../../../../../../ui/common/error-banner/error-banner.component'; import { CanvasUtils } from '../../../../../service/canvas-utils.service'; +import { NifiTooltipDirective } from '../../../../../../../ui/common/tooltips/nifi-tooltip.directive'; @Component({ standalone: true, @@ -46,7 +47,8 @@ import { CanvasUtils } from '../../../../../service/canvas-utils.service'; AsyncPipe, NifiSpinnerDirective, FormsModule, - ErrorBanner + ErrorBanner, + NifiTooltipDirective ], styleUrls: ['./edit-remote-process-group.component.scss'] }) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/edit-remote-port/edit-remote-port.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/edit-remote-port/edit-remote-port.component.html index b8039dce85..8dc7665f79 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/edit-remote-port/edit-remote-port.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/edit-remote-port/edit-remote-port.component.html @@ -31,7 +31,14 @@
- Concurrent Tasks + + Concurrent Tasks + +
@@ -41,19 +48,40 @@
- Batch Count + + Batch Count + +
- Batch Size + + Batch Size + +
- Batch Duration + + Batch Duration + +
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/edit-remote-port/edit-remote-port.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/edit-remote-port/edit-remote-port.component.ts index 82d4b11b61..1b3b585f75 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/edit-remote-port/edit-remote-port.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/edit-remote-port/edit-remote-port.component.ts @@ -32,6 +32,8 @@ import { ComponentType } from '../../../../../state/shared'; import { PortSummary } from '../../../state/manage-remote-ports'; import { configureRemotePort } from '../../../state/manage-remote-ports/manage-remote-ports.actions'; import { ClusterConnectionService } from '../../../../../service/cluster-connection.service'; +import { TextTip } from '../../../../../ui/common/tooltips/text-tip/text-tip.component'; +import { NifiTooltipDirective } from '../../../../../ui/common/tooltips/nifi-tooltip.directive'; @Component({ standalone: true, @@ -44,7 +46,8 @@ import { ClusterConnectionService } from '../../../../../service/cluster-connect MatCheckboxModule, MatButtonModule, AsyncPipe, - NifiSpinnerDirective + NifiSpinnerDirective, + NifiTooltipDirective ], styleUrls: ['./edit-remote-port.component.scss'] }) @@ -106,4 +109,6 @@ export class EditRemotePortComponent { }) ); } + + protected readonly TextTip = TextTip; } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.html index f714465616..fd6e908601 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.html @@ -72,7 +72,7 @@ nifiTooltip [delayClose]="false" [tooltipComponentType]="TextTip" - [tooltipInputData]="getCommentsTipData(item)">
+ [tooltipInputData]="item.comments">
} @if (portExists(item)) {
+ tooltipInputData="This port has been removed.">
}
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.ts index d5bb341de4..505a97172a 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/manage-remote-ports/manage-remote-ports.component.ts @@ -39,7 +39,7 @@ import { stopRemotePortTransmission } from '../../state/manage-remote-ports/manage-remote-ports.actions'; import { initialState } from '../../state/manage-remote-ports/manage-remote-ports.reducer'; -import { isDefinedAndNotNull, TextTipInput } from '../../../../state/shared'; +import { isDefinedAndNotNull } from '../../../../state/shared'; import { selectCurrentUser } from '../../../../state/current-user/current-user.selectors'; import { NiFiState } from '../../../../state'; import { NiFiCommon } from '../../../../service/nifi-common.service'; @@ -252,18 +252,6 @@ export class ManageRemotePorts implements OnInit, OnDestroy { return !entity.exists; } - getCommentsTipData(entity: PortSummary): TextTipInput { - return { - text: entity.comments - }; - } - - getDisconnectedTipData(): TextTipInput { - return { - text: 'This port has been removed.' - }; - } - toggleTransmission(port: PortSummary): void { if (this.currentRpg) { if (port.transmitting) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/edit-parameter-context/edit-parameter-context.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/edit-parameter-context/edit-parameter-context.component.html index 1c2f4e8022..6e4a3b3ff1 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/edit-parameter-context/edit-parameter-context.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/edit-parameter-context/edit-parameter-context.component.html @@ -61,7 +61,14 @@ }
-
Referencing Components
+
+ Referencing Components + +
-
Referencing Components
+
+ Referencing Components + +
-
Available Parameter Contexts
+
+ Available Parameter Contexts + +
-
Selected Parameter Contexts
+
+ Selected Parameter Contexts + +
{{ item.component.name }}
@if (hasDescription(item)) { -
+ [tooltipInputData]="item.component.description"> }
@if (canClose) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-context-inheritance/parameter-context-inheritance.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-context-inheritance/parameter-context-inheritance.component.ts index 2a19bff6f0..4c6b25cd12 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-context-inheritance/parameter-context-inheritance.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-context-inheritance/parameter-context-inheritance.component.ts @@ -24,7 +24,7 @@ import { AsyncPipe, NgTemplateOutlet } from '@angular/common'; import { CdkConnectedOverlay, CdkOverlayOrigin } from '@angular/cdk/overlay'; import { RouterLink } from '@angular/router'; import { NiFiCommon } from '../../../../../service/nifi-common.service'; -import { ParameterContextReferenceEntity, TextTipInput } from '../../../../../state/shared'; +import { ParameterContextReferenceEntity } from '../../../../../state/shared'; import { NifiTooltipDirective } from '../../../../../ui/common/tooltips/nifi-tooltip.directive'; import { TextTip } from '../../../../../ui/common/tooltips/text-tip/text-tip.component'; import { ParameterReferences } from '../../../../../ui/common/parameter-references/parameter-references.component'; @@ -127,12 +127,6 @@ export class ParameterContextInheritance implements ControlValueAccessor { return !this.nifiCommon.isBlank(entity.component.description); } - getDescriptionTipData(entity: ParameterContextEntity): TextTipInput { - return { - text: entity.component.description - }; - } - removeSelected(entity: ParameterContextEntity, i: number): void { transferArrayItem( this.selectedParameterContexts, diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.html index 49eed16d3d..e8613b69b5 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.html @@ -36,11 +36,11 @@ {{ item.entity.parameter.name }}
@if (hasDescription(item)) { -
+ [tooltipInputData]="item.entity.parameter.description"> }
@@ -81,7 +81,7 @@ class="fa fa-info primary-color" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getExtraWhitespaceTipData()">
+ tooltipInputData="The specified value contains leading and/or trailing whitespace character(s). This could produce unexpected results if it was not intentional.">
}
@@ -140,7 +140,14 @@
-
Referencing Components
+
+ Referencing Components + +
@if (selectedItem) { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.ts index b3f84250c1..b5a7e2eb6e 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/parameter-contexts/ui/parameter-context-listing/parameter-table/parameter-table.component.ts @@ -24,7 +24,7 @@ import { AsyncPipe, NgTemplateOutlet } from '@angular/common'; import { CdkConnectedOverlay, CdkOverlayOrigin } from '@angular/cdk/overlay'; import { RouterLink } from '@angular/router'; import { NiFiCommon } from '../../../../../service/nifi-common.service'; -import { Parameter, ParameterEntity, TextTipInput } from '../../../../../state/shared'; +import { Parameter, ParameterEntity } from '../../../../../state/shared'; import { NifiTooltipDirective } from '../../../../../ui/common/tooltips/nifi-tooltip.directive'; import { TextTip } from '../../../../../ui/common/tooltips/text-tip/text-tip.component'; import { Observable, take } from 'rxjs'; @@ -200,12 +200,6 @@ export class ParameterTable implements AfterViewInit, ControlValueAccessor { return !this.nifiCommon.isBlank(item.entity.parameter.description); } - getDescriptionTipData(item: ParameterItem): TextTipInput { - return { - text: item.entity.parameter.description - }; - } - isSensitiveParameter(item: ParameterItem): boolean { return item.entity.parameter.sensitive; } @@ -222,12 +216,6 @@ export class ParameterTable implements AfterViewInit, ControlValueAccessor { return this.nifiCommon.hasLeadTrailWhitespace(value); } - getExtraWhitespaceTipData(): TextTipInput { - return { - text: 'The specified value contains leading and/or trailing whitespace character(s). This could produce unexpected results if it was not intentional.' - }; - } - canGoToParameter(item: ParameterItem): boolean { return ( item.entity.parameter.inherited == true && diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.html index c954e795ff..5023ca9af3 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.html @@ -37,8 +37,16 @@ Date Range - - + + @@ -47,20 +55,46 @@
Start Time ({{ timezone }}) - + - Minimum File Size + + Minimum File Size + +
End Time ({{ timezone }}) - + - Maximum File Size + + Maximum File Size + +
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/edit-flow-analysis-rule/edit-flow-analysis-rule.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/edit-flow-analysis-rule/edit-flow-analysis-rule.component.html index ebd79ade8f..51d4fe87eb 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/edit-flow-analysis-rule/edit-flow-analysis-rule.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/edit-flow-analysis-rule/edit-flow-analysis-rule.component.html @@ -58,7 +58,14 @@
- Enforcement Policy + + Enforcement Policy + + @for (option of strategies; track option) { {{ option.text }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/edit-flow-analysis-rule/edit-flow-analysis-rule.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/edit-flow-analysis-rule/edit-flow-analysis-rule.component.ts index cc3ce3481e..6651988d00 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/edit-flow-analysis-rule/edit-flow-analysis-rule.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/edit-flow-analysis-rule/edit-flow-analysis-rule.component.ts @@ -31,8 +31,7 @@ import { InlineServiceCreationRequest, InlineServiceCreationResponse, Property, - SelectOption, - TextTipInput + SelectOption } from '../../../../../state/shared'; import { NiFiCommon } from '../../../../../service/nifi-common.service'; import { PropertyTable } from '../../../../../ui/common/property-table/property-table.component'; @@ -157,12 +156,5 @@ export class EditFlowAnalysisRule { }); } - getPropertyTipData(option: SelectOption): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - protected readonly TextTip = TextTip; } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/flow-analysis-rule-table/flow-analysis-rule-table.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/flow-analysis-rule-table/flow-analysis-rule-table.component.html index ecfe0c68c9..53fb9f94df 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/flow-analysis-rule-table/flow-analysis-rule-table.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/flow-analysis-rules/flow-analysis-rule-table/flow-analysis-rule-table.component.html @@ -41,7 +41,7 @@ [delayClose]="false" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getCommentsTipData(item)">
+ [tooltipInputData]="item.component.comments">
} @if (hasErrors(item)) {
- Maximum Timer Driven Thread Count + + Maximum Timer Driven Thread Count + +
-
Referencing Components
+
+ Referencing Components + +
Parameter Contexts To Create + class="fa fa-info-circle" + nifiTooltip + [tooltipComponentType]="TextTip" + tooltipInputData="Parameter groups set to be created as parameter contexts, pending apply.">
Parameter Contexts To Update + class="fa fa-info-circle" + nifiTooltip + [tooltipComponentType]="TextTip" + tooltipInputData="Synced parameter contexts to be updated, pending apply.">
Affected Referencing Components + class="fa fa-info-circle" + nifiTooltip + [tooltipComponentType]="TextTip" + tooltipInputData="Affected components referencing this parameter provider.">
@@ -127,8 +133,10 @@
Select To Configure a Parameter Group + class="fa fa-info-circle" + nifiTooltip + [tooltipComponentType]="TextTip" + tooltipInputData="Discovered parameter groups from this parameter provider. Select a group to create a parameter context, then configure its parameter sensitivities.">
Fetched Parameters + class="fa fa-info-circle" + nifiTooltip + [tooltipComponentType]="TextTip" + tooltipInputData="Discovered parameters from the selected parameter group.">
  • Select Parameters To Be Set As Sensitive + class="fa fa-info-circle" + nifiTooltip + [tooltipComponentType]="TextTip" + tooltipInputData="Only parameters that are not referenced can be modified.">
@@ -289,8 +301,10 @@
Parameter Contexts To Create + class="fa fa-info-circle" + nifiTooltip + [tooltipComponentType]="TextTip" + tooltipInputData="Parameter groups set to be created as parameter contexts, pending apply.">
Parameter Contexts To Update + class="fa fa-info-circle" + nifiTooltip + [tooltipComponentType]="TextTip" + tooltipInputData="Synced parameter contexts to be updated, pending apply.">
Referencing Components + class="fa fa-info-circle" + nifiTooltip + [tooltipComponentType]="TextTip" + tooltipInputData="Components referencing this selected parameter.">
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/registry-clients/create-registry-client/create-registry-client.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/registry-clients/create-registry-client/create-registry-client.component.html index 1d9a344233..16fce76664 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/registry-clients/create-registry-client/create-registry-client.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/registry-clients/create-registry-client/create-registry-client.component.html @@ -34,7 +34,7 @@ [value]="option.type" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getOptionTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false"> {{ formatType(option) }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/registry-clients/create-registry-client/create-registry-client.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/registry-clients/create-registry-client/create-registry-client.component.ts index 373c0e0252..21f7da9191 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/registry-clients/create-registry-client/create-registry-client.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/registry-clients/create-registry-client/create-registry-client.component.ts @@ -23,7 +23,7 @@ import { MatCheckboxModule } from '@angular/material/checkbox'; import { MatButtonModule } from '@angular/material/button'; import { AsyncPipe } from '@angular/common'; import { Observable } from 'rxjs'; -import { DocumentedType, TextTipInput } from '../../../../../state/shared'; +import { DocumentedType } from '../../../../../state/shared'; import { CreateRegistryClientDialogRequest, CreateRegistryClientRequest } from '../../../state/registry-clients'; import { NifiSpinnerDirective } from '../../../../../ui/common/spinner/nifi-spinner.directive'; import { Client } from '../../../../../service/client.service'; @@ -83,13 +83,6 @@ export class CreateRegistryClient { return this.nifiCommon.substringAfterLast(option.type, '.'); } - getOptionTipData(option: DocumentedType): TextTipInput { - return { - // @ts-ignore - text: option.description - }; - } - createRegistryClientClicked() { const request: CreateRegistryClientRequest = { revision: { diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/reporting-tasks/edit-reporting-task/edit-reporting-task.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/reporting-tasks/edit-reporting-task/edit-reporting-task.component.html index 25912bd694..4fee4dc04e 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/reporting-tasks/edit-reporting-task/edit-reporting-task.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/settings/ui/reporting-tasks/edit-reporting-task/edit-reporting-task.component.html @@ -63,7 +63,14 @@
- Scheduling Strategy + + Scheduling Strategy + + @@ -73,7 +80,7 @@ [disabled]="readonly" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getPropertyTipData(option)" + [tooltipInputData]="option.description" [delayClose]="false"> {{ option.text }} @@ -83,7 +90,14 @@
- Run Schedule + + Run Schedule + +
+ [tooltipInputData]="item.component.comments">
} @if (hasErrors(item)) {
+ [tooltipInputData]="item.component.comments">
} @if (hasErrors(item)) {
Scope
-
Service and referencing components
+
+ Service and referencing components + +
-
Referencing Components
+
+ Referencing Components + +
-
Referencing Components
+
+ Referencing Components + +
- Bulletin Level + + Bulletin Level + + @for (option of bulletinLevels; track option) { @@ -87,7 +94,14 @@
-
Referencing Components
+
+ Referencing Components + +
{{ option.text }} @@ -50,7 +50,14 @@
-
Referencing Components
+
+ Referencing Components + +
-
Referencing Components
+
+ Referencing Components + +
- Value + + Value + +
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/edit-parameter-dialog/edit-parameter-dialog.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/edit-parameter-dialog/edit-parameter-dialog.component.ts index 5d91ce38c8..db6209dccf 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/edit-parameter-dialog/edit-parameter-dialog.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/edit-parameter-dialog/edit-parameter-dialog.component.ts @@ -37,6 +37,8 @@ import { MatCheckboxModule } from '@angular/material/checkbox'; import { NifiSpinnerDirective } from '../spinner/nifi-spinner.directive'; import { AsyncPipe } from '@angular/common'; import { Observable } from 'rxjs'; +import { TextTip } from '../tooltips/text-tip/text-tip.component'; +import { NifiTooltipDirective } from '../tooltips/nifi-tooltip.directive'; @Component({ selector: 'edit-parameter-dialog', @@ -51,7 +53,8 @@ import { Observable } from 'rxjs'; MatRadioModule, MatCheckboxModule, NifiSpinnerDirective, - AsyncPipe + AsyncPipe, + NifiTooltipDirective ], templateUrl: './edit-parameter-dialog.component.html', styleUrls: ['./edit-parameter-dialog.component.scss'] @@ -167,4 +170,6 @@ export class EditParameterDialog { } }); } + + protected readonly TextTip = TextTip; } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/property-table/editors/combo-editor/combo-editor.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/property-table/editors/combo-editor/combo-editor.component.html index 88b7fca1f9..321f8ae9e7 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/property-table/editors/combo-editor/combo-editor.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/property-table/editors/combo-editor/combo-editor.component.html @@ -35,7 +35,7 @@ (mousedown)="preventDrag($event)" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getAllowableValueOptionTipData(allowableValue)" + [tooltipInputData]="allowableValue.description" [delayClose]="false"> {{ item.descriptor.displayName }}
-
+ [delayClose]="false">
@@ -89,7 +89,7 @@ class="fa fa-info primary-color" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]="getExtraWhitespaceTipData()">
+ tooltipInputData="The specified value contains leading and/or trailing whitespace character(s). This could produce unexpected results if it was not intentional.">
}
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/property-table/property-table.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/property-table/property-table.component.ts index 94870cb38a..81c9a32a75 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/property-table/property-table.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/property-table/property-table.component.ts @@ -42,8 +42,7 @@ import { Property, PropertyDependency, PropertyDescriptor, - PropertyTipInput, - TextTipInput + PropertyTipInput } from '../../../state/shared'; import { NifiTooltipDirective } from '../tooltips/nifi-tooltip.directive'; import { TextTip } from '../tooltips/text-tip/text-tip.component'; @@ -377,12 +376,6 @@ export class PropertyTable implements AfterViewInit, ControlValueAccessor { return this.nifiCommon.hasLeadTrailWhitespace(value); } - getExtraWhitespaceTipData(): TextTipInput { - return { - text: 'The specified value contains leading and/or trailing whitespace character(s). This could produce unexpected results if it was not intentional.' - }; - } - getPropertyTipData(item: PropertyItem): PropertyTipInput { return { descriptor: item.descriptor, diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/status-history/status-history.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/status-history/status-history.component.html index 8495e4ed14..b49aa25978 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/status-history/status-history.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/status-history/status-history.component.html @@ -122,9 +122,7 @@ [value]="descriptor" nifiTooltip [tooltipComponentType]="TextTip" - [tooltipInputData]=" - getSelectOptionTipData(descriptor) - " + [tooltipInputData]="descriptor.description" [delayClose]="false"> {{ descriptor.label diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/status-history/status-history.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/status-history/status-history.component.ts index cfaa062302..b691b06ad5 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/status-history/status-history.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/status-history/status-history.component.ts @@ -45,7 +45,7 @@ import * as d3 from 'd3'; import { NiFiCommon } from '../../../service/nifi-common.service'; import { TextTip } from '../tooltips/text-tip/text-tip.component'; import { NifiTooltipDirective } from '../tooltips/nifi-tooltip.directive'; -import { isDefinedAndNotNull, TextTipInput } from '../../../state/shared'; +import { isDefinedAndNotNull } from '../../../state/shared'; import { MatCheckboxChange, MatCheckboxModule } from '@angular/material/checkbox'; import { Resizable } from '../resizable/resizable.component'; import { Instance, NIFI_NODE_CONFIG, Stats } from './index'; @@ -217,12 +217,6 @@ export class StatusHistory implements OnInit, AfterViewInit { this.store.dispatch(reloadStatusHistory({ request: this.request })); } - getSelectOptionTipData(descriptor: FieldDescriptor): TextTipInput { - return { - text: descriptor.description - }; - } - clusterStatsChanged(stats: Stats) { this.clusterStats = stats; } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/system-diagnostics-dialog/system-diagnostics-dialog.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/system-diagnostics-dialog/system-diagnostics-dialog.component.html index dd1e7e72b2..85c648aef4 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/system-diagnostics-dialog/system-diagnostics-dialog.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/system-diagnostics-dialog/system-diagnostics-dialog.component.html @@ -133,11 +133,11 @@
Core Load Average
-
+ tooltipInputData="Core load average for the last minute. Not available on all platforms.">
{{ formatFloat(systemDiagnostics.processorLoadAverage) }} diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/system-diagnostics-dialog/system-diagnostics-dialog.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/system-diagnostics-dialog/system-diagnostics-dialog.component.ts index 09524ecf27..a10f9f4c90 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/system-diagnostics-dialog/system-diagnostics-dialog.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/system-diagnostics-dialog/system-diagnostics-dialog.component.ts @@ -31,7 +31,7 @@ import { reloadSystemDiagnostics } from '../../../state/system-diagnostics/syste import { NiFiCommon } from '../../../service/nifi-common.service'; import { TextTip } from '../tooltips/text-tip/text-tip.component'; import { NifiTooltipDirective } from '../tooltips/nifi-tooltip.directive'; -import { isDefinedAndNotNull, TextTipInput } from '../../../state/shared'; +import { isDefinedAndNotNull } from '../../../state/shared'; import { MatProgressBarModule } from '@angular/material/progress-bar'; @Component({ @@ -83,12 +83,6 @@ export class SystemDiagnosticsDialog implements OnInit { return this.nifiCommon.formatFloat(value); } - getCoreLoadTooltip(): TextTipInput { - return { - text: 'Core load average for the last minute. Not available on all platforms.' - }; - } - getRepositoryStorageUsagePercent(repoStorage: RepositoryStorageUsage): number { return (repoStorage.usedSpaceBytes / repoStorage.totalSpaceBytes) * 100; } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/tooltips/text-tip/text-tip.component.html b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/tooltips/text-tip/text-tip.component.html index 21b44f1685..881c1da4db 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/tooltips/text-tip/text-tip.component.html +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/tooltips/text-tip/text-tip.component.html @@ -15,4 +15,4 @@ ~ limitations under the License. --> -
{{ data?.text }}
+
{{ data }}
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/tooltips/text-tip/text-tip.component.ts b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/tooltips/text-tip/text-tip.component.ts index a733824320..b730199e1d 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/tooltips/text-tip/text-tip.component.ts +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/ui/common/tooltips/text-tip/text-tip.component.ts @@ -16,7 +16,6 @@ */ import { Component, Input } from '@angular/core'; -import { TextTipInput } from '../../../../state/shared'; @Component({ selector: 'text-tip', @@ -25,5 +24,5 @@ import { TextTipInput } from '../../../../state/shared'; styleUrls: ['./text-tip.component.scss'] }) export class TextTip { - @Input() data: TextTipInput | undefined; + @Input() data: string = ''; }