-
Notifications
You must be signed in to change notification settings - Fork 15
fix: add network section #2635
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
fix: add network section #2635
Conversation
bugbot run |
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 adds a network section to the tenant diagnostics interface, providing visibility into network statistics such as ping times and clock skew across nodes. This enhancement extends the existing tenant overview with network monitoring capabilities.
Key changes:
- Adds network tab to tenant metrics with ping time and clock skew views
- Implements network speed formatting utilities for metrics display
- Creates dedicated components for displaying top nodes by network performance
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
src/utils/metrics/formatMetricLegend.ts |
Adds formatSpeedLegend function for formatting network speed metrics |
src/store/reducers/tenant/types.ts |
Adds TenantNetworkTab type definition |
src/store/reducers/tenant/constants.ts |
Adds network tab constants including ping and skew subtabs |
src/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json |
Updates internationalization strings for network features |
src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.tsx |
Integrates network component into main overview |
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/useTenantNetworkQueryParams.ts |
Handles URL query parameters for network tab state |
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/columns.ts |
Defines table columns for ping and skew views |
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/TopNodesBySkew.tsx |
Component displaying nodes sorted by clock skew |
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/TopNodesByPing.tsx |
Component displaying nodes sorted by ping time |
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/TenantNetwork.tsx |
Main network section component with tab navigation |
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/TenantNetwork.scss |
Styling for network section layout |
src/containers/Tenant/Diagnostics/TenantOverview/TabCard/TabCard.tsx |
Removes unused clickable prop from TabCard component |
src/containers/Tenant/Diagnostics/TenantOverview/TabCard/TabCard.scss |
Simplifies CSS by removing conditional clickable styling |
src/containers/Tenant/Diagnostics/TenantOverview/MetricsTabs/MetricsTabs.tsx |
Integrates network card into metrics tabs with proper formatting |
src/containers/Tenant/Diagnostics/TenantOverview/TenantNetwork/useTenantNetworkQueryParams.ts
Show resolved
Hide resolved
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.
✅ Bugbot reviewed your changes and found no bugs!
1376bff
to
130f828
Compare
Closes #2448
Stand
CI Results
Test Status: ❌ FAILED
📊 Full Report
Test Changes Summary ⏭️2
⏭️ Skipped Tests (2)
Bundle Size: 🔺
Current: 85.35 MB | Main: 85.33 MB
Diff: +0.02 MB (0.02%)
ℹ️ CI Information