Skip to content

[refactor] 웹 동아리 사이드바 공통화 및 상세 UI 정리#321

Merged
ff1451 merged 1 commit into
developfrom
320-refactor-웹-동아리-사이드바-공통화-및-상세-ui-정리
May 26, 2026

Hidden character warning

The head ref may contain hidden characters: "320-refactor-\uc6f9-\ub3d9\uc544\ub9ac-\uc0ac\uc774\ub4dc\ubc14-\uacf5\ud1b5\ud654-\ubc0f-\uc0c1\uc138-ui-\uc815\ub9ac"
Merged

[refactor] 웹 동아리 사이드바 공통화 및 상세 UI 정리#321
ff1451 merged 1 commit into
developfrom
320-refactor-웹-동아리-사이드바-공통화-및-상세-ui-정리

Conversation

@ff1451
Copy link
Copy Markdown
Collaborator

@ff1451 ff1451 commented May 26, 2026

✨ 요약

-  동아리 목록/상세 화면의 대학 정보  최근  동아리 사이드바를 공통 컴포넌트로 분리했습니다.
- 동아리 상세 소개 영역의 반복 카드 UI를 공통 컴포넌트와 데이터 매핑으로 정리했습니다.
- 상세 소개 아이콘 에셋을 web svg 디렉터리로 이동했습니다.



😎 해결한 이슈



Summary by CodeRabbit

릴리스 노트

  • 새로운 기능

    • 대학교 정보와 최근 본 동아리를 표시하는 새로운 사이드바 컴포넌트 추가
  • 개선 사항

    • 동아리 상세 페이지 레이아웃 개선으로 더 나은 정보 구성
    • 동아리 소개 섹션 UI 개선 및 미디어 카드 동적 표시

Review Change Stack

@ff1451 ff1451 added the 🔨 Refactor 코드 리팩토링 label May 26, 2026
@ff1451 ff1451 self-assigned this May 26, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 26, 2026

Warning

Review limit reached

@ff1451, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 56 minutes and 5 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 6ee34fb0-7c47-4c80-99ed-b24e6baa604d

📥 Commits

Reviewing files that changed from the base of the PR and between 85c7a60 and 1778418.

⛔ Files ignored due to path filters (2)
  • apps/web/src/assets/svg/add-mov-icon.svg is excluded by !**/*.svg, !apps/*/src/assets/** and included by **
  • apps/web/src/assets/svg/add-photo-icon.svg is excluded by !**/*.svg, !apps/*/src/assets/** and included by **
📒 Files selected for processing (3)
  • apps/web/src/components/UniversityClubSidebar/index.tsx
  • apps/web/src/pages/ClubDetail/index.tsx
  • apps/web/src/pages/UniversityClubList/index.tsx

Walkthrough

웹 동아리 목록(UniversityClubList)과 상세 페이지(ClubDetail)에서 중복되던 대학 정보/최근 본 동아리 사이드바를 UniversityClubSidebar 공통 컴포넌트로 분리하여 두 페이지에 적용합니다. 동시에 ClubDetail의 동아리 소개 영역을 정적 섹션에서 INTRODUCE_MEDIA_ITEMS 매핑 기반 동적 카드 렌더링으로 개선하고, UniversityClubList의 데이터 추출 로직을 data.pages 구조에 맞춰 단순화합니다.

Possibly related PRs

  • BCSDLab/KONECT_FRONT_END#309: ClubDetail 페이지와 UniversityClubList의 기존 구조를 UniversityClubSidebar 중심으로 재구성하는 직접 후속 작업이며, 동일 컴포넌트 계층을 수정합니다.
  • BCSDLab/KONECT_FRONT_END#307: UniversityClubList 페이지의 데이터 추출 로직(totalCount 변경) 및 사이드바 렌더링 개선이 해당 페이지 구현을 확장하는 것과 직접 연관입니다.
  • BCSDLab/KONECT_FRONT_END#319: 메인 PR이 RecentClubList 기반 사이드바를 UniversityClubSidebar로 교체하면서 #319에서 추가된 최근 본 동아리 UI 영역을 직접 재구성합니다.
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PR 제목이 실제 변경 사항을 정확히 반영하고 있습니다. 사이드바 공통화 및 상세 UI 정리가 주요 변경 내용이며 명확하고 간결합니다.
Linked Issues check ✅ Passed 코드 변경사항이 #320의 목표를 모두 충족합니다. 웹 동아리 사이드바 공통 컴포넌트 분리, 목록/상세 화면 적용, 소개 영역 UI 정리, 아이콘 에셋 경로 정돈이 완료되었습니다.
Out of Scope Changes check ✅ Passed 모든 변경사항이 #320의 요구사항 범위 내에 있습니다. 사이드바 공통화, 상세 화면 UI 정리, 아이콘 에셋 관리 등 목표한 작업만 포함되어 있습니다.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 320-refactor-웹-동아리-사이드바-공통화-및-상세-ui-정리

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.

@ff1451 ff1451 force-pushed the 320-refactor-웹-동아리-사이드바-공통화-및-상세-ui-정리 branch from 85c7a60 to 1778418 Compare May 26, 2026 09:47
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (2)
apps/web/src/pages/ClubDetail/index.tsx (1)

35-35: ⚡ Quick win

인라인 HEX 대신 디자인 토큰 클래스 사용이 필요합니다.

Line 35의 bg-[#F8FAFC]는 토큰 기반 클래스(또는 @konect/design-tokens CSS export)로 교체해주세요.

As per coding guidelines, "Use CSS export from @konect/design-tokens for design tokens, prioritized over inline values".

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/web/src/pages/ClubDetail/index.tsx` at line 35, Replace the inline HEX
background class used in the section element's className in ClubDetail (the
`bg-[`#F8FAFC`]` token in the <section> element) with the corresponding
design-token class from the CSS export of `@konect/design-tokens`; import/apply
the exported token class (instead of the hex utility) so the section uses the
canonical token name from `@konect/design-tokens` rather than the hard-coded
`#F8FAFC`.
apps/web/src/components/UniversityClubSidebar/index.tsx (1)

21-22: ⚡ Quick win

시맨틱 타이포 유틸리티로 통일해주세요.

Line 21, Line 22, Line 28의 text-[24px], text-[20px]text-h*/text-body* 계열로 치환하는 게 컨벤션에 맞습니다.

