-
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: disable edit button based on endpoint status #2695
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. Join @ironAiken2 and the rest of your teammates on Graphite |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 5.48% (-0% 🔻) |
337/6151 |
🔴 | Branches | 5.07% (+0% 🔼) |
214/4219 |
🔴 | Functions | 3.12% (-0% 🔻) |
63/2022 |
🔴 | Lines | 5.38% (-0% 🔻) |
323/6007 |
Test suite run success
90 tests passing in 11 suites.
Report generated by 🧪jest coverage report action from 612b54c
7485d56
to
dbe9101
Compare
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.
dbe9101
to
f3c55d5
Compare
Merge activity
|
### TL;DR An update that prevents modifications to an endpoint in `destroyed` and `destroying` state. ### What changed? - Updated status checks to include both 'destroying' and 'destroyed' states - Disabled certain buttons and actions when an endpoint is in 'destroying' or 'destroyed' state [Additionally] - Changed "LLM Playground" tooltip to "LLM Chat Test" in EndpointDetailPage ### How to test? 1. Navigate to the Endpoint List and Detail pages 2. Verify that buttons are properly disabled for endpoints in 'destroying' or 'destroyed' states 3. Check that the tooltip for the LLM chat test button now reads "LLM Chat Test" 4. Attempt to perform actions on endpoints in various states to ensure correct behavior ### Why make this change? This change improves the user experience by: 1. Providing more accurate UI feedback for endpoint statuses 2. Preventing actions on endpoints that are no longer active 3. Ensuring consistency in how endpoint statuses are handled across the application 4. Clarifying the purpose of the LLM chat test button with an updated tooltip --- <!-- Please precisely, concisely, and concretely describe what this PR changes, the rationale behind codes, and how it affects the users and other developers. --> **Checklist:** (if applicable) - [ ] Mention to the original issue - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
f3c55d5
to
612b54c
Compare
TL;DR
An update that prevents modifications to an endpoint in
destroyed
anddestroying
state.What changed?
[Additionally]
How to test?
Why make this change?
This change improves the user experience by:
Checklist: (if applicable)