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

#152 [fix] todo, badge QA 반영 #158

Merged
merged 18 commits into from
Dec 8, 2022
Merged

Conversation

KWY0218
Copy link
Member

@KWY0218 KWY0218 commented Dec 5, 2022

관련 이슈

KakaoTalk_20221206_052454726.mp4

작업한 내용

  1. 멤버별 보기에서 멤버 클릭시 리플 효과 네모로 생기는 거 수정
  2. todo 60개일 때 다이얼로그 호출
  3. 체크 박스 클릭 시 서버 통신 후 체크 반영
  4. our to do 클릭 시 text color 검은색으로 변경되며 바텀시트 호출
  5. todo 전체보기 클릭 시 현재 요일로 이동
  6. 배지 뷰 클릭 시 text 변경
  7. todo response 값 수정

PR 포인트

  • todocnt가 음수로 와서 영상은 아직 못 찍었습니다.
  • delay(10)을 주는 이유
    • 첫 진입 시 요일별 보기, 멤버별 보기 tabIndex는 알맞게 수집하지만
      viewpager의 뷰 구현이 느린지, currItem = uiState.tabindex 이게 안 먹습니다.
      그래서 delay(10)을 줬다는... ㅠ_ㅠ
  • 또, 멤버별보기, 요일별보기를 클릭시 fragment를 계속 replace하기 때문에, 첫 진입 시 pager 효과가 불가피합니다..
    위 delay 문제랑 이 문제 때문에 activity에 멤버별 보기, 요일별 보기 뷰를 visible, unvisible로 바꿀지...고민입니다....

@KWY0218 KWY0218 added 원용🐉 원용이가 작업함! fix 수정 Pull Request🔥 풀리퀘 날림! labels Dec 5, 2022
@KWY0218 KWY0218 added this to the Hous 1차 릴리즈 milestone Dec 5, 2022
@KWY0218 KWY0218 self-assigned this Dec 5, 2022
@KWY0218 KWY0218 changed the title Feature/#152 adapt todo qa #152 [fix] todo, badge qa 수정 Dec 5, 2022
@KWY0218 KWY0218 changed the title #152 [fix] todo, badge qa 수정 #152 [fix] todo, badge QA 반영 Dec 5, 2022
Copy link
Member

@murjune murjune left a comment

Choose a reason for hiding this comment

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

또, 멤버별보기, 요일별보기를 클릭시 fragment를 계속 replace하기 때문에, 첫 진입 시 pager 효과가 불가피합니다..

와 앱잼 때 생각나네 고생하셨습니당

Comment on lines +20 to +27
class MemberTodoMapperTest {
private val mockTodoEntity = ToDoEntity(
isChecked = false,
todoId = 1,
todoName = "테스트",
nicknames = listOf("KWY"),
status = null
)
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.

아 계속 mapper 에러 나서 답답해서 에러 찾으려고 만들었는데,
clean project 했더니 사라진 오류... 😢
잃어버린 내 1시간...

Copy link
Contributor

Choose a reason for hiding this comment

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

속상....ㅜㅜㅜ

Copy link
Contributor

Choose a reason for hiding this comment

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

ㅠ3ㅠ

@@ -78,6 +78,7 @@ class DailyFragment : BindingFragment<FragmentDailyBinding>(R.layout.fragment_da
)
}
}
delay(10)
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.

풀 받고 해본 것인가용...?

Copy link
Contributor

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.

정확 합니다~

Copy link
Contributor

Choose a reason for hiding this comment

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

보고갑니다..

Copy link
Contributor

@yjooooo yjooooo left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

@@ -78,6 +78,7 @@ class DailyFragment : BindingFragment<FragmentDailyBinding>(R.layout.fragment_da
)
}
}
delay(10)
Copy link
Contributor

Choose a reason for hiding this comment

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

혹시 라이프 사이클 문제는 아닐까 싶은데 뷰가 그려지기 전에 이게 동작한거라면 안먹지 않을까 싶어서... 딜레이를 줌으로써 뷰가 그려진 후의 라이프사이클에 들어간 것이 아닐까...

Comment on lines +70 to +72
enum class TodoState {
IDLE, PROGRESS
}
Copy link
Contributor

Choose a reason for hiding this comment

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

여기서만 쓰여서 entity로 분리안한걸까요?

Copy link
Member Author

Choose a reason for hiding this comment

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

ui 단에서만 쓰이는 거라서 여기에 선언했습니다..!

…to feature/#152-adapt-todo-qa

# Conflicts:
#	app/src/main/java/hous/release/android/presentation/todo/detail/daily/DailyFragment.kt
#	app/src/main/java/hous/release/android/presentation/todo/detail/member/MemberFragment.kt
Copy link
Contributor

@2zerozu 2zerozu left a comment

Choose a reason for hiding this comment

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

고생하셨습니다ㅏ

@@ -78,6 +78,7 @@ class DailyFragment : BindingFragment<FragmentDailyBinding>(R.layout.fragment_da
)
}
}
delay(10)
Copy link
Contributor

Choose a reason for hiding this comment

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

보고갑니다..

Comment on lines +20 to +27
class MemberTodoMapperTest {
private val mockTodoEntity = ToDoEntity(
isChecked = false,
todoId = 1,
todoName = "테스트",
nicknames = listOf("KWY"),
status = null
)
Copy link
Contributor

Choose a reason for hiding this comment

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

ㅠ3ㅠ

@KWY0218 KWY0218 merged commit 00d40fe into develop Dec 8, 2022
@KWY0218 KWY0218 deleted the feature/#152-adapt-todo-qa branch December 18, 2022 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 수정 Pull Request🔥 풀리퀘 날림! 원용🐉 원용이가 작업함!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[fix] To Do 뷰 QA 반영
4 participants