Skip to content

Commit ebdada1

Browse files
committed
fix: render AutoScalingRuleList when prometheus auto-scaling rule is supported (#6763)
resolves #6764 ## Conditional rendering for AutoScalingRuleList component This PR introduces conditional rendering for the `AutoScalingRuleList` component on the endpoint detail page. When `isSupportPrometheusAutoScalingRule` is enabled, the new component is rendered with the deployment ID, endpoint destruction status, user ownership permissions, and fetch key. The component receives proper configuration including the global deployment ID conversion and user email validation to determine ownership rights. When Prometheus auto-scaling is not supported, the existing auto-scaling rules table implementation is preserved as a fallback. **Checklist:** - [ ] Documentation - [ ] Minimum 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
1 parent 2cb017e commit ebdada1

1 file changed

Lines changed: 236 additions & 221 deletions

File tree

0 commit comments

Comments
 (0)