Skip to content

[feature] 동아리 부스 클릭시 이동되게 변경#1313

Merged
lepitaaar merged 8 commits into
develop-fefrom
feature/navigate-to-clubdetail
Mar 4, 2026
Merged

[feature] 동아리 부스 클릭시 이동되게 변경#1313
lepitaaar merged 8 commits into
develop-fefrom
feature/navigate-to-clubdetail

Conversation

@lepitaaar
Copy link
Copy Markdown
Contributor

@lepitaaar lepitaaar commented Mar 4, 2026

🚀 릴리즈 PR인 경우 릴리즈 템플릿으로 전환해 주세요. (Preview 탭에서 클릭)

#️⃣연관된 이슈

📝작업 내용

스크린샷 2026-03-05 00 52 43

보이는 동아리 부스 클릭시 해당 동아리의 상세페이지로 이동되게 변경하였습니다.
참여하는 모든동아리 정상적으로 이동되는것 확인했습니다.

중점적으로 리뷰받고 싶은 부분(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

논의하고 싶은 부분(선택)

논의하고 싶은 부분이 있다면 작성해주세요.

🫡 참고사항

Summary by CodeRabbit

  • 새로운 기능

    • 페스티벌 부스 클릭으로 클럽 상세 페이지 이동 기능 추가 (웹뷰 및 일반 웹 라우트 지원)
    • 클럽 상세용 웹뷰 전용 URL 패턴(/webview/club/@clubname) 추가
  • 향상 사항

    • 클릭 가능한 부스에 커서 포인터 스타일 적용
    • 부스 클릭 시 분석 이벤트(FESTIVAL_BOOTH_CLICKED) 전송 및 네비게이션 처리
  • 사소한 변경

    • 스토리북에 라우팅 컨텍스트(MemoryRouter) 추가

@lepitaaar lepitaaar self-assigned this Mar 4, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 4, 2026

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

Project Deployment Actions Updated (UTC)
moadong Ready Ready Preview, Comment Mar 4, 2026 4:08pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 4, 2026

Warning

Rate limit exceeded

@lepitaaar has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 16 minutes and 52 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5a31491d-714f-4871-bb6e-4fdc8d6d9c61

📥 Commits

Reviewing files that changed from the base of the PR and between a6a11e1 and e917537.

📒 Files selected for processing (1)
  • frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.stories.tsx

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

💥 Parsing errors (1)
Validation error: Invalid regex pattern for base branch. Received: "**" at "reviews.auto_review.base_branches[0]"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Walkthrough

페스티벌 부스 클릭 시 믹스패널 이벤트 전송과 isInAppWebView에 따른 클럽 상세 페이지로의 조건부 네비게이션을 추가하고, App.tsx에 웹뷰용 클럽 상세 라우트를 추가했으며 이벤트 상수와 Storybook 라우팅 데코레이터를 도입했습니다.

Changes

Cohort / File(s) Summary
라우팅 변경
frontend/src/App.tsx
/webview/club/@:clubName 라우트 추가; ClubDetailPageContentErrorBoundary로 감싸 렌더링.
이벤트 상수
frontend/src/constants/eventName.ts
USER_EVENTFESTIVAL_BOOTH_CLICKED 상수 추가.
부스 상호작용 & 데이터
frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.tsx
부스 객체에 선택적 link 필드 추가 및 다수 부스 항목에 값 추가. 부스 렌더러에 클릭 핸들러 및 포인터 스타일 추가, 클릭 시 믹스패널 이벤트 전송 및 isInAppWebView() 결과에 따라 /webview/club/{link} 또는 /clubDetail/{link}로 navigate 호출. useNavigate, isInAppWebView, useEffect 등 import 추가.
스토리북
frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.stories.tsx
MemoryRouter 도입 및 Story에 decorators로 라우팅 컨텍스트 제공.

Sequence Diagram(s)

sequenceDiagram
    actor User
    participant BoothMapSection as BoothMapSection
    participant Analytics as Mixpanel
    participant Router as ReactRouter
    participant ClubDetailPage as ClubDetailPage

    User->>BoothMapSection: 부스 클릭 (link)
    BoothMapSection->>Analytics: FESTIVAL_BOOTH_CLICKED 이벤트 전송
    BoothMapSection->>BoothMapSection: isInAppWebView() 확인
    alt 웹뷰 환경
        BoothMapSection->>Router: navigate("/webview/club/@" + clubName)
    else 일반 웹 환경
        BoothMapSection->>Router: navigate("/clubDetail/" + clubName)
    end
    Router->>ClubDetailPage: 클럽 상세 페이지 렌더링
    ClubDetailPage-->>User: 클럽 정보 표시
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

✨ Feature, 💻 FE

Suggested reviewers

  • seongwon030
  • oesnuj
  • suhyun113
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PR 제목이 변경 사항의 주요 목표를 명확하게 반영하고 있습니다. '동아리 부스 클릭시 이동되게 변경'은 부스 클릭 시 상세 페이지로의 네비게이션 추가라는 핵심 변경 사항을 정확히 설명합니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/navigate-to-clubdetail

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.

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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.tsx`:
- Line 1: The import list in BoothMapSection.tsx includes useEffect which is not
used; remove useEffect from the import statement (keep useState if still used)
in the BoothMapSection component's import line to eliminate the unused import,
or if side-effect logic is intended, instead use useEffect inside the
BoothMapSection function to implement that behavior and then keep the import.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 83633abe-bd06-49bb-9711-372ede638e32

📥 Commits

Reviewing files that changed from the base of the PR and between c45d497 and b4d8291.

📒 Files selected for processing (3)
  • frontend/src/App.tsx
  • frontend/src/constants/eventName.ts
  • frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.tsx

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 4, 2026

🎨 UI 변경사항을 확인해주세요

변경된 스토리를 Chromatic에서 확인해주세요.

구분 링크
🔍 변경사항 리뷰 https://www.chromatic.com/build?appId=67904e61c16daa99a63b44a7&number=54
📖 Storybook https://67904e61c16daa99a63b44a7-iutxyiyztj.chromatic.com/

1개 스토리 변경 · 전체 58개 스토리 · 23개 컴포넌트

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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.stories.tsx (1)

1-26: ⚠️ Potential issue | 🟡 Minor

Prettier 포맷팅 경고 해결 필요

파이프라인에서 코드 스타일 이슈가 발견되었습니다. 머지 전에 포맷팅을 수정해 주세요.

npx prettier --write frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.stories.tsx
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.stories.tsx`
around lines 1 - 26, Prettier formatting errors in BoothMapSection.stories.tsx
need fixing; run the suggested formatter (npx prettier --write
frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.stories.tsx)
or apply project Prettier rules to reformat the file, preserving the existing
export const meta = { ... } satisfies Meta<typeof BoothMapSection> block, the
MemoryRouter decorator and Story component wrapper without changing semantics.
Ensure imports (Meta, StoryObj, MemoryRouter, 'swiper/css', BoothMapSection)
remain correctly ordered and no trailing commas/spacing issues remain so the
file passes CI lint/format checks.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In
`@frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.stories.tsx`:
- Around line 1-26: Prettier formatting errors in BoothMapSection.stories.tsx
need fixing; run the suggested formatter (npx prettier --write
frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.stories.tsx)
or apply project Prettier rules to reformat the file, preserving the existing
export const meta = { ... } satisfies Meta<typeof BoothMapSection> block, the
MemoryRouter decorator and Story component wrapper without changing semantics.
Ensure imports (Meta, StoryObj, MemoryRouter, 'swiper/css', BoothMapSection)
remain correctly ordered and no trailing commas/spacing issues remain so the
file passes CI lint/format checks.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ff65f13b-4c1f-4590-9a7c-cd69880b672b

📥 Commits

Reviewing files that changed from the base of the PR and between b4d8291 and a6a11e1.

📒 Files selected for processing (1)
  • frontend/src/pages/FestivalPage/components/BoothMapSection/BoothMapSection.stories.tsx

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.

2 participants