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

Feat : 온보딩 3단계 키워드 알림 설정 페이지 구현 #186

Merged
merged 63 commits into from
Mar 13, 2024

Conversation

huiwoo-jo
Copy link
Contributor

@huiwoo-jo huiwoo-jo commented Mar 13, 2024

📮 관련 이슈

✍️ 구현 내용

  • 온보딩 3단계 키워드 알림 설정 페이지를 구현하였습니다.
  • 화면 상단에 화면 설명 부분을 추가하고 텍스트에 부분 색상을 설정하였습니다.
  • 채워진 종 아이콘을 추가하였습니다.
  • 알림 설정은 대학 공지키워드 공지가 동시에 적용됩니다.
  • 스위치 박스 활성화에 따라 텍스트와 drawable의 색상이 변화합니다.
  • 하단의 '시작하기'로 메인 화면으로 이동합니다.
  • 온보딩 QA의 일부를 적용하였습니다.
    • 알림 이모지 채워진 색으로 변경하기
    • 알림 이모지 Tint 바꾸기 수정
    • 그림자 제거 및 테두리 적용
    • 알림 설정 및 시작하기시작하기
    • 아이콘 크기 수정

📷 구현 영상

KakaoTalk_20240314_011306588.mp4
image image

✔️ 확인 사항

  • 컨벤션에 맞는 PR 타이틀
  • 관련 이슈 연결
  • PR 관련 정보 연결 (작업자, 라벨, 마일스톤 등)
  • Github Action 통과

huiwoo-jo and others added 30 commits February 12, 2024 19:44
@huiwoo-jo huiwoo-jo added 🤗 FEATURE Develop this project 🩵희우 labels Mar 13, 2024
@huiwoo-jo huiwoo-jo requested review from hoyahozz and m6z1 March 13, 2024 11:42
@huiwoo-jo huiwoo-jo self-assigned this Mar 13, 2024
Copy link
Collaborator

@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.

코멘트 확인 부탁드려용

Comment on lines 37 to 49
binding.switchPermission.setOnCheckedChangeListener { compoundButton, _ ->
if (compoundButton.isChecked) {
viewModel.setIsAccessSchoolAlarm(true)
viewModel.setIsAccessDepartAlarm(true)
binding.switchPermission.compoundDrawableTintList =
ColorStateList.valueOf(ContextCompat.getColor(this, R.color.blue300))
binding.switchPermission.setTextColor(getColor(R.color.blue300))
} else {
viewModel.setIsAccessSchoolAlarm(false)
viewModel.setIsAccessDepartAlarm(false)
binding.switchPermission.compoundDrawableTintList =
ColorStateList.valueOf(ContextCompat.getColor(this, R.color.gray300))
binding.switchPermission.setTextColor(getColor(R.color.gray300))
Copy link
Collaborator

Choose a reason for hiding this comment

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

버튼 눌렀을 때 권한 요청 받는 부분은 아직 구현 안 하신 건가요 ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

추가로 버튼을 체크했다가 다시 눌렀을 때 isCheckedfalse로 변환 되는 부분이 없는 것 같아요! 영상 보니 다시 switch 버튼을 해제했을 때 알림 아이콘 색상이 변경이 안 되는 것 같네용

Copy link
Contributor Author

@huiwoo-jo huiwoo-jo Mar 13, 2024

Choose a reason for hiding this comment

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

앗 권한 요청까지 수정해서 같이 올리도록 하겠습니다
isChecked는 확인해보도록 하겠습니다
색상 변경은 수정 했는데 제가 수정 전 영상으로 업로드했네요..!!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

권한 설정 부분은 세팅 화면과도 얽혀있어서 개별 작업하는 것이 나을거 같습니다
isCheckedsetIsAccessSchoolAlarm, setIsAccessDepartAlarm은 코드 내에서 반복적으로 사용하여 함수로 분리해보았습니다.

@huiwoo-jo huiwoo-jo mentioned this pull request Mar 13, 2024
1 task
Copy link
Collaborator

@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.

Good

@huiwoo-jo huiwoo-jo merged commit d63d96c into develop Mar 13, 2024
1 check passed
@huiwoo-jo huiwoo-jo deleted the feat/onboarding-#3 branch March 13, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤗 FEATURE Develop this project 🩵희우
Projects
None yet
Development

Successfully merging this pull request may close these issues.

온보딩 화면 디자인 QA 온보딩 화면 3단계 제작
2 participants