Skip to content

refactor: frontend refactor - #38

Merged
jaejo merged 1 commit into
developfrom
feature/problem-refactor
Jul 22, 2026
Merged

jaejo merged 1 commit into
developfrom
feature/problem-refactor

Conversation

@Junkov0

@Junkov0 Junkov0 commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

작업 내용

변경 사항

  • 문제 있는 프론트 코드 수정

체크리스트

  • 테스트 코드 작성 완료
  • 리뷰어 지정 완료

참고 사항

관련 이슈

Summary by CodeRabbit

  • 새로운 기능

    • 업로드된 이미지가 로그인 없이도 조회되도록 개선되었습니다.
    • 파일 업로드 용량이 파일 및 전체 요청 기준 최대 10MB로 제한됩니다.
    • 용량 초과 시 안내 메시지와 요청 정보가 포함된 오류 응답을 제공합니다.
  • 스타일

    • 사용자 헤더 메뉴와 드롭다운의 정렬, 간격, 아바타 및 메뉴 항목 디자인이 개선되었습니다.

@Junkov0
Junkov0 requested review from idktomorrow and jaejo July 22, 2026 07:39
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e03bd057-a8b4-45cc-9c1c-fdedb830080c

📥 Commits

Reviewing files that changed from the base of the PR and between 345602a and d18ead2.

📒 Files selected for processing (4)
  • momogo-api/src/main/java/com/momogo/api/auth/config/SecurityConfig.java
  • momogo-api/src/main/java/com/momogo/api/common/exception/GlobalExceptionHandler.java
  • momogo-api/src/main/resources/application.yaml
  • momogo-frontend/src/pages/DashboardPage.tsx

📝 Walkthrough

Walkthrough

업로드 파일과 요청의 최대 크기를 10MB로 제한하고 초과 예외 응답을 추가했습니다. /uploads/** GET 요청은 인증 없이 허용되며, 대시보드 헤더 사용자 메뉴 스타일이 보강되었습니다.

Changes

업로드 처리 및 이미지 접근

Layer / File(s) Summary
업로드 제한 및 초과 예외 응답
momogo-api/src/main/resources/application.yaml, momogo-api/src/main/java/com/momogo/api/common/exception/GlobalExceptionHandler.java
파일 및 멀티파트 요청을 각각 10MB로 제한하고, 초과 시 URI와 10MB 초과 메시지를 포함한 오류 응답을 반환합니다.
업로드 이미지 공개 접근
momogo-api/src/main/java/com/momogo/api/auth/config/SecurityConfig.java
/uploads/** 경로의 GET 요청을 permitAll()로 처리합니다.

대시보드 헤더 사용자 메뉴

Layer / File(s) Summary
헤더 사용자 메뉴 스타일
momogo-frontend/src/pages/DashboardPage.tsx
헤더 액션 영역의 플렉스 배치와 사용자 위젯, 아바타, 이름, 팝오버, 메뉴 버튼 스타일을 추가합니다.

Estimated code review effort: 2 (Simple) | ~15 minutes

Suggested reviewers: idktomorrow, jaejo

✨ 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 feature/problem-refactor

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.

@idktomorrow idktomorrow left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

고생 많으셨습니다 ❤️

@jaejo jaejo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@jaejo
jaejo merged commit 84b388f into develop Jul 22, 2026
1 of 2 checks passed
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.

3 participants