-
Notifications
You must be signed in to change notification settings - Fork 81
Sort processing receivers statistics based on thread name #9181
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
Sort processing receivers statistics based on thread name #9181
Conversation
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 only removed
@if (adapter) {
...
}
which was wrapping all of the html, and update the indenting on every line
|
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.
Pull Request Overview
This PR aims to improve the readability and reliability of the UI components by sorting processing receiver statistics based on their thread name and by standardizing type definitions and HTML formatting.
- Updated adapter-status components to use non-null assertions and refined HTML formatting for consistency.
- Exported the StatisticsKeeper type and added a helper method to sort processing threads alphabetically.
- Enhanced iteration tracking in adapterstatistics HTML templates for clearer identification of list items.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
console/frontend/src/main/frontend/src/app/views/status/adapter-status/adapter-status.component.ts | Changed adapter from nullable to non-nullable using the non-null assertion operator. |
console/frontend/src/main/frontend/src/app/views/status/adapter-status/adapter-status.component.html | Streamlined HTML formatting and removed redundant code. |
console/frontend/src/main/frontend/src/app/views/adapterstatistics/adapterstatistics.service.ts | Exported the StatisticsKeeper type for broader usage. |
console/frontend/src/main/frontend/src/app/views/adapterstatistics/adapterstatistics.component.ts | Introduced getSortedProcessingThreads() to sort threads by name. |
console/frontend/src/main/frontend/src/app/views/adapterstatistics/adapterstatistics.component.html | Updated @for loops to use clearer tracking by unique thread names and pipe name. |
@Input({ required: true }) loadFlowInline = true; | ||
@Input({ required: true }) adapterShowContent: Record<string, boolean> = {}; |
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.
Kan je dit niet ook gelijk doen dan?
No description provided.