Skip to content

feat: 홈 대학교 경희대 추가 - #572

Merged
yoonc01 merged 1 commit into
mainfrom
feat/add-kyunghee-home-university
Jun 23, 2026
Merged

feat: 홈 대학교 경희대 추가#572
yoonc01 merged 1 commit into
mainfrom
feat/add-kyunghee-home-university

Conversation

@yoonc01

@yoonc01 yoonc01 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

작업 내용

홈에 경희대학교를 추가했습니다

@yoonc01 yoonc01 self-assigned this Jun 23, 2026
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
solid-connect-university-web Ready Ready Preview, Comment Jun 23, 2026 3:26pm
solid-connection-web Ready Ready Preview, Comment Jun 23, 2026 3:26pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
solid-connect-web-admin Skipped Skipped Jun 23, 2026 3:26pm

@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

  1. 타입 정의 변경

    • HomeUniversityName 열거형에서 INCHEONSUNGSHIN이 제거되고 KYUNGHEE = "경희대학교"가 추가됨
    • HomeUniversitySlug 유니온 타입이 "inha" | "kyunghee"로 축소됨
    • 두 앱(apps/web, apps/university-web) 동일하게 적용
  2. 상수 데이터 교체

    • HOME_UNIVERSITY_SLUG_MAP / HOME_UNIVERSITY_TO_SLUG_MAPkyunghee 매핑 추가 및 기존 매핑 제거
    • HOME_UNIVERSITY_LISThomeUniversityId: 4인 경희대 항목 반영
    • HOME_UNIVERSITY_SLUGS["inha", "kyunghee"]로 변경
  3. Next.js rewrite 패턴 수정

    • universitySlugPattern(inha|incheon|sungshin)(inha|kyunghee)로 변경

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • wibaek
  • enunsnv
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning PR 설명이 최소한의 내용만 포함하고 있으며, 필수 섹션인 '관련 이슈'가 누락되었고 '특이 사항'도 작성되지 않았습니다. 관련 이슈 번호를 추가하고, 인천대/성신여대 제거와 같은 중요한 변경사항을 '특이 사항'에 명시해 주세요.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed PR 제목은 경희대학교 추가라는 주요 변경사항을 명확하게 요약하고 있으며, 간결하고 구체적입니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/add-kyunghee-home-university

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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 91064130ed

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/university-web/src/constants/university.ts

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 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.

Inline comments:
In `@apps/university-web/src/constants/university.ts`:
- Line 110: The removal of university slugs from the HOME_UNIVERSITY_SLUGS array
will cause existing URLs for those removed slugs to result in 404 errors since
dynamicParams is set to false. To maintain user experience and SEO, add redirect
rules in next.config.js (or the Next.js configuration file) that map the old
slug-based URLs (for the universities that were removed) to either appropriate
new locations or a fallback page. This will preserve the user experience for
existing links and search engine rankings by using proper HTTP redirects instead
of letting them become broken links.

In `@apps/web/next.config.mjs`:
- Line 24: The universitySlugPattern in next.config.mjs has been narrowed to
only include inha and kyunghee, removing incheon and sungshin. This breaks
backward compatibility for existing URLs using those slugs. Add a redirects()
function export to next.config.mjs that handles the removed slug patterns by
redirecting old incheon and sungshin URLs to the inha destination, using
temporary redirects (permanent: false) to maintain future flexibility. The
redirects should cover both the list paths (like /university/list/incheon) and
dynamic paths (like /university/incheon/:path*) for those removed slugs.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: b5754969-9317-4866-818b-184d3ee18fe7

📥 Commits

Reviewing files that changed from the base of the PR and between 2db882f and 9106413.

⛔ Files ignored due to path filters (2)
  • apps/university-web/public/images/univs/kyunghee.png is excluded by !**/*.png
  • apps/web/public/images/univs/kyunghee.png is excluded by !**/*.png
📒 Files selected for processing (5)
  • apps/university-web/src/constants/university.ts
  • apps/university-web/src/types/university.ts
  • apps/web/next.config.mjs
  • apps/web/src/constants/university.ts
  • apps/web/src/types/university.ts

Comment thread apps/university-web/src/constants/university.ts
Comment thread apps/web/next.config.mjs
@yoonc01
yoonc01 merged commit ea0b239 into main Jun 23, 2026
13 checks passed
@yoonc01
yoonc01 deleted the feat/add-kyunghee-home-university branch June 23, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants