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

[fix] 자잘한 버그 수정 및 뷰 연결 #162

Merged
merged 8 commits into from
Jan 18, 2024

Conversation

jihyunniiii
Copy link
Collaborator

@jihyunniiii jihyunniiii commented Jan 17, 2024

Related issue 🛠

Work Description ✏️

  • 자잘한 버그를 수정하고 참여자 페이지 뷰를 연결하였습니다. (온보딩 스택 관리, 뒤로가기 두 번 클릭 시 앱 종료되도록 구현)

Screenshot 📸

Screen_recording_20240118_023817.mp4

Uncompleted Tasks 😅

  • N/A

To Reviewers 📢

앱 종료 스낵바 디자인 측이랑 얘기해서 만들었습니다.
내 단체 뷰가 참여자 페이지와 연결되어 있어서 내 단체 뷰 페이지 새로 만들어서 연결하였습니다.

Copy link
Collaborator

@HAJIEUN02 HAJIEUN02 left a comment

Choose a reason for hiding this comment

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

짱~! 고생핑

@@ -66,12 +68,14 @@ class AuthActivity : BindingActivity<ActivityAuthBinding>(R.layout.activity_auth

private fun navigateToOnBoarding() {
Intent(this, OnBoardingActivity::class.java).apply {
flags = Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK
Copy link
Collaborator

Choose a reason for hiding this comment

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

실행 액티비티 외 모두 제거 or 실행하는 액티비티를 새 태스크로 생성.. 그냥 단순히 이동하지 않고 이 flag를 포함해준 이유는 무엇인가요?? 찾아보니까 어느 정도는 시스템이 알아서 제어해준다고 해서요.. 흠냐

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

스택 관리 때문에 추가했어요
이전에 쌓여있던 스택이 모두 지워져야 하는 경우 추가합니다

@@ -99,7 +100,7 @@ class JoinGroupCodeActivity :
CODE_409 -> {
PingleSnackbar.makeSnackbar(
view = binding.root,
message = getString(R.string.join_group_code_snackbar_guide_message),
message = stringOf(R.string.join_group_code_snackbar_guide_message),
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 Author

Choose a reason for hiding this comment

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

얼렁 하삼 ㅋㅋ

}
}

private fun moveToMyGroup() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

왜 여기는 flag를 추가해주지 않으셨는지!!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

요건 스택에 남아 있어야 해서요

@@ -28,7 +29,7 @@ class ParticipantActivity :

private fun initLayout() {
binding.rvParticipant.adapter = participantAdapter
participantViewModel.getParticipantList(1)
participantViewModel.getParticipantList(intent.getLongExtra(MEETING_ID, DEFAULT_VALUE))
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 Author

Choose a reason for hiding this comment

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

키득키득

@@ -43,9 +44,11 @@ class ParticipantActivity :
is UiState.Success -> {
participantAdapter.submitList(uiState.data.participants)
}

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.

이걸 아주 만드셨군염!! 고생핑❤

@jihyunniiii jihyunniiii merged commit 81ff044 into develop Jan 18, 2024
1 check passed
@jihyunniiii jihyunniiii deleted the fix-view-connection branch January 18, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[fix] 자잘한 버그 수정 및 뷰 연결
2 participants