Feature/policy api#44
Merged
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthrough권한 및 임계값 관리 기능을 클라이언트 기반에서 서버 기반으로 전환하고, 폴링 동작과 무제한 값 지원(-1)을 추가하며, 새로운 API 서비스 및 타입 정의를 도입합니다. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Client as 클라이언트<br/>(DataThresholdSlider)
participant Server as 서버<br/>(API)
participant DB as 데이터베이스
User->>Client: 임계값 변경
Client->>Client: 로컬 상태 업데이트
Client->>Client: debounce 타이머 설정
Note over Client: 1초 지연 후<br/>서버 요청
Client->>Server: PATCH /shared-pools/limit<br/>또는 /lines/thresholds
Server->>DB: 임계값 데이터 업데이트
DB-->>Server: 업데이트 확인
Server-->>Client: 200 OK
Client->>Client: UI 갱신
sequenceDiagram
participant User
participant Client as 클라이언트<br/>(PermissionManager)
participant Server as 서버<br/>(API)
participant DB as 데이터베이스
Client->>Server: GET /member-permissions/family
Server->>DB: 권한 정보 조회
DB-->>Server: 권한 데이터
Server-->>Client: MemberPermissionsResponse
Client->>Client: 초기 행 데이터 생성<br/>(useMemo)
User->>Client: 권한 토글 변경
Client->>Client: 행 상태 업데이트
Client->>Client: 변경 사항 추적
User->>Client: 확인 모달에서 적용 클릭
Client->>Server: PATCH /member-permissions<br/>PatchPermissionRequest[]
Server->>DB: 권한 데이터 업데이트
DB-->>Server: 업데이트 확인
Server-->>Client: 200 OK
Client->>Client: 모달 닫기<br/>초기 상태 리셋
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Mar 15, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
이슈
✔️ 체크리스트
🔍 작업 내용
Summary by CodeRabbit
릴리스 노트
신기능