As per coding guidelines, "Prioritize semantic typography utilities (e.g., text-h1, text-body1) over generic utilities".

Also applies to: 28-28

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/web/src/components/UniversityClubSidebar/index.tsx` around lines 21 -
22, Replace the literal pixel typography classes in the UniversityClubSidebar
component with semantic typography utilities: change the h1 using
universityLabel from "text-[24px]" to the semantic header class (e.g.,
"text-h4") and change the p showing clubCount from "text-[20px]" to the semantic
body class (e.g., "text-body1"); also find the other occurrence mentioned (the
other "text-[20px]" on the same component) and replace it with the appropriate
"text-h*" or "text-body*" semantic class to match your design system. Ensure you
update the className strings on the h1, p, and the other element (referencing
universityLabel and clubCount usage) to use the semantic utilities consistently.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@apps/web/src/components/UniversityClubSidebar/index.tsx`:
- Around line 21-22: Replace the literal pixel typography classes in the
UniversityClubSidebar component with semantic typography utilities: change the
h1 using universityLabel from "text-[24px]" to the semantic header class (e.g.,
"text-h4") and change the p showing clubCount from "text-[20px]" to the semantic
body class (e.g., "text-body1"); also find the other occurrence mentioned (the
other "text-[20px]" on the same component) and replace it with the appropriate
"text-h*" or "text-body*" semantic class to match your design system. Ensure you
update the className strings on the h1, p, and the other element (referencing
universityLabel and clubCount usage) to use the semantic utilities consistently.

In `@apps/web/src/pages/ClubDetail/index.tsx`:
- Line 35: Replace the inline HEX background class used in the section element's
className in ClubDetail (the `bg-[`#F8FAFC`]` token in the <section> element) with
the corresponding design-token class from the CSS export of
`@konect/design-tokens`; import/apply the exported token class (instead of the hex
utility) so the section uses the canonical token name from `@konect/design-tokens`
rather than the hard-coded `#F8FAFC`.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2e972fd8-9dd7-4692-ace3-022eaf04299a

📥 Commits

Reviewing files that changed from the base of the PR and between 78490e7 and 85c7a60.

⛔ Files ignored due to path filters (2)
  • apps/web/src/assets/svg/add-mov-icon.svg is excluded by !**/*.svg, !apps/*/src/assets/** and included by **
  • apps/web/src/assets/svg/add-photo-icon.svg is excluded by !**/*.svg, !apps/*/src/assets/** and included by **
📒 Files selected for processing (3)
  • apps/web/src/components/UniversityClubSidebar/index.tsx
  • apps/web/src/pages/ClubDetail/index.tsx
  • apps/web/src/pages/UniversityClubList/index.tsx

@ff1451 ff1451 merged commit 928159e into develop May 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 Refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[refactor] 웹 동아리 사이드바 공통화 및 상세 UI 정리

1 participant