-
Notifications
You must be signed in to change notification settings - Fork 2
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] 핑글 개최 프로세스 - 내용요약/확인 뷰 구현 #65
Conversation
# Conflicts: # app/src/main/res/values/strings.xml
# Conflicts: # app/src/main/java/org/sopt/pingle/presentation/ui/main/plan/PlanCategoryFragment.kt
# Conflicts: # app/src/main/java/org/sopt/pingle/presentation/ui/main/plan/PlanViewModel.kt # app/src/main/res/values/strings.xml
# Conflicts: # app/src/main/res/values/strings.xml
app/src/main/AndroidManifest.xml
Outdated
<activity | ||
android:name=".presentation.ui.main.plan.PlanActivity" | ||
android:exported="false" | ||
android:exported="true" | ||
android:windowSoftInputMode="adjustNothing" | ||
android:screenOrientation="portrait" | ||
tools:ignore="LockedOrientationActivity" /> | ||
tools:ignore="LockedOrientationActivity" > | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기 복구 시켜주세요
viewModel.selectedCategory.flowWithLifecycle(lifecycle).onEach { | ||
Timber.tag("observe:categoryType").d(viewModel.selectedCategory.value?.name.toString()) | ||
}.launchIn(lifecycleScope) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
timber나 로그 코드 모두 삭제해주세요
badgePlanSummaryConfirmationCategory.setBadgeCategoryType(category) | ||
tvPlanSummaryConfirmationName.setTextColor(colorOf((category.textColor))) | ||
tvPlanSummaryConfirmationName.text = viewModel.planTitle.value | ||
tvPlanSummaryConfirmationOwnerName.text = "개최자" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 나중에 서버통신으로 사용자 정보 받아와서 개최자 닉네임 넣어주는 로직으로 수정해주는 거 맞죠?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵 API명세서에 있는 거 씁니둥,,
app/src/main/res/values/strings.xml
Outdated
<string name="plan_summary_confirmation_recruitment_number">%1$s명</string> | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이건 뭔가요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string 동적으로 넣어줄 때 첫번째 매개변수라는 뜻인데 여기서는 하나밖에 없으니까 그냥 %s로 변경하겠습니당~
tvPlanSummaryConfirmationName.text = viewModel.planTitle.value | ||
tvPlanSummaryConfirmationOwnerName.text = "개최자" | ||
tvPlanSummaryConfirmationCalenderDetail.text = | ||
viewModel.planDate.value + "\n" + makeTimeClean(viewModel.startTime.value) + " ~ " + makeTimeClean(viewModel.endTime.value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기도 스트링 추출해서 사용해주세요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이건 나중에 서버통신으로 없앨 부분이라 그냥 둘게욥
app:layout_constraintStart_toEndOf="@id/iv_plan_summary_confirmation_calendar" | ||
app:layout_constraintTop_toTopOf="@id/iv_plan_summary_confirmation_calendar" /> | ||
|
||
<TextView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
텍스트 최대 길이 확인해주시고 반영해주세요.
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@id/tv_plan_summary_confirmation_calender_detail" /> | ||
|
||
<TextView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기도 텍스트 최대 길이 확인해주시고 적용해주세요
app:layout_constraintStart_toEndOf="@id/iv_plan_summary_confirmation_recruitment" | ||
app:layout_constraintTop_toTopOf="@id/iv_plan_summary_confirmation_recruitment" /> | ||
|
||
<TextView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기도 텍스트 최대 길이 확인해주시고 적용해주세요
app:layout_constraintStart_toEndOf="@id/iv_plan_summary_confirmation_map" | ||
app:layout_constraintTop_toTopOf="@id/iv_plan_summary_confirmation_map" /> | ||
|
||
<TextView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
가운데 정렬 아니에요 피그마 다시 확인하고 수정해주세요
<!-- Subtitle --> | ||
<style name="TextAppearance.Pingle.Sub.Bold.16" parent="TextAppearance.Pingle"> | ||
<item name="android:textSize">16dp</item> | ||
<item name="android:lineHeight">25dp</item> | ||
<item name="android:fontFamily">@font/suit_bold</item> | ||
</style> | ||
|
||
<style name="TextAppearance.Pingle.Sub.Bold.18" parent="TextAppearance.Pingle"> | ||
<item name="android:textSize">18dp</item> | ||
<item name="android:lineHeight">25dp</item> | ||
<item name="android:lineHeight">22dp</item> | ||
<item name="android:fontFamily">@font/suit_bold</item> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 왜 수정되었나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
새로운 폰트 스타일 추가됐다고 해서 넣었어염 순서 바꾸고 18 16 다 확인했슴당
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
머지합시다
private fun makeDateClean(date: String): String { | ||
val year = date.substring(0, 4) | ||
val month = date.substring(5, 7) | ||
val day = date.substring(8, 10) | ||
return year + YEAR + month + MONTH + day + DAY | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 위랑 비슷하게 네이밍 해주시고 상수화 진행해주세요
Related issue 🛠
Work Description ✏️
Screenshot 📸
XRecorder_10012024_001717.mp4
Uncompleted Tasks 😅
To Reviewers 📢
이제 큰 산은 넘었슴미다..... 허엉ㅜ step0 후딱 하구 피알 올릴게욥
커밋메시지가 뭔가 이슈번호가 좀 왔다갔다인데 저도 왜그런지 모르겠어요
뷰모델 때문에 브랜치 옮겨다니면서 작업해서 그런듯.......
깃허브 아직 참 어렵ㄸㅏ..