Skip to content

deploy-20251001#646

Merged
Cassiiopeia merged 23 commits intodeployfrom
main
Oct 1, 2025
Merged

deploy-20251001#646
Cassiiopeia merged 23 commits intodeployfrom
main

Conversation

@Cassiiopeia
Copy link
Copy Markdown
Member

@Cassiiopeia Cassiiopeia commented Oct 1, 2025

Summary by CodeRabbit

  • New Features
    • 공지사항 상세 페이지 추가(로딩 스켈레톤 포함) 및 좋아요/취소 기능 지원
    • 고정(핀) 공지 다건 표기 및 목록 상단 노출
  • Style
    • 공지 카드/핀 카드 레이아웃 개선 및 접근성 향상(키보드 포커스·라벨)
    • 필터링 바텀시트/태그/버튼의 타이포그래피·색상 토큰·레이아웃 정리
    • 문서 카드 최소 높이 제거로 가변 높이 지원
  • Documentation
    • 빌드 성공/실패 기준 가이드 추가
  • Chores
    • 앱 및 동기화 버전 갱신 (README, package, version 설정)

actions-user and others added 21 commits September 5, 2025 17:08
…_공지사항_섹션_수정

공지사항 섹션 수정 : refactor : 빌드오류 확인 및 가이드라인 보강 https://github.com/Sejong-…
…_자료필터링_UI_기능_수정

자료필터링 UI 기능 수정 : feat : 필터링 UI개선 및 라벨 리네임 https://github.com/Sejong-B…
…PIN공지사항_API_개발에_대한_연결

20251001 #544 기능추가 공지사항 pin공지사항 api 개발에 대한 연결
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Oct 1, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • main

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

이 PR은 공지사항 기능을 확장하고 UI를 정리합니다. 공지 상세 페이지와 스켈레톤, 고정 공지 목록, 공지 좋아요/취소 API를 추가했으며, 관련 타입을 확장했습니다. 필터/버튼/태그 컴포넌트의 스타일을 수정하고 문서/버전 정보를 업데이트했습니다. 기존 공지 목록/카드 라우팅과 API 함수명이 변경되었습니다.

Changes

Cohort / File(s) Change summary
문서/버전 업데이트
README.md, claude.md, package.json, version.yml
최신 버전/날짜 갱신, 빌드 성공/실패 기준 문서 추가, 패키지 버전 0.1.25로 상향, 동기화 버전/타임스탬프 업데이트
공지 API 확장
src/apis/noticePostApi.ts, src/apis/likeApi.ts
공지 필터 API 함수명 변경(get→fetch), 단건 조회/고정 공지 조회 추가, 공지 좋아요/취소 엔드포인트 추가
공지 타입 추가/수정
src/types/api/entities/postgres/noticePost.ts, src/types/api/requests/noticePostCommand.ts, src/types/api/responses/noticePostDto.ts
NoticePost에 isPinned?: boolean 추가, NoticePostCommand에 noticePostId?/postId? 추가, NoticePostDto에 noticePosts?: NoticePost[] 추가
상수 라벨 정리
src/types/api/constants/documentType.ts, src/types/api/constants/sortType.ts
문서/정렬 라벨 텍스트 개정(간결화 및 띄어쓰기 수정)
공지 페이지/컴포넌트 추가/수정
src/app/notice/[id]/page.tsx, src/app/notice/page.tsx, src/components/notice/NoticeDetail.tsx, src/components/common/skeletons/NoticeDetailSkeleton.tsx, src/components/notice/NoticeCard.tsx, src/components/notice/PinnedNoticeCard.tsx
공지 상세 페이지/컴포넌트/스켈레톤 추가, 고정 공지 목록 로드 및 렌더링, 카드 레이아웃/라우팅을 상세 페이지(/notice/{id})로 변경 및 UI 정리
공통 필터/버튼/태그 UI 변경
src/components/common/DocumentFilteringBottomSheet.tsx, src/components/common/QuestionFilteringBottomSheet.tsx, src/components/common/buttons/FilteringButton.tsx, src/components/common/tags/DocumentFilteringTag.tsx, src/components/common/tags/QuestionFilteringTag.tsx
activeColor prop 제거 및 레이아웃/테마 토큰 반영, 액션 영역 구조 변경, 버튼 텍스트/타이포/배경 로직 변경, 태그 스타일 간소화
문서 영역 소소한 변경
src/components/documentMain/DocumentCard.tsx, src/components/documentMain/DocumentRequestCardList.tsx, src/app/board/document/sub/my-faculty/page.tsx
카드 최소 높이 제거, thumbnailUrl 전달 표기 단순화, 필터 바텀시트 activeColor 전달 제거
랜딩 섹션 API 호출명 변경
src/components/landing/NoticeSection.tsx
공지 필터 API 호출을 fetchFilteredNoticePosts로 교체

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: 에러 시 토스트 + 뒤로가기 또는 홈 이동
Loading
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: 실패 시 롤백 및 경고 토스트
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Poem

귀가 쫑긋, 핀 공지 반짝 빛나네 ✨
한 칸 더 들어가니 상세가 인사하네
톡- 좋아요, 살짝- 취소도 문제없지
태그는 또렷, 버튼은 당당히 “적용”이지!
오늘도 코드밭 뛰노는 토끼, 깡총 깡총 🐇

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch main

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 1, 2025

@CodeRabbit summary

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Oct 1, 2025

✅ Actions performed

Summary regeneration triggered.

@Cassiiopeia Cassiiopeia merged commit 01de10f into deploy Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants