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] 홈 뷰 앰플리튜드 트래킹 이벤트 코드 심기 #260

Merged
merged 7 commits into from
Sep 27, 2024

Conversation

t1nm1ksun
Copy link
Contributor

@t1nm1ksun t1nm1ksun commented Sep 16, 2024

Related issue 🛠

Work Description ✏️

  • 데이트 일정 상세 뷰의 앰플리튜드 트래킹 이벤트 코드를 심었습니다
  • view_main

Screenshot 📸

image

코스 리스트
image

Uncompleted Tasks 😅

  • 어느 코스 정보를 원하는지 기획선생님들에게 질문하기

To Reviewers 📢

일단 어느 코스의 정보를 원하는지 몰라서 Hot 코스 리스트들의 정보를 넘깁니다.
-> new랑 hot 전부 원하시는것 같아 8개 전부 넘깁니다.( 스크린샷 참고 )

Copy link
Contributor

@jihyunniiii jihyunniiii 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 125 to 128
COURSE_LIST_ID to uiState.topLikedCourses.map { it.courseId }.joinToString() + "," + uiState.latestCourses.map { it.courseId }.joinToString(),
COURSE_LIST_TITLE to uiState.topLikedCourses.joinToString { it.title } + "," + uiState.latestCourses.joinToString { it.title },
COURSE_LIST_LOCATION to uiState.topLikedCourses.joinToString { it.city } + "," + uiState.latestCourses.joinToString { it.city },
COURSE_LIST_COST to uiState.topLikedCourses.joinToString { it.cost } + "," + uiState.latestCourses.joinToString { it.cost }
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 Author

Choose a reason for hiding this comment

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

다른 스트링으로 바꾸긴 했는데 그거 추출했어요

Copy link
Contributor Author

Choose a reason for hiding this comment

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

근데 궁금한게 string value에 해줘야할 지 Constaints에 해줘야할 지 고민하다 Constraints에 했는데 차이가 뭐야??

Copy link
Contributor

Choose a reason for hiding this comment

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

주로 로직적인 부분에 사용되는 상수들을 관리할 때는 companion object 또는 object로 관리하고, UI와 관련된 문자열들을 관리할 때는 string value를 통해 관리합니당!

Copy link
Contributor

@jihyunniiii jihyunniiii left a comment

Choose a reason for hiding this comment

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

요기는 user_name이랑 user_point만 빼고 머지하셔도 될 듯요! 고생했어용

…home-amplitude

# Conflicts:
#	app/src/main/java/org/sopt/dateroad/presentation/ui/home/HomeScreen.kt
#	app/src/main/java/org/sopt/dateroad/presentation/util/Constraints.kt
@t1nm1ksun t1nm1ksun merged commit 160bdd9 into develop Sep 27, 2024
1 check passed
@t1nm1ksun t1nm1ksun deleted the feat-home-amplitude branch September 27, 2024 09:38
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.

[feat] 홈 뷰 앰플리튜드 트래킹 이벤트 코드 심기
2 participants