-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: compatibility for lifecycle filter of Endpoint (#2691)
### TL;DR Added support for endpoint lifecycle stage filtering based on server version compatibility. ### What changed? - Introduced a new feature flag 'endpoint-lifecycle-stage-filter' in the backend client for version 24.03.10 and above. - Modified the EndpointListPage to conditionally render the lifecycle stage filter Radio.Group based on server support. - Adjusted the API request to include the lifecycle stage filter only when supported by the server. ### How to test? 1. Ensure you're using a backend server version 24.03.10 or higher. 2. Navigate to the Endpoint List Page. 3. Verify that the lifecycle stage filter (Active/Destroyed) is visible. 4. Test the filter by selecting different options and confirm that the endpoint list updates accordingly. 5. Check that the API requests include the lifecycle stage filter parameter. ### Why make this change? This change enables more granular filtering of endpoints based on their lifecycle stage, improving user experience and efficiency when managing endpoints. By making this feature version-dependent, it ensures compatibility with older server versions while allowing newer versions to take advantage of the enhanced filtering capabilities.
- Loading branch information
Showing
2 changed files
with
37 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters