mirror of
https://github.com/apache/nifi.git
synced 2025-03-03 16:09:19 +00:00
NIFI-13111: Removing/Hiding unimplemented features in preparation for next milestone release (#8710)
* NIFI-13111: - Removing/Hiding unimplemented features in preparation for next milestone release. * NIFI-13111: - Addressing review feedback. This closes #8710
This commit is contained in:
parent
d487ce4eef
commit
f70967ec9e
@ -293,7 +293,8 @@ export class CanvasContextMenu implements ContextMenuDefinitionProvider {
|
||||
menuItems: [
|
||||
{
|
||||
condition: (selection: any) => {
|
||||
return this.canvasUtils.hasUpstream(selection);
|
||||
// TODO - hasUpstream
|
||||
return false;
|
||||
},
|
||||
clazz: 'icon',
|
||||
text: 'Upstream',
|
||||
@ -303,7 +304,8 @@ export class CanvasContextMenu implements ContextMenuDefinitionProvider {
|
||||
},
|
||||
{
|
||||
condition: (selection: any) => {
|
||||
return this.canvasUtils.hasDownstream(selection);
|
||||
// TODO - hasDownstream
|
||||
return false;
|
||||
},
|
||||
clazz: 'icon',
|
||||
text: 'Downstream',
|
||||
@ -819,7 +821,8 @@ export class CanvasContextMenu implements ContextMenuDefinitionProvider {
|
||||
},
|
||||
{
|
||||
condition: (selection: any) => {
|
||||
return this.canvasUtils.isProcessGroup(selection);
|
||||
// return this.canvasUtils.isProcessGroup(selection);
|
||||
return false;
|
||||
},
|
||||
clazz: 'fa fa-flash',
|
||||
text: 'Enable all controller services',
|
||||
@ -829,7 +832,8 @@ export class CanvasContextMenu implements ContextMenuDefinitionProvider {
|
||||
},
|
||||
{
|
||||
condition: (selection: any) => {
|
||||
return this.canvasUtils.emptySelection(selection);
|
||||
// return this.canvasUtils.emptySelection(selection);
|
||||
return false;
|
||||
},
|
||||
clazz: 'fa fa-flash',
|
||||
text: 'Enable all controller services',
|
||||
@ -839,7 +843,8 @@ export class CanvasContextMenu implements ContextMenuDefinitionProvider {
|
||||
},
|
||||
{
|
||||
condition: (selection: any) => {
|
||||
return this.canvasUtils.isProcessGroup(selection);
|
||||
// return this.canvasUtils.isProcessGroup(selection);
|
||||
return false;
|
||||
},
|
||||
clazz: 'icon icon-enable-false',
|
||||
text: 'Disable all controller services',
|
||||
@ -849,7 +854,8 @@ export class CanvasContextMenu implements ContextMenuDefinitionProvider {
|
||||
},
|
||||
{
|
||||
condition: (selection: any) => {
|
||||
return this.canvasUtils.emptySelection(selection);
|
||||
// return this.canvasUtils.emptySelection(selection);
|
||||
return false;
|
||||
},
|
||||
clazz: 'icon icon-enable-false',
|
||||
text: 'Disable all controller services',
|
||||
|
@ -129,15 +129,16 @@
|
||||
(click)="group(selection)">
|
||||
<i class="ml-1 icon icon-group"></i>
|
||||
</button>
|
||||
<button
|
||||
mat-icon-button
|
||||
color="primary"
|
||||
class="mr-2"
|
||||
type="button"
|
||||
[disabled]="!canColor(selection)"
|
||||
(click)="color(selection)">
|
||||
<i class="fa fa-paint-brush"></i>
|
||||
</button>
|
||||
<!-- TODO - Add support for coloring processors and labels -->
|
||||
<!-- <button-->
|
||||
<!-- mat-icon-button-->
|
||||
<!-- color="primary"-->
|
||||
<!-- class="mr-2"-->
|
||||
<!-- type="button"-->
|
||||
<!-- [disabled]="!canColor(selection)"-->
|
||||
<!-- (click)="color(selection)">-->
|
||||
<!-- <i class="fa fa-paint-brush"></i>-->
|
||||
<!-- </button>-->
|
||||
<button
|
||||
mat-icon-button
|
||||
color="primary"
|
||||
|
@ -44,7 +44,16 @@
|
||||
<ng-container matColumnDef="moreDetails">
|
||||
<th mat-header-cell *matHeaderCellDef></th>
|
||||
<td mat-cell *matCellDef="let item">
|
||||
<div class="flex items-center gap-x-2"></div>
|
||||
@if (canRead(item)) {
|
||||
<div class="flex items-center gap-x-2">
|
||||
<!-- TODO - support showing connection details in EditConnectionDialog -->
|
||||
<!-- @if (canRead(item)) {-->
|
||||
<!-- <div-->
|
||||
<!-- class="pointer fa fa-info-circle primary-color"-->
|
||||
<!-- title="View Connection Details"></div>-->
|
||||
<!-- }-->
|
||||
</div>
|
||||
}
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
|
@ -43,16 +43,7 @@
|
||||
<ng-container matColumnDef="moreDetails">
|
||||
<th mat-header-cell *matHeaderCellDef></th>
|
||||
<td mat-cell *matCellDef="let item">
|
||||
@if (canRead(item)) {
|
||||
<div class="flex items-center gap-x-2">
|
||||
<!-- TODO - handle read only in configure component? -->
|
||||
@if (canRead(item)) {
|
||||
<div
|
||||
class="pointer fa fa-info-circle primary-color"
|
||||
title="View Process Group Details"></div>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
<div class="flex items-center gap-x-2"></div>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
|
@ -45,12 +45,12 @@
|
||||
<td mat-cell *matCellDef="let item">
|
||||
@if (canRead(item)) {
|
||||
<div class="flex items-center gap-x-2">
|
||||
<!-- TODO - handle read only in configure component? -->
|
||||
@if (canRead(item)) {
|
||||
<div
|
||||
class="pointer fa fa-info-circle primary-color"
|
||||
title="View Processor Details"></div>
|
||||
}
|
||||
<!-- TODO - support showing processor details in EditProcessorDialog -->
|
||||
<!-- @if (canRead(item)) {-->
|
||||
<!-- <div-->
|
||||
<!-- class="pointer fa fa-info-circle primary-color"-->
|
||||
<!-- title="View Processor Details"></div>-->
|
||||
<!-- }-->
|
||||
</div>
|
||||
}
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user