Skip to content

test(LoginView): 데모 체험하기 로그인 버튼 비활성화#61

Merged
mark77234 merged 1 commit intomainfrom
dev
Mar 29, 2026
Merged

test(LoginView): 데모 체험하기 로그인 버튼 비활성화#61
mark77234 merged 1 commit intomainfrom
dev

Conversation

@mark77234
Copy link
Copy Markdown
Collaborator

변경점 👍

새로 구현한 기능 및 주요 변경점

버그 해결 💊

해결한 버그

테스트 💻

변경점을 테스트하기 위한 방법 기술

스크린샷 🖼

변경된 부분에 대한 스크린샷

비고 ✏

리뷰어에게 전하는 말 등


사용하지 않은 항목은 모두 지워주세요.

Copilot AI review requested due to automatic review settings March 29, 2026 08:17
@mark77234 mark77234 merged commit d80a909 into main Mar 29, 2026
1 check passed
Copy link
Copy Markdown

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

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(
Copy link

Copilot AI Mar 29, 2026

Choose a reason for hiding this comment

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

현재 변경은 '체험하기(Demo)' 버튼을 비활성화(disable)하는 대신 전체를 주석 처리해 UI에서 제거하고 있습니다. 제목 의도대로라면 버튼은 유지하되 .disabled(true)/상태 표시(예: opacity 변경, 안내 문구)를 적용하거나, 아예 숨기는 것이 목적이면 코드에서 삭제하고 #if DEBUG/런타임 플래그로 노출 여부를 제어하는 방식으로 의도를 명확히 해주세요.

Copilot uses AI. Check for mistakes.
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("체험하기")
Copy link

Copilot AI Mar 29, 2026

Choose a reason for hiding this comment

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

대량의 UI 코드를 주석 처리한 채로 남기면 유지보수/리뷰가 어려워집니다. 더 이상 쓰지 않는다면 블록을 삭제하고, 임시로 숨기는 목적이면 #if DEBUG 같은 컴파일 조건이나 설정 기반 feature flag로 감싸서 관리하는 형태로 변경하는 것이 좋습니다.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants