-
Notifications
You must be signed in to change notification settings - Fork 0
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
merge :: (#44) Signup - AuthenticationCode UI #77
Conversation
… feat/44_SignUp-UI
… feat/44_SignUp-UI
VStack(alignment: .leading, spacing: 8) { | ||
Text("DMS") | ||
.dmsFont(.title(.extraLarge), color: .PrimaryVariant.primary) | ||
.padding(.top, 28) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.top padding VStack에 주는게 더 좋을거같아요
Projects/Features/SignupFeature/Sources/AuthenticationCodeView.swift
Outdated
Show resolved
Hide resolved
Projects/Features/SignupFeature/Sources/AuthenticationCodeView.swift
Outdated
Show resolved
Hide resolved
Projects/Features/SignupFeature/Sources/AuthenticationCodeView.swift
Outdated
Show resolved
Hide resolved
Projects/Features/SignupFeature/Sources/AuthenticationCodeView.swift
Outdated
Show resolved
Hide resolved
var isSigninButtonEnabled: Bool { | ||
!schoolCode.isEmpty | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code는 8자리 고정이니 8자리일때 활성화시키는거 어떤가요?
public protocol SignupDependency: Dependency { | ||
var checkSchoolCodeUseCase: any CheckSchoolCodeUseCase { get } | ||
} | ||
|
||
public final class SignupComponent: Component<SignupDependency> { | ||
public func makeView() -> some View { | ||
AuthenticationCodeView( | ||
viewModel: .init( | ||
checkSchoolCodeUseCase: dependency.checkSchoolCodeUseCase | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AuthenticationCode에 대해 구현된것이니 Signup보다는 AuthenticationCode가 더 어울려보입니다!
Projects/Features/SignupFeature/Sources/AuthenticationCodeViewModel.swift
Outdated
Show resolved
Hide resolved
|
||
struct AuthenticationCodeView: View { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AuthenticationCode이라고 하였는데, 해당 페이지는 학교 인증코드 입력이니 SchoolCode로 하는게 어떤가요? 인증코드를 입력하는건 이메일 인증하는 것에도 있으니 혼동의 여지가 있어보여서요
Co-authored-by: baegteun <[email protected]>
Co-authored-by: baegteun <[email protected]>
Co-authored-by: baegteun <[email protected]>
Co-authored-by: baegteun <[email protected]>
Co-authored-by: baegteun <[email protected]>
Co-authored-by: baegteun <[email protected]>
Projects/Features/SignupFeature/Sources/AuthenticationCodeView.swift
Outdated
Show resolved
Hide resolved
struct SchoolCodeView: View { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
struct SchoolCodeView: View { | |
struct SchoolCodeView: View { |
의미 불명 공백!
} | ||
@StateObject var viewModel: SchoolCodeViewModel | ||
@FocusState private var focusField: FocusField? | ||
@State var text: String = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 친구..는 뭐하는 친구죠?
|
||
@Published var isOnAutoSignup = true | ||
@Published var isNavigateCheckSchool = false | ||
@Published var isSuccessAuthenticationCode = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 쓰는 곳이 없는데 어디에 쓰는 것인가요?
final class SchoolCodeViewModel: BaseViewModel { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final class SchoolCodeViewModel: BaseViewModel { | |
final class SchoolCodeViewModel: BaseViewModel { |
어.. 첫줄 공백 없이 가는거 어떠신가요
Co-authored-by: baegteun <[email protected]>
개요
AuthenticationCode UI
작업사항
AuthenticationCode UI