Skip to content

Conversation

@vvan2
Copy link
Member

@vvan2 vvan2 commented Nov 2, 2025

ISSUE

❗ WORK DESCRIPTIONAdd commentMore actions

  • img, icon 추가
  • module 수정 ( timeout 체크)
  • data 계층 google 연동 관련 코드 수정
  • domain 계층 google 연동 관련 코드 수정
  • 온보딩 UI 수정
  • 로그인 UI 수정 및 구글 로그인 연동

📸 SCREENSHOT

-.Clipchamp.5.mp4

@vvan2 vvan2 requested review from JiWoo1261 and sonms November 2, 2025 15:52
@vvan2 vvan2 self-assigned this Nov 2, 2025
@vvan2 vvan2 added feature ✨ 새로운 기능 구현 🐻주완 주완 전용 라벨 labels Nov 2, 2025
@vvan2 vvan2 linked an issue Nov 2, 2025 that may be closed by this pull request
1 task
@vvan2 vvan2 changed the title [Feat/#144] Google 로그인 연동 [feat/#144] Google 로그인 연동 Nov 2, 2025
@vvan2 vvan2 changed the title [feat/#144] Google 로그인 연동 [Feat/#144] Google 로그인 연동 Nov 2, 2025
Copy link
Member

@sonms sonms left a comment

Choose a reason for hiding this comment

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

너무너무 고생하셨습니다~ 바쁘신데 너무 고마워요 사랑해요 우리형

xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
Copy link
Member

Choose a reason for hiding this comment

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

이거 추가한 이유있을까요? 구글 로그인 만이면 굳이 핸드폰 자체의 계정까지 가져오지 않아도 되고 GoogleSignInClient으로 대체된 것으로 알아요

Copy link
Member Author

Choose a reason for hiding this comment

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

앗 초기에 구글 로그인 연동 때, 오류 나서 이것 저것 시도했던 흔적이.. 남아 있네요. Client id 문제였던걸로 해결됐으니, 삭제하겠습니다!

suspendRunCatching {
val googleIdOption = GetGoogleIdOption.Builder()
.setFilterByAuthorizedAccounts(false)
.setAutoSelectEnabled(false)
Copy link
Member

Choose a reason for hiding this comment

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

혹시 요거는 왜 지우셨을까요? 이유가 있을까요?

Copy link
Member Author

Choose a reason for hiding this comment

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

이것도 위와 같은 이유인데, 등록된 계정만 가능할 수 있게? 해준다해서 세팅하다가.. 다시 돌려놓겠습니다

onEmailChanged = viewModel::onEmailChanged,
onPasswordChanged = viewModel::onPasswordChanged,
onClickIcon = viewModel::onPasswordVisibilityChanged,
onClick = {},
Copy link
Member

Choose a reason for hiding this comment

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

안쓰시는거 같은데 지워도 될 거 같습니다!

.padding(top = 80.dp)
.padding(horizontal = 16.dp)
.imePadding()
modifier = modifier
Copy link
Member

Choose a reason for hiding this comment

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

최상위 트리가 아닌거 같은데 Modifier로 수정해주세요~

Copy link
Member Author

Choose a reason for hiding this comment

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

아 아직도 이런 실수를 하냐

Comment on lines +145 to +148
Image(
painter = painterResource(R.drawable.img_login_sub),
contentDescription = stringResource(R.string.ic_login_sub_image),
)
Copy link
Member

Choose a reason for hiding this comment

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

이거 figma보다 너무 작은 거 같은데 크기 확인또는 onGloballyPositioned 를 통해 위치를 조정하거나 크기를 좀더 키워봅시다~~! 안되면 디자인팀 쪼기 ㄱㄱ

Copy link
Member Author

Choose a reason for hiding this comment

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

넵 디자인 확정되면 일괄적으로 수정하겠습니답

logo = R.drawable.ic_login_kakao,
loginText = stringResource(R.string.ic_login_kakao),
onClick = onClick,
modifier = modifier
Copy link
Member

Choose a reason for hiding this comment

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

여기도~

},
)
}
modifier = modifier
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 184 to +188
modifier = Modifier
.fillMaxWidth()
.padding(horizontal = 16.dp, vertical = 24.dp)
.navigationBarsPadding()
.padding(bottom = 60.dp)
) {
/* PawkeyButton(
text = "신규 계정으로 회원가입",
onClick = navigateUp,
enabled = true,
isBackGround = true,
isBorder = false,
modifier = Modifier.fillMaxWidth()
)*/

Spacer(modifier = Modifier.height(12.dp))

PawkeyButton(
text = "로그인",
onClick = navigateNext,
enabled = isLoginFormValid,
modifier = Modifier.fillMaxWidth()
)
}
.size(370.dp)
.align(Alignment.CenterEnd)
.offset(x = 70.dp),
)
Copy link
Member

Choose a reason for hiding this comment

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

contentScale = ContentScale.Crop,

//또는

BoxWithConstraints(modifier = Modifier.fillMaxSize()) {
    val imageSize = maxWidth * 0.5f // 부모 가로의 50% 크기로 설정
    Image(
        painter = painterResource(R.drawable.img_login_main),
        contentDescription = null,
        modifier = Modifier
            .size(imageSize)
            .align(Alignment.CenterEnd)
    )
}

이런식으로 해서 size와 offset을 피해봅시다ㅏ

Copy link
Member Author

Choose a reason for hiding this comment

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

넵!

Comment on lines 59 to 64
fun onEmailChanged(email: String) {
_state.value = _state.value.copy(email = email)
}

fun onPasswordChanged(password: String) {
_state.value = _state.value.copy(
password = password
)
_state.value = _state.value.copy(password = password)
Copy link
Member

Choose a reason for hiding this comment

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

_state.update 사용을 지향합시다 ~

contentScale = ContentScale.FillBounds
modifier = Modifier
.align(alignment = Alignment.Center)
.size(360.dp),
Copy link
Member

Choose a reason for hiding this comment

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

이것도 size를 피해보아요 정안되면 쓰고....

@vvan2 vvan2 merged commit 9c0f516 into develop Nov 4, 2025
@vvan2 vvan2 deleted the feat/#144-google-login-api branch November 4, 2025 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature ✨ 새로운 기능 구현 🐻주완 주완 전용 라벨

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] google 로그인 연동 및 로그인 뷰 수정

3 participants