Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NIFI-13968] add title tooltip for truncated attribute values #9492

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,10 @@ <h2 mat-dialog-title>FlowFile</h2>
<div class="unset neutral-color">Empty string set</div>
</ng-container>
<ng-template #nonEmptyValue>
<div class="tertiary-color font-medium" *ngIf="title == null; else valueWithTitle">
<div
class="tertiary-color font-medium truncate"
[title]="value"
*ngIf="title == null; else valueWithTitle">
{{ value }}
</div>
<ng-template #valueWithTitle>
Expand All @@ -221,7 +224,7 @@ <h2 mat-dialog-title>FlowFile</h2>
</ng-template>
<ng-template #formatContentValue let-value let-title="title">
<ng-container *ngIf="value != null; else nullValue">
<div class="tertiary-color font-medium" *ngIf="title == null; else valueWithTitle">
<div class="tertiary-color font-medium truncate" [title]="value" *ngIf="title == null; else valueWithTitle">
{{ value }}
</div>
<ng-template #valueWithTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,14 +426,13 @@ <h2 mat-dialog-title>Provenance Event</h2>
</ng-container>
<ng-template #nonEmptyValue>
<div
class="tertiary-color font-medium overflow-ellipsis overflow-hidden whitespace-nowrap"
class="tertiary-color font-medium truncate"
[title]="value"
*ngIf="title == null; else valueWithTitle">
{{ value }}
</div>
<ng-template #valueWithTitle>
<div
class="tertiary-color font-medium overflow-ellipsis overflow-hidden whitespace-nowrap"
[title]="title">
<div class="tertiary-color font-medium truncate" [title]="title">
{{ value }}
</div>
</ng-template>
Expand All @@ -445,15 +444,11 @@ <h2 mat-dialog-title>Provenance Event</h2>
</ng-template>
<ng-template #formatContentValue let-value let-title="title">
<ng-container *ngIf="value != null; else nullValue">
<div
class="tertiary-color font-medium overflow-ellipsis overflow-hidden whitespace-nowrap"
*ngIf="title == null; else valueWithTitle">
<div class="tertiary-color font-medium truncate" [title]="value" *ngIf="title == null; else valueWithTitle">
{{ value }}
</div>
<ng-template #valueWithTitle>
<div
class="tertiary-color font-medium overflow-ellipsis overflow-hidden whitespace-nowrap"
[title]="title">
<div class="tertiary-color font-medium truncate" [title]="title">
{{ value }}
</div>
</ng-template>
Expand Down