Conversation
…_공지사항_섹션_수정 공지사항 섹션 수정 : refactor : 빌드오류 확인 및 가이드라인 보강 https://github.com/Sejong-…
…_형식별_아이콘_추가 UI 수정 : feat : ui 수정 https://github.com/Sejong-Balsamic/Malsami-FE/is…
…_자료필터링_UI_기능_수정 자료필터링 UI 기능 수정 : feat : 필터링 UI개선 및 라벨 리네임 https://github.com/Sejong-B…
…PIN공지사항_API_개발에_대한_연결 20251001 #544 기능추가 공지사항 pin공지사항 api 개발에 대한 연결
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Walkthrough이 PR은 공지사항 기능을 확장하고 UI를 정리합니다. 공지 상세 페이지와 스켈레톤, 고정 공지 목록, 공지 좋아요/취소 API를 추가했으며, 관련 타입을 확장했습니다. 필터/버튼/태그 컴포넌트의 스타일을 수정하고 문서/버전 정보를 업데이트했습니다. 기존 공지 목록/카드 라우팅과 API 함수명이 변경되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor U as User
participant P as /notice/[id] Page
participant API as noticePostApi
participant S as Server
participant UI as NoticeDetail
U->>P: 페이지 진입 (/notice/{id})
P->>API: fetchNoticePost({ noticePostId/postId })
API->>S: POST /api/notice/get
S-->>API: NoticePostDto(단건)
API-->>P: 데이터 반환
P->>UI: NoticeDetail 렌더
note over P,UI: 에러 시 토스트 + 뒤로가기 또는 홈 이동
sequenceDiagram
autonumber
actor U as User
participant UI as NoticeDetail
participant L as likeApi
participant S as Server
U->>UI: 좋아요 토글 클릭
UI->>UI: 낙관적 업데이트(카운트/상태)
alt 취소(이미 좋아요 상태)
UI->>L: cancelNoticeBoardLike({ postId })
L->>S: POST /api/notice/like/cancel
else 좋아요
UI->>L: noticeBoardLike({ postId })
L->>S: POST /api/notice/like
end
S-->>UI: 응답
note over UI: 실패 시 롤백 및 경고 토스트
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
✨ Finishing touches🧪 Generate unit tests
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 |
|
@CodeRabbit summary |
✅ Actions performedSummary regeneration triggered. |
Summary by CodeRabbit