Prediction Alert Rule Builder 화면의 Kapacitor Configuration으로 화면 전환 버튼 Hide
Closed this issue · 1 comments
jaegeunha commented
이슈 내용
Prediction Alert Rule Builder 화면에서 Alert Handlers 수정 버튼을 숨겨야 함.
- Kapacitor Connection 페이지는 Source ID와 Kapacitor ID가 필요
- Prediction Alert Rule Builder 화면에서 수정할 Kapacitor의 Source ID와 Kapacitor ID를 확인하여 Kapacitor Connection 화면으로 전환하는 데에는 예외가 많다.
Kapacitor Connection 화면
Kapacitor Connection URL
버튼 비활성화 필요한 화면
해결 방안
- Alert Handler 컴포넌트에 Props로 JSX 요소를 전달
- Alert Handler 컴포넌트 동작
- 해당 Props가 있는 경우 버튼을 숨기고 전달된 JSX 요소를 렌더링
- 해당 Props가 없는 경우 기존 방식 유지
jaegeunha commented
Production 환경에서 테스트 후 Review 상태로 변경 예정