Skip to content

Conversation

Matthbo
Copy link
Member

@Matthbo Matthbo commented Jun 20, 2025

No description provided.

@Matthbo Matthbo self-assigned this Jun 20, 2025
@Matthbo Matthbo requested a review from philipsens June 20, 2025 14:44
Copy link
Member Author

@Matthbo Matthbo Jun 20, 2025

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

@Matthbo Matthbo linked an issue Jun 20, 2025 that may be closed by this pull request
Copy link

Copy link
Contributor

@Copilot Copilot AI left a 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.

Comment on lines 29 to 30
@Input({ required: true }) loadFlowInline = true;
@Input({ required: true }) adapterShowContent: Record<string, boolean> = {};
Copy link
Member

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?

@philipsens philipsens merged commit c580ead into master Jun 23, 2025
35 checks passed
@philipsens philipsens deleted the issue/9131-statistics-used-threads-not-sorted branch June 23, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

statistics used threads not sorted
2 participants