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

[Refactor] #144 - 로그인 로직 구현 및 회원가입, 비밀번호 변경 레거시 삭제 #145

Merged
merged 5 commits into from
Apr 11, 2023

Conversation

L-j-h-c
Copy link
Contributor

@L-j-h-c L-j-h-c commented Apr 11, 2023

🌴 PR 요약

🌱 작업한 브랜치

🌱 PR Point

  • 로그인 로직 구현
  • 회원가입 변경 레거시 삭제
  • 비밀번호 변경 레거시 삭제

남은 작업

  • userID 관련 로직 토큰 방식으로 수정
  • 플그 로그인 리디렉트 정보 받아오기

📮 관련 이슈

@L-j-h-c L-j-h-c requested a review from a team April 11, 2023 08:18
@L-j-h-c L-j-h-c self-assigned this Apr 11, 2023
@L-j-h-c L-j-h-c requested review from elesahich, 0inn, lsj8706 and devxsby and removed request for a team April 11, 2023 08:18
Copy link
Member

@lsj8706 lsj8706 left a comment

Choose a reason for hiding this comment

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

엄청 많은 작업을 하셨네요!!
가장 중요한 로그인, 로그아웃과 기존 레거시 코드 정리까지 너무너무 수고하셨습니다...!!
꼼꼼하게 잘 해주셔서 감사합니다!! 🚀🚀

@@ -23,3 +27,19 @@ public struct UserDefaultKeyList {
@UserDefaultWrapper<String>(key: "checkedAppVersion") public static var checkedAppVersion
}
}

extension UserDefaultKeyList.Auth {
public static func getUserType() -> UserType {
Copy link
Member

Choose a reason for hiding this comment

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

사용자 타입 구분하는 함수 좋네요!! 유용하게 쓰일 것 같아요!!

func checkNickname(nickname: String)
func resetEmailValidation()
Copy link
Member

Choose a reason for hiding this comment

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

잘가라 친구들....

Comment on lines 94 to 98
private enum Metric {
static let topInset = 151.adjustedH + logoMutableY
static let logoWidth = 184.adjusted
static let logoMutableY = 137.adjustedH
static let logoRatio = 114 / 184
Copy link
Member

Choose a reason for hiding this comment

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

궁금한 것이 있어요!
간격 수치를 이렇게 구조화해서 사용하는 방식이 확실히 좋은데 혹시 static 변수로 만들면 전역적으로 메모리에 위치하여 메모리 낭비가 발생하지는 않을까요...?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

저도 고것이 궁금했었는데요ㅕ
어디선가 벤치마킹을 해보니 별 의미 없는 수치였다고 걱정말고 사용하라고 들었슴당...!

}
}

private func showAnimation() {
Copy link
Member

Choose a reason for hiding this comment

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

애니메이션 멋져요!!😄

@L-j-h-c L-j-h-c merged commit d1cafe6 into sopt-makers:develop Apr 11, 2023
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