-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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-12415] Counters #8077
[NIFI-12415] Counters #8077
Conversation
* populate counter the table. * support counter reset. * filtering by name and by context * sorting, including initial sort * added basic tests
Will review... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @rfellows! Looks great. Just a couple minor code-cleanup comments.
} | ||
|
||
@Output() resetCounter: EventEmitter<CounterEntity> = new EventEmitter<CounterEntity>(); | ||
@Output() selectCounter: EventEmitter<CounterEntity> = new EventEmitter<CounterEntity>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. No it is not needed.
import { MatTableDataSource } from '@angular/material/table'; | ||
import { MatSort } from '@angular/material/sort'; | ||
import { FormBuilder, FormGroup } from '@angular/forms'; | ||
import { debounceTime, filter } from 'rxjs'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think filter
is unused.
* limitations under the License. | ||
*/ | ||
|
||
import { AfterViewInit, Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think OnInit
is unused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates @rfellows! Will merge once CI completes.
Summary
NIFI-12415
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000
NIFI-00000
Pull Request Formatting
main
branchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
mvn clean install -P contrib-check
Licensing
LICENSE
andNOTICE
filesDocumentation