Skip to content

Comments

[release] v1.0.5#429

Merged
oesnuj merged 10 commits intomainfrom
develop-fe
May 18, 2025
Merged

[release] v1.0.5#429
oesnuj merged 10 commits intomainfrom
develop-fe

Conversation

@oesnuj
Copy link
Member

@oesnuj oesnuj commented May 18, 2025

📝작업 내용

이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지/동영상 첨부 가능)

해당 기능이 백엔드 메인 서버에 아직 배포되지 않은 상태입니다.
사용자 혼선을 방지하기 위해 UI 상에서 SNS 관련 기능을 임시로 비활성화하고, 기능 배포 이후 다시 활성화할 예정입니다!

🫡 참고사항

Summary by CodeRabbit

  • 버그 수정
    • 테스트 환경에서 이미지 및 SVG 파일을 올바르게 처리할 수 있도록 설정이 개선되었습니다.
  • 스타일
    • 일부 컴포넌트의 하단 여백 및 높이가 조정되었습니다.
  • 기능 변경
    • 동아리 SNS 링크 입력 및 표시 기능이 임시로 비활성화되었습니다.

@oesnuj oesnuj requested a review from seongwon030 May 18, 2025 14:52
@oesnuj oesnuj self-assigned this May 18, 2025
@oesnuj oesnuj added 💻 FE Frontend 🛠Fix 기능이 의도한 대로 동작하지 않는 버그를 수정 labels May 18, 2025
@netlify
Copy link

netlify bot commented May 18, 2025

Deploy Preview for moadong ready!

Name Link
🔨 Latest commit ca0124e
🔍 Latest deploy log https://app.netlify.com/projects/moadong/deploys/6829f4123c484600083fc966
😎 Deploy Preview https://deploy-preview-429--moadong.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 45
Accessibility: 87
Best Practices: 92
SEO: 92
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented May 18, 2025

Walkthrough

이 변경사항은 프론트엔드에서 SNS 링크 입력 및 표시 기능을 임시로 비활성화하고, 관련 스타일을 조정하였으며, Jest 테스트 환경에서 이미지 파일 import를 처리할 수 있도록 설정을 추가했습니다. 또한, 필요한 jest-transform-stub 패키지를 devDependencies에 추가했습니다.

Changes

파일/경로 변경 요약
frontend/src/pages/AdminPage/tabs/ClubInfoEditTab/ClubInfoEditTab.tsx,
frontend/src/pages/ClubDetailPage/components/InfoBox/InfoBox.tsx
SNS 링크 입력 및 표시 관련 코드와 컴포넌트(SnsLinkIcons) import/렌더링을 주석 처리하여 기능을 임시 비활성화함.
frontend/src/pages/AdminPage/tabs/ClubInfoEditTab/ClubInfoEditTab.styles.ts,
frontend/src/pages/ClubDetailPage/components/InfoBox/InfoBox.styles.ts
InfoTitle과 InfoBox의 하단 마진 및 높이 등 스타일 속성 값 소폭 조정.
frontend/jest.config.js,
frontend/package.json
Jest에서 이미지 및 SVG 파일 import를 stub 처리하도록 transform 설정 추가, jest-transform-stub 패키지 devDependencies에 추가.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant AdminPage
    participant ClubDetailPage

    User->>AdminPage: 페이지 진입
    AdminPage-->>User: SNS 링크 입력 UI 미표시 (기능 비활성화)

    User->>ClubDetailPage: 페이지 진입
    ClubDetailPage-->>User: SNS 링크 아이콘 미표시 (기능 비활성화)
Loading

Possibly related PRs

Suggested labels

📈 release

Suggested reviewers

  • seongwon030

Note

⚡️ AI Code Reviews for VS Code, Cursor, Windsurf

CodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback.
Learn more here.


Note

⚡️ Faster reviews with caching

CodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Review - Disable Cache at either the organization or repository level. If you prefer to disable all data retention across your organization, simply turn off the Data Retention setting under your Organization Settings.
Enjoy the performance boost—your workflow just got faster.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fbb165b and ca0124e.

⛔ Files ignored due to path filters (1)
  • frontend/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (6)
  • frontend/jest.config.js (1 hunks)
  • frontend/package.json (1 hunks)
  • frontend/src/pages/AdminPage/tabs/ClubInfoEditTab/ClubInfoEditTab.styles.ts (1 hunks)
  • frontend/src/pages/AdminPage/tabs/ClubInfoEditTab/ClubInfoEditTab.tsx (1 hunks)
  • frontend/src/pages/ClubDetailPage/components/InfoBox/InfoBox.styles.ts (1 hunks)
  • frontend/src/pages/ClubDetailPage/components/InfoBox/InfoBox.tsx (2 hunks)
