Conversation
There was a problem hiding this comment.
Pull request overview
LoginView에서 “체험하기(Demo)” 테스터 로그인 버튼을 비활성화하려는 목적의 변경으로 보이며, 현재는 해당 버튼 UI를 주석 처리하여 화면에서 제거하는 방식으로 수정되었습니다.
Changes:
LoginView내 “체험하기(Demo)” 로그인 버튼 UI 블록을 주석 처리해 노출되지 않도록 변경
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+63
to
+67
| // Button(action: viewModel.loginWithTester) { | ||
| // ZStack { | ||
| // Text("체험하기(Demo)") | ||
| // .font(AppFont.paperlogy5Medium(size: 14)) | ||
| // .opacity( |
There was a problem hiding this comment.
현재 변경은 '체험하기(Demo)' 버튼을 비활성화(disable)하는 대신 전체를 주석 처리해 UI에서 제거하고 있습니다. 제목 의도대로라면 버튼은 유지하되 .disabled(true)/상태 표시(예: opacity 변경, 안내 문구)를 적용하거나, 아예 숨기는 것이 목적이면 코드에서 삭제하고 #if DEBUG/런타임 플래그로 노출 여부를 제어하는 방식으로 의도를 명확히 해주세요.
Comment on lines
+63
to
+90
| // Button(action: viewModel.loginWithTester) { | ||
| // ZStack { | ||
| // Text("체험하기(Demo)") | ||
| // .font(AppFont.paperlogy5Medium(size: 14)) | ||
| // .opacity( | ||
| // viewModel.isLoading | ||
| // && viewModel.activeSocialLoginProvider == .tester ? 0 : 1 | ||
| // ) | ||
| // | ||
| // if viewModel.isLoading | ||
| // && viewModel.activeSocialLoginProvider == .tester { | ||
| // ProgressView() | ||
| // .tint(.white) | ||
| // } | ||
| // } | ||
| // .foregroundStyle(.white) | ||
| // .padding(.horizontal, AppSpacing.l) | ||
| // .padding(.vertical, AppSpacing.s) | ||
| // .background(Color.white.opacity(0.16)) | ||
| // .clipShape(RoundedRectangle(cornerRadius: 14, style: .continuous)) | ||
| // .overlay { | ||
| // RoundedRectangle(cornerRadius: 14, style: .continuous) | ||
| // .stroke(Color.white.opacity(0.28), lineWidth: 1) | ||
| // } | ||
| // } | ||
| // .buttonStyle(.plain) | ||
| // .disabled(viewModel.isLoading) | ||
| // .accessibilityLabel("체험하기") |
There was a problem hiding this comment.
대량의 UI 코드를 주석 처리한 채로 남기면 유지보수/리뷰가 어려워집니다. 더 이상 쓰지 않는다면 블록을 삭제하고, 임시로 숨기는 목적이면 #if DEBUG 같은 컴파일 조건이나 설정 기반 feature flag로 감싸서 관리하는 형태로 변경하는 것이 좋습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경점 👍
새로 구현한 기능 및 주요 변경점
버그 해결 💊
해결한 버그
테스트 💻
변경점을 테스트하기 위한 방법 기술
스크린샷 🖼
변경된 부분에 대한 스크린샷
비고 ✏
리뷰어에게 전하는 말 등
사용하지 않은 항목은 모두 지워주세요.