-
Notifications
You must be signed in to change notification settings - Fork 72
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: display only active endpoints in EndpointSelect #2718
fix: display only active endpoints in EndpointSelect #2718
Conversation
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. |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 5.42% (-0% 🔻) |
337/6220 |
🔴 | Branches | 4.99% (-0% 🔻) |
214/4290 |
🔴 | Functions | 3.08% | 63/2045 |
🔴 | Lines | 5.32% (-0% 🔻) |
323/6075 |
Show files with reduced coverage 🔻
St.❔ |
File | Statements | Branches | Functions | Lines |
---|---|---|---|---|---|
🔴 | ... / EndpointSelect.tsx |
0% | 0% (-100% 🔻) |
0% | 0% |
Test suite run success
90 tests passing in 11 suites.
Report generated by 🧪jest coverage report action from 53ce7b4
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
|
**Changes:** This PR enhances the `EndpointSelect` component by adding support for filtering endpoints based on their lifecycle stage. The main changes include: 1. Importing the `useSuspendedBackendaiClient` hook. 2. Adding a `filter` parameter to the `EndpointSelectQuery`. 3. Implementing a conditional filter based on the client's support for the 'endpoint-lifecycle-stage-filter' feature. **Rationale:** The addition of the lifecycle stage filter allows for more precise endpoint selection, showing only endpoints in the "created" stage when supported by the client. This improves the user experience by presenting a more relevant list of endpoints. **Effects:** - Users will see a filtered list of endpoints in the "created" stage when using a client that supports this feature. - Developers can now leverage the new filter parameter in the `EndpointSelectQuery` for more flexible endpoint querying.
26d226b
to
53ce7b4
Compare
Changes:
This PR enhances the
EndpointSelect
component by adding support for filtering endpoints based on their lifecycle stage. The main changes include:useSuspendedBackendaiClient
hook.filter
parameter to theEndpointSelectQuery
.Rationale:
The addition of the lifecycle stage filter allows for more precise endpoint selection, showing only endpoints in the "created" stage when supported by the client. This improves the user experience by presenting a more relevant list of endpoints.
Effects:
EndpointSelectQuery
for more flexible endpoint querying.