🔇 Additional comments (8)
frontend/package.json (1)

78-78: jest-transform-stub 개발 의존성 추가 확인
devDependenciesjest-transform-stub 패키지를 추가하여 테스트 시 이미지 및 SVG 파일을 스텁 처리할 수 있도록 했습니다. 이 변경은 jest.config.js 설정과 일치하며, 테스트 환경에서 자산 파일 import 오류를 방지합니다.

frontend/jest.config.js (1)

7-7: 이미지 파일용 jest-transform-stub 변환 설정 추가
transform 설정에 \.(svg|png|jpg|jpeg|gif)$ 패턴을 추가하여 이미지 자산을 스텁으로 처리하도록 구성했습니다. 테스트 실행 시 자산 import로 인한 오류가 발생하지 않도록 적절히 설정되었습니다.

frontend/src/pages/AdminPage/tabs/ClubInfoEditTab/ClubInfoEditTab.styles.ts (1)

13-13: 스타일 변경 적절히 이루어졌습니다.

margin-bottom 값이 46px에서 30px로 줄어든 것이 확인됩니다. 이는 SNS 기능을 임시로 비활성화하면서 UI 간격을 조정한 것으로 보입니다.

frontend/src/pages/ClubDetailPage/components/InfoBox/InfoBox.styles.ts (1)

19-19: InfoBox 높이 조정과 주석 처리 확인됩니다.

SNS 링크 표시 기능을 임시로 제거하면서 InfoBox의 높이를 197px에서 164px로 줄이고, 추후 197px로 다시 수정해야 함을 주석으로 명시한 것이 적절합니다.

frontend/src/pages/ClubDetailPage/components/InfoBox/InfoBox.tsx (2)

5-5: SnsLinkIcons 임포트 주석 처리 확인됩니다.

SNS 관련 기능을 임시로 비활성화하면서 SnsLinkIcons 컴포넌트 임포트를 주석 처리한 것이 적절합니다.


42-45: SNS 링크 렌더링 부분 주석 처리 확인됩니다.

동아리 정보 섹션에서 SNS 링크 표시 기능을 임시로 비활성화하기 위해 관련 코드를 주석 처리한 것이 PR 목적에 맞게 잘 이루어졌습니다.

frontend/src/pages/AdminPage/tabs/ClubInfoEditTab/ClubInfoEditTab.tsx (2)

186-210: SNS 링크 입력 섹션 주석 처리 확인됩니다.

백엔드 배포가 완료되기 전까지 SNS 기능을 임시로 비활성화하기 위해 동아리 SNS 링크 입력 섹션 전체를 주석 처리한 것이 PR 목적에 맞게 잘 이루어졌습니다. 사용자 혼란을 방지하기 위한 조치로 적절합니다.


71-97: handleUpdateClub 함수의 socialLinks 처리 검토 필요

SNS 기능이 비활성화되었지만 socialLinks는 여전히 updatedData에 포함되어 API 요청에 전송됩니다. 백엔드 상황에 따라 이 필드가 문제를 일으킬 가능성이 있습니다.

백엔드 서버가 socialLinks 필드를 받아들일 준비가 되어 있는지 확인해 주세요. 필요하다면 다음과 같이 코드를 수정하는 것을 고려해 볼 수 있습니다:

const updatedData = {
  id: clubDetail.id,
  name: clubName,
  category: selectedCategory,
  division: selectedDivision,
  tags: clubTags,
  introduction: introduction,
  presidentName: clubPresidentName,
  presidentPhoneNumber: telephoneNumber,
-  socialLinks: socialLinks,
+  // 임시로 socialLinks 필드 제외
};
✨ Finishing Touches
  • 📝 Generate Docstrings

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
🪧 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.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai 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:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

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

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @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

Documentation and Community

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

Copy link
Member

@seongwon030 seongwon030 left a comment

Choose a reason for hiding this comment

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

확인했습니다!

@oesnuj oesnuj merged commit 9c270fe into main May 18, 2025
5 checks passed
@oesnuj oesnuj changed the title [release] v1.0.5 [release] v1.0.4 Jun 6, 2025
@oesnuj oesnuj changed the title [release] v1.0.4 [release] v1.0.5 Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💻 FE Frontend 🛠Fix 기능이 의도한 대로 동작하지 않는 버그를 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants