Skip to content

Conversation

@artemmufazalov
Copy link
Member

@artemmufazalov artemmufazalov commented Sep 4, 2025

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
378 373 0 3 2
Test Changes Summary ⏭️2

⏭️ Skipped Tests (2)

  1. Scroll to row, get shareable link, navigate to URL and verify row is scrolled into view (tenant/diagnostics/tabs/queries.test.ts)
  2. Copy result button copies to clipboard (tenant/queryEditor/queryEditor.test.ts)

Bundle Size: ✅

Current: 85.39 MB | Main: 85.39 MB
Diff: +0.36 KB (0.00%)

✅ Bundle size unchanged.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

@artemmufazalov artemmufazalov marked this pull request as ready for review September 4, 2025 09:49
Copy link
Contributor

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 fixes an issue with passing the database parameter when handling peer role filters in the Network section. The changes ensure that the peer role filter is conditionally applied and correctly defaults to 'database' when appropriate.

  • Updates the useNodesPageQueryParams hook to accept a withPeerRoleFilter parameter for conditional peer role filtering
  • Modifies parseNodesPeerRoleFilter to support a default value parameter
  • Updates all callers to pass the new withPeerRoleFilter parameter

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/containers/Nodes/useNodesPageQueryParams.ts Added withPeerRoleFilter parameter and conditional peer role logic with database default
src/containers/Nodes/PeerRoleFilter/utils.tsx Added defaultValue parameter to parseNodesPeerRoleFilter function
src/containers/Nodes/PaginatedNodes/PaginatedNodes.tsx Updated useNodesPageQueryParams call to include withPeerRoleFilter prop
src/containers/Nodes/PaginatedNodes/NodesComponent.tsx Updated useNodesPageQueryParams call to include withPeerRoleFilter prop
src/containers/Nodes/PaginatedNodes/GroupedNodesComponent.tsx Updated useNodesPageQueryParams call to include withPeerRoleFilter prop
src/containers/Nodes/NodesControls/NodesControls.tsx Updated useNodesPageQueryParams call to include withPeerRoleFilter prop

@artemmufazalov artemmufazalov added this pull request to the merge queue Sep 4, 2025
Merged via the queue into main with commit de83881 Sep 4, 2025
10 of 11 checks passed
@artemmufazalov artemmufazalov deleted the fix-peer-role branch September 4, 2025 10:29
@artemmufazalov artemmufazalov self-assigned this Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants