-
Notifications
You must be signed in to change notification settings - Fork 73
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
fix: compatibility for lifecycle filter of Endpoint #2691
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 5.48% (-0% 🔻) |
337/6149 |
🔴 | Branches | 5.07% (-0% 🔻) |
214/4222 |
🔴 | Functions | 3.12% | 63/2021 |
🔴 | Lines | 5.38% (-0% 🔻) |
323/6005 |
Test suite run success
85 tests passing in 11 suites.
Report generated by 🧪jest coverage report action from 6b90dcf
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.
LGTM
Merge activity
|
### 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.
d9227f7
to
6b90dcf
Compare
Your org requires the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
TL;DR
Added support for endpoint lifecycle stage filtering based on server version compatibility.
What changed?
How to test?
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.