Conversation
…-filter # Conflicts: # core/src/main/java/com/terning/core/designsystem/component/topappbar/BackButtonTopAppBar.kt # feature/src/main/java/com/terning/feature/home/home/HomeRoute.kt # feature/src/main/java/com/terning/feature/main/MainScreen.kt
| @Composable | ||
| fun ChangeFilteringRadioGroup( | ||
| filterType: Int, | ||
| internFilterData: InternFilterData?, | ||
| onButtonClick: (Int) -> Unit, | ||
| modifier: Modifier = Modifier, | ||
| ) { |
There was a problem hiding this comment.
internFilterData가 nullalbe한 이유는 무엇인가용
There was a problem hiding this comment.
온보딩에서 필터링을 하지 않고 넘어온 유저들은 필터링 데이터가 없어서 nullable하게 처리했습니다! 필터링 정보가 없는 유저들은 필터링 재설정 화면으로 넘어갔을 때 0번째 버튼이 눌려져 있도록 기본값 설정을 해뒀는데 이 부분은 제가 한번 더 확인해볼게요!!
| @Composable | ||
| private fun ShowInternFilter(userNameState: UserNameState) { | ||
| if (userNameState.internFilter == null) { | ||
| private fun ShowInternFilter(userNameState: UserNameState, navController: NavHostController) { | ||
| if (userNameState.internFilter?.grade == null) { |
There was a problem hiding this comment.
NavHostController를 내리지 말구 onChangeFilterClick을 올려서 Route에서 처리하는 건 어떤가요..?
| getRecommendData() | ||
| // listOf() |
There was a problem hiding this comment.
이거 데이터 있을때랑 없을 때를 계속 테스트를 해봐야 해서 이렇게 한건데 지우는거 까먹었네요.. 하핫 머지 하기 전에 지우고 하겠습니다~!!
|
|
||
| val startDestination = SignIn | ||
| val startDestination = Home |
| } | ||
|
|
||
| @Composable | ||
| private fun showTitle( |
There was a problem hiding this comment.
showTitle -> ShowTitle으로 수정해주시면 좋을 것 같습니도~
| filterType: Int, | ||
| internFilterData: InternFilterData?, | ||
| onButtonClick: (Int) -> Unit, | ||
| modifier: Modifier = Modifier, |
There was a problem hiding this comment.
modifier가 쓰이지 않고 있는데, LazyColumn에서 Modifier로 선언하지 않고 modifier 써주시는 건 어떨까요?
| } | ||
|
|
||
| val selectedIndex = remember { mutableIntStateOf(0) } | ||
| var selectedButton = remember { mutableStateListOf(false, false, false, false) } |
There was a problem hiding this comment.
이게 계속 수정이 되어야 해서 var로 선언했어요!!!
|
|
||
| HomeFilteringText( | ||
| text = grade.toString() + stringResource(id = R.string.home_recommend_filtering_grade), | ||
| text = grade, |
| @@ -112,12 +109,9 @@ | |||
| <string name="filtering_button">다음으로</string> | |||
|
|
|||
| <!-- changeFilter --> | |||
There was a problem hiding this comment.
여기 ChangeFilter로 바꿔주시면 통일감 있을 것 같아요!
boiledeggg
left a comment
There was a problem hiding this comment.
다들 잘 커멘트 달아줘서 달게 없네요ㅎㅎ 너어어무 고생많으셨습니두~~
⛳️ Work Description
📸 Screenshot
Screen_Recording_20240714_064238_Terning-Android.mp4
📢 To Reviewers