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

feat: add BAIPropertyFilter to Endpoint list #2689

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

yomybaby
Copy link
Member

@yomybaby yomybaby commented Sep 4, 2024

TL;DR

Added advanced filtering capabilities to the Endpoint List Page.

What changed?

  • Added support for filtering endpoints based on name, service endpoint, and owner (for admin/superadmin roles).
  • Implemented query parameter support for filters using useQueryParam.
  • Updated the layout to accommodate the new filter component.
  • Added loading state for filter operations.

How to test?

  1. Navigate to the Endpoint List Page.
  2. Verify that the new filter component is visible next to the lifecycle stage filter.
  3. Test filtering by endpoint name, service endpoint, and owner (if you have admin/superadmin privileges).
  4. Confirm that the filter persists in the URL and works correctly when the page is refreshed.
  5. Check that the loading indicator appears when applying filters.

Why make this change?

This change enhances the user experience by providing more granular control over endpoint filtering. It allows users to quickly find specific endpoints based on various criteria, improving efficiency in managing and monitoring endpoints, especially in environments with a large number of endpoints.

Copy link
Member Author

yomybaby commented Sep 4, 2024

@github-actions github-actions bot added the size:S 10~30 LoC label Sep 4, 2024
@yomybaby yomybaby force-pushed the feat/endpoint-filter-pagination-deferred-value branch 2 times, most recently from e492237 to 71bf153 Compare September 4, 2024 15:01
@yomybaby yomybaby force-pushed the feature/endpoint-baipropertyfilter branch from 9848ede to 0245f18 Compare September 4, 2024 15:01
@yomybaby yomybaby force-pushed the feat/endpoint-filter-pagination-deferred-value branch from 71bf153 to 4b3f594 Compare September 4, 2024 15:03
@yomybaby yomybaby force-pushed the feature/endpoint-baipropertyfilter branch from 0245f18 to 33d14c0 Compare September 4, 2024 15:03
Base automatically changed from feat/endpoint-filter-pagination-deferred-value to main September 4, 2024 15:06
@yomybaby yomybaby force-pushed the feature/endpoint-baipropertyfilter branch from 33d14c0 to 5c373bf Compare September 4, 2024 15:08
Copy link

github-actions bot commented Sep 4, 2024

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements
5.41% (-0.01% 🔻)
348/6438
🔴 Branches
4.86% (-0.01% 🔻)
218/4487
🔴 Functions
3.16% (-0% 🔻)
67/2123
🔴 Lines
5.29% (-0.01% 🔻)
333/6289

Test suite run success

93 tests passing in 12 suites.

Report generated by 🧪jest coverage report action from 228ea96

@yomybaby yomybaby force-pushed the feature/endpoint-baipropertyfilter branch from 5c373bf to 17dd74f Compare September 9, 2024 08:46
@github-actions github-actions bot added size:M 30~100 LoC and removed size:S 10~30 LoC labels Sep 9, 2024
@yomybaby yomybaby force-pushed the feature/endpoint-baipropertyfilter branch 2 times, most recently from f4015cd to 5734dfd Compare October 8, 2024 07:16
@github-actions github-actions bot added size:L 100~500 LoC and removed size:M 30~100 LoC labels Oct 8, 2024
@yomybaby yomybaby requested review from agatha197 and lizable October 8, 2024 07:18
@yomybaby yomybaby marked this pull request as ready for review October 8, 2024 07:18
@yomybaby yomybaby requested a review from ironAiken2 October 10, 2024 02:33
Copy link
Contributor

@ironAiken2 ironAiken2 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

graphite-app bot commented Oct 10, 2024

Merge activity

### TL;DR

Added advanced filtering capabilities to the Endpoint List Page.

### What changed?

- Added support for filtering endpoints based on name, service endpoint, and owner (for admin/superadmin roles).
- Implemented query parameter support for filters using `useQueryParam`.
- Updated the layout to accommodate the new filter component.
- Added loading state for filter operations.

### How to test?

1. Navigate to the Endpoint List Page.
2. Verify that the new filter component is visible next to the lifecycle stage filter.
3. Test filtering by endpoint name, service endpoint, and owner (if you have admin/superadmin privileges).
4. Confirm that the filter persists in the URL and works correctly when the page is refreshed.
5. Check that the loading indicator appears when applying filters.

### Why make this change?

This change enhances the user experience by providing more granular control over endpoint filtering. It allows users to quickly find specific endpoints based on various criteria, improving efficiency in managing and monitoring endpoints, especially in environments with a large number of endpoints.
@yomybaby yomybaby force-pushed the feature/endpoint-baipropertyfilter branch from 5734dfd to 228ea96 Compare October 10, 2024 04:01
@graphite-app graphite-app bot merged commit 228ea96 into main Oct 10, 2024
7 checks passed
@graphite-app graphite-app bot deleted the feature/endpoint-baipropertyfilter branch October 10, 2024 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L 100~500 LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants