Skip to content

[feat] 닉네임 자동 생성 기능 및 비속어 에러 처리 추가#1129

Open
kiwoook wants to merge 3 commits intofe/devfrom
fe/feat/1123-nickname
Open

[feat] 닉네임 자동 생성 기능 및 비속어 에러 처리 추가#1129
kiwoook wants to merge 3 commits intofe/devfrom
fe/feat/1123-nickname

Conversation

@kiwoook
Copy link
Contributor

@kiwoook kiwoook commented Mar 19, 2026

✅ 체크리스트

  • merge 타겟 브랜치 잘 설정되었는지 확인하기 (fe/dev, be/dev)

🔥 연관 이슈

🚀 작업 내용

  1. 닉네임 입력 창에서 버튼을 통해 닉네임을 자동 생성할 수 있도록 하였습니다.
  2. 비속어 닉네임을 사용했을 경우 토스트로 뜨도록 구현하였습니다.
{539FF890-3AF4-4999-B5CB-43EE7708DE92}

💬 리뷰 중점사항

중점사항

@kiwoook kiwoook requested a review from Copilot March 19, 2026 15:17
@kiwoook kiwoook self-assigned this Mar 19, 2026
@kiwoook kiwoook added FE 프론트앤드의 업무 라벨 ✨feat 새로운 기능 또는 요구사항을 추가 labels Mar 19, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

입장 닉네임 입력 화면에서 닉네임 자동 생성(랜덤 닉네임) 기능을 제공하고, 닉네임 검증(비속어 등) 실패 시 토스트 기반 에러 노출이 가능하도록 개선한 PR입니다. (#1123)

Changes:

  • EntryNamePage에 랜덤 닉네임 생성 버튼 추가 및 랜덤 닉네임 API 호출 로직 추가
  • 닉네임 중복 체크/랜덤 닉네임 요청에 errorDisplayMode: 'toast' 적용
  • 공용 RefreshIcon 컴포넌트 신규 추가 및 관련 스타일 추가

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
frontend/src/features/entry/pages/EntryNamePage/EntryNamePage.tsx 랜덤 닉네임 호출/버튼 UI 추가, 토스트 에러 모드 적용
frontend/src/features/entry/pages/EntryNamePage/EntryNamePage.styled.ts 헤더 행/랜덤 생성 버튼 스타일 추가
frontend/src/components/@common/RefreshIcon/RefreshIcon.tsx 랜덤 생성 버튼에서 사용할 새 아이콘 컴포넌트 추가

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +38 to +44
const { execute: checkGuestName } = useLazyFetch<PlayerNameCheckResponse>({
endpoint: `/rooms/check-guestName?joinCode=${joinCode}&guestName=${name}`,
errorDisplayMode: 'toast',
});

const randomNicknameEndpoint = joinCode
? `/rooms/nickname/random?joinCode=${joinCode}`
kiwoook and others added 2 commits March 20, 2026 00:25
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@kiwoook kiwoook requested a review from theminjunchoi March 20, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FE 프론트앤드의 업무 라벨 ✨feat 새로운 기능 또는 요구사항을 추가

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants