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

fix: compatibility for lifecycle filter of Endpoint #2691

Merged

Commits on Sep 5, 2024

  1. 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.
    yomybaby committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    6b90dcf View commit details
    Browse the repository at this point in the history