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

bugfix: 약관동의 다이얼로그 관련 qa 수정사항 반영 #588

Merged
merged 11 commits into from
Feb 21, 2025

Conversation

yeonjeen
Copy link
Contributor

@yeonjeen yeonjeen commented Feb 21, 2025

📌𝘐𝘴𝘴𝘶𝘦𝘴

📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯

  • 전체동의 토글 터치 영역 확대
  • 이용약관 링크 수정
  • 약관동의 확인 다이얼로그 중복 호출 수정

📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵

Screen_recording_20250221_143601.webm
Screen_recording_20250221_155706.webm

💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴

@yeonjeen yeonjeen added 👛 황후 연진 어느날 웹소소의 황후가 되어버렸다 🔨 [FIX] 버그를 수정합니다. labels Feb 21, 2025
@yeonjeen yeonjeen added this to the 2차 스프린트 milestone Feb 21, 2025
@yeonjeen yeonjeen requested a review from a team February 21, 2025 05:44
@yeonjeen yeonjeen self-assigned this Feb 21, 2025
if (shouldShow) {
showTermsAgreementDialog()
}
if (!shouldShow) return@collectWithLifecycle
Copy link
Member

Choose a reason for hiding this comment

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

a: isShow는 어떤가요?? shouldShow should의 의미가 코드에선 와닿지 않는 것 같아요

Copy link
Contributor Author

Choose a reason for hiding this comment

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

음 isShown으로 가겠습니다!!

@@ -9,6 +10,8 @@ import com.into.websoso.ui.termsAgreement.TermsAgreementDialogBottomSheet

class TermsAgreementDialogFragment :
BaseDialogFragment<DialogTermsAgreementPopupMenuBinding>(R.layout.dialog_terms_agreement_popup_menu) {
private var isBottomSheetShown = false
Copy link
Member

Choose a reason for hiding this comment

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

c: 제가 보기엔 이 프로퍼티가 없어도 문제없이 동작할 것 같은데 , 어디에 쓰는 프로퍼티일까요?

Copy link
Contributor Author

@yeonjeen yeonjeen Feb 21, 2025

Choose a reason for hiding this comment

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

바텀시트가 떠 있는 상태를 알려주는 프로퍼티였는데 없어도 findFragmentByTag로 충분히 동작하네욤..! 감사합니다!!

@@ -24,6 +25,7 @@ import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint
class TermsAgreementDialogBottomSheet : BaseBottomSheetDialog<DialogTermsAgreementBinding>(R.layout.dialog_terms_agreement) {
private val termsAgreementViewModel: TermsAgreementViewModel by viewModels()
var onDismissListener: (() -> Unit)? = null
Copy link
Member

Choose a reason for hiding this comment

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

r: 뷰에서 public프로퍼티를 사용할 일이 있나요?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

위에서 리뷰해주신 isBottomSheetShown 프로퍼티를 사용하는 과정에서 필요해서 public으로 해놓은건데 위에 리뷰 수정하면서 이 부분도 수정하겠습니다!

Copy link
Member

@m6z1 m6z1 left a comment

Choose a reason for hiding this comment

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

굿굿 고생하셨습니닷

val existingDialog =
parentFragmentManager.findFragmentByTag(TermsAgreementDialogFragment.TERMS_AGREEMENT_TAG)
val existingBottomSheet =
parentFragmentManager.findFragmentByTag("TermsAgreementDialogBottomSheet")
Copy link
Member

Choose a reason for hiding this comment

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

c:요 태그값도 계속 재사용하는 것 같은데 상수화 하는건 어떤가요?

Copy link
Member

@junseo511 junseo511 left a comment

Choose a reason for hiding this comment

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

고생샐리티엠

@yeonjeen yeonjeen merged commit c4d4aa2 into develop Feb 21, 2025
1 check passed
@m6z1 m6z1 deleted the feat/582 branch February 21, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👛 황후 연진 어느날 웹소소의 황후가 되어버렸다 🔨 [FIX] 버그를 수정합니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants