Skip to content

develp branch 작업내용 머지 : develop -> main#214

Merged
heeeeyong merged 2 commits into
mainfrom
develop
Aug 28, 2025
Merged

develp branch 작업내용 머지 : develop -> main#214
heeeeyong merged 2 commits into
mainfrom
develop

Conversation

@heeeeyong

@heeeeyong heeeeyong commented Aug 28, 2025

Copy link
Copy Markdown
Collaborator

이하동일

Summary by CodeRabbit

  • 리팩터
    • 프로필·팔로워·피드 전반에서 식별자를 creatorId로 통일해 연결 동작의 일관성을 개선했습니다.
    • 팔로워 블록이 크리에이터 기준으로 프로필로 이동하도록 정렬했습니다.
  • 기타
    • 프로필 데이터에 크리에이터 식별자를 추가해 표시·연결 기준을 명확히 했습니다.

@vercel

vercel Bot commented Aug 28, 2025

Copy link
Copy Markdown

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

Project Deployment Preview Comments Updated (UTC)
thip Ready Ready Preview Comment Aug 28, 2025 6:57am

@heeeeyong heeeeyong merged commit caa3ae1 into main Aug 28, 2025
1 of 2 checks passed
@coderabbitai

coderabbitai Bot commented Aug 28, 2025

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

Walkthrough

Feed 관련 컴포넌트에서 사용자 식별자를 userId에서 creatorId로 전환했습니다. Profile과 MyFollower의 프로퍼티와 전달 경로가 업데이트되었고, 타입 정의에 creatorId 필드가 추가되었습니다. MyFeed는 Profile에 profileData.creatorId를 전달합니다.

Changes

Cohort / File(s) Summary
Feed 컴포넌트 식별자 전환
src/components/feed/MyFeed.tsx, src/components/feed/Profile.tsx, src/components/feed/MyFollower.tsx
MyFeed: Profile에 전달하는 식별자 변경 (profileData.userIdprofileData.creatorId). Profile: creatorId?: number 프로퍼티 추가 및 MyFollower에 creatorId 전달. MyFollower: props에서 userId?creatorId?로 변경하고 네비게이션 시 creatorId 사용.
프로필 타입 업데이트
src/types/profile.ts
MyProfileData에 필수 필드 creatorId: number 추가(이를 상속하는 OtherProfileData도 포함).

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor User as User
  participant MF as MyFeed
  participant P as Profile
  participant F as MyFollower
  participant Router as Router/Navigator

  Note over MF,P: 데이터 로딩에 profileData.creatorId 포함
  MF->>P: render Profile(creatorId, userId, ...)
  P->>F: render MyFollower(creatorId, latestFollowerProfileImageUrls)
  User->>F: click follower section
  alt creatorId 존재
    F->>Router: navigate(..., creatorId)
    Router-->>User: 이동 완료
  else creatorId 미존재
    F-->>User: no-op / 기본 처리
  end
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

✨ Feature

Poem

당근 들판서 코드 톡톡 튀네 🥕
userId 훌쩍, creatorId로 쓱—교체!
팔로우 길도 새 표지판으로 직진↗️
타입은 단단히, 흐름은 말끔히.
깡충깡충 배포 가는 길, 버그야 비켜! 🐇


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between ba6a98c and 623c7bd.

📒 Files selected for processing (4)
  • src/components/feed/MyFeed.tsx (1 hunks)
  • src/components/feed/MyFollower.tsx (1 hunks)
  • src/components/feed/Profile.tsx (3 hunks)
  • src/types/profile.ts (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch develop

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbit in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbit in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbit gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbit read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbit help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbit ignore or @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbit summary or @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbit or @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • 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

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌏 Deploy 배포 관련

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant