Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactoring] 회원가입 및 닉네임 변경 시 로직 수정 #186

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

withseon
Copy link
Contributor

@withseon withseon commented Jun 10, 2024

개요 (이슈 번호 및 요약)

변경 사항 (작업 내용)

닉네임

  • 공백 입력 불가
  • 10자 입력 제한
  • 2~10자 기준, 기존 닉네임 사용 등 기준 미충족 시 변경(생성) 불가

생년월일

  • 6자 입력 제한
  • 날짜 포맷 충족 여부 판별
  • 현재 날짜보다 앞선 날짜인지 판별
  • 기준 미충족 시 생성 불가

스크린샷

특이사항 (트러블 슈팅 과정 및 참고 자료 등)

닉네임 생년월일에 대한 유효성 판별하는 코드를 onchange에 넣어뒀는데,
입력값이 바뀔 때마다 판별해도 괜찮나..? 라는 생각이 드네요... 😥

withseon added 3 commits May 5, 2024 22:36
- isValidNameFormat: 닉네임 유효성 판별
- isValidBirthFormat: 생년월일 유효성 판별
- TextField 10자 이내 입력 가능
- 닉네임 만족 기준에 공백 여부 추가
닉네임
- 공백 입력 불가
- 10자 입력 제한
- 2~10자 기준, 기존 닉네임 사용 등 기준 미충족 시 변경(생성) 불가

생년월일
- 6자 입력 제한
- 날짜 포맷 충족 여부 판별
- 현재 날짜보다 앞선 날짜인지 판별
- 기준 미충족 시 생성 불가
@withseon withseon requested review from Phangg and bdrsky2010 June 10, 2024 12:56
@withseon withseon self-assigned this Jun 10, 2024
@withseon withseon added the 수정 코드 리팩토링 수행 label Jun 10, 2024
@Phangg
Copy link
Member

Phangg commented Jun 17, 2024

확인했습니다-!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
수정 코드 리팩토링 수행
Projects
None yet
Development

Successfully merging this pull request may close these issues.

회원가입 후 프로필 설정에서 입력값에 대한 일부 로직 수정 필요
2 participants