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-12754] - Flow Configuration History #8399

Merged
merged 6 commits into from
Feb 14, 2024

Conversation

rfellows
Copy link
Contributor

  • support selection
  • support pagination
  • support sorting
  • added time controls, also updated provenance to use them too
  • allow for clearing of filters
  • use date range filter
  • more details dialog for flow config history
  • support purge history

NIFI-12754

@rfellows rfellows added the new ui Pull requests for work relating to the new user interface being developed. label Feb 12, 2024
Copy link
Contributor

@mcgilman mcgilman left a 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! Looking great so far. I really like the time inputs. Thanks for updating that in the Provenance search too. I did notice a few minor things on first-pass that I've detailed below.

Copy link
Contributor

@mcgilman mcgilman left a 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! Just a couple minor things I noticed on this pass.

styleUrls: ['./flow-configuration-history-table.component.scss']
})
export class FlowConfigurationHistoryTable {
@Input() selectedHistoryActionId: number | null = null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be an @Input and saved in the state. We have a few other cases of table selection scenarios where we are not deep linking and the component just internally manages the selected row.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't "need" to be. But it was a simple enough change to migrate from using the selection from the route to this. And it sets us up to change back to use the route for selection in the future if we choose.

* support selection
* support pagination
* support sorting
* added time controls, also updated provenance to use them too
* allow for clearing of filters
* use date range filter
* more details dialog for flow config history
* support purge history
…one to purge confirmation message * reset pagination state on filter, clear filter, and purge * only resubmit query when filter by changes IF there is a filter term specified
Copy link
Contributor

@mcgilman mcgilman left a 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! Looks good. +1 will merge once CI completes.

@mcgilman mcgilman merged commit 2792aa7 into apache:main Feb 14, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new ui Pull requests for work relating to the new user interface being developed.
Projects
None yet
2 participants