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

#25 [fix] 온보딩 테마 선택 뷰 이슈 해결 #28

Merged
merged 14 commits into from
Jan 11, 2024

Conversation

emjayMJkim
Copy link
Member

@emjayMJkim emjayMJkim commented Jan 10, 2024

📑 Work Description

  • 테마 선택 뷰 top bar와 fragment의 background 변하는 속도 다른 이슈 해결
  • 루틴 선택 뷰에서 테마 선택으로 되돌아가는 로직 수정 (되돌아갔을 때는 반투명 background 없도록)
  • 테마 선택은 3개 선택해야 버튼 활성화 & 루틴 선택은 1개 이상 선택하면 버튼 활성화(4번째 아이템 클릭은 막아둠)

🛠️ Issue

📷 Screenshot

fix.onboarding.routine.theme.mp4

💬 To Reviewers

@emjayMJkim emjayMJkim self-assigned this Jan 10, 2024
@emjayMJkim emjayMJkim added Pull Request pr 날림! 민정🦊 민정이가 작업함! fix Fix(디자인 등) labels Jan 10, 2024
@emjayMJkim emjayMJkim closed this Jan 11, 2024
@emjayMJkim emjayMJkim reopened this Jan 11, 2024
Copy link
Contributor

@stellar-halo stellar-halo left a comment

Choose a reason for hiding this comment

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

역시 에이스...

@@ -3,7 +3,7 @@
<!-- onboarding -->
<string name="onboarding_choice_theme_btn">다 선택했어</string>
<string name="theme_text">하루의 시작</string>
<string name="onboarding_choice_theme_speech">안녕 난 %s!\n나와 함께 루틴을 만들어볼까?</string>
<string name="onboarding_choice_theme_speech">안녕 난 %s야!\n나와 함께 루틴을 만들어볼까?</string>
Copy link
Contributor

Choose a reason for hiding this comment

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

%s! 입니다!

Copy link
Member Author

Choose a reason for hiding this comment

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

pull 받는 과정에서 conflict난 파일에서 잘못 받아온 것 같네요... 수정했습니다!!

Copy link
Member

@minemi00 minemi00 left a comment

Choose a reason for hiding this comment

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

로직 수정하느라 수고해따잇!


private fun initSetSpeechText() {
val nickname = viewModel.bearNickname.value ?: ""
val message = getString(R.string.onboarding_choice_theme_speech).format(nickname)
Copy link
Member

Choose a reason for hiding this comment

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

.format()은 어떤 함수일까요??

Copy link
Member Author

Choose a reason for hiding this comment

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

아 여기서 format은 nickname을 앞의 "%s"에 포맷팅하는데 사용됩니다!

Copy link
Collaborator

@pump9918 pump9918 left a comment

Choose a reason for hiding this comment

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

로직 해결까지 깔끔

@@ -70,4 +113,9 @@ class OnboardingActivity :
.replace(R.id.fcv_onboarding_fragment, fragment)
.commit()
}

companion object {
Copy link
Collaborator

Choose a reason for hiding this comment

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

companion이 그냥 변수 선언하는 것보다 어떤 면에서 더 좋은가요?

@emjayMJkim emjayMJkim merged commit dad8192 into develop Jan 11, 2024
1 check passed
@emjayMJkim emjayMJkim deleted the feature/#25-onboarding-theme-fix branch January 11, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fix(디자인 등) Pull Request pr 날림! 민정🦊 민정이가 작업함!
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[fix] 온보딩 - 테마 선택 뷰 background 이슈 해결
4 participants