-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Feature/#8] : 약속 확정 페이지 구현 #14
Conversation
…into feature/#8-appointment-confirm-ui
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.
와 가을아 진짜 어케 구현했니..? 증말 멋있다..
고생 넘 많았어ㅓㅓㅓㅓ 👏👏👏
BaseButton( | ||
modifier = modifier.fillMaxWidth(), | ||
isEnabled = isEnabled, | ||
shape = RoundedCornerShape(8.dp), | ||
style = NoostakTheme.typography.t3Bold, | ||
paddingVertical = 15.dp, | ||
text = text, | ||
onButtonClick = { onButtonClick() } | ||
) |
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.
P3: 오 BaseButton 활용하는거 너무 좋습니다!!
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.
P3: 이 버튼 각자 다 만든걸로 알고있는데 뭘로 통일할까요??
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.
나중에 다 통일해야될 것 같아유.. 😢
@@ -33,7 +33,8 @@ fun BaseButton( | |||
modifier = modifier, | |||
shape = shape, | |||
colors = ButtonDefaults.buttonColors( | |||
containerColor = Color.Gray | |||
containerColor = if (isEnabled) NoostakTheme.colors.black else NoostakTheme.colors.gray500, |
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.
P3: 여기 컬러 값도 받아와서 사용하는걸로 바꾸면 활용도가 높아질 것 같습니다!
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.
컴포넌트 나중에 역할 분담해서 싹다 통일시켜봅시다 ㅠ
<dimen name="horizontal_padding">16dp</dimen> | ||
<dimen name="vertical_padding">16dp</dimen> | ||
<dimen name="default_padding">16dp</dimen> |
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.
P3: 오 같은 값이여도, 사용되는 곳에 따라 각각 다르게 만들어줘야하나요??
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.
P3 : 다르게 만드는게 좋을 것 같아요 각 컴포넌트에 따라 GUI가 달라지면 결국 따로 쓰게 될테니까요
core/src/main/java/com/sopt/core/designsystem/component/timetable/NoostakEditableTimeTable.kt
Outdated
Show resolved
Hide resolved
core/src/main/java/com/sopt/core/designsystem/component/timetable/NoostakEditableTimeTable.kt
Outdated
Show resolved
Hide resolved
core/src/main/java/com/sopt/core/designsystem/component/timetable/NoostakEditableTimeTable.kt
Outdated
Show resolved
Hide resolved
core/src/main/java/com/sopt/core/designsystem/component/timetable/NoostakEditableTimeTable.kt
Outdated
Show resolved
Hide resolved
core/src/main/java/com/sopt/core/designsystem/component/timetable/NoostakEditableTimeTable.kt
Outdated
Show resolved
Hide resolved
…into feature/#8-appointment-confirm-ui # Conflicts: # presentation/src/main/res/values/dimens.xml
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.
몹시 피곤하네요 정말 수고많으셨어요!
text = text, | ||
onClick = { | ||
if (cellType == CellType.Data) { | ||
val cell = rowIndex to columnIndex |
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.
P3 : pair 활용 굿
startTime = "%02d:00".format(hour), | ||
endTime = "%02d:00".format(hour + 1) |
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.
P3 : string export 해도 될둣?
core/src/main/java/com/sopt/core/designsystem/component/timetable/NoostakTimeTable.kt
Outdated
Show resolved
Hide resolved
LazyVerticalGrid( | ||
modifier = modifier | ||
.border( | ||
width = 1.dp, | ||
color = NoostakTheme.colors.gray200, | ||
shape = RoundedCornerShape(8.dp) | ||
), | ||
columns = GridCells.Fixed(days + 1) | ||
) { | ||
items((days + 1) * (timeSlots + 1)) { index -> | ||
val (rowIndex, columnIndex) = index / (days + 1) to index % (days + 1) | ||
|
||
val cellType = determineCellType(rowIndex, columnIndex) | ||
val backgroundColor = getBackgroundColor(cellType, rowIndex, columnIndex, data) | ||
val text = getCellText(cellType, rowIndex, columnIndex, data) |
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.
P3 : NoostakEditableTimeTable과 상당히 구조가 비슷한데 흠...~
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.
아냐 분리시킬거야. 하나가 될 수 없어.
} | ||
|
||
@Composable | ||
fun NoostakTimeTableBox( |
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.
P3 : 나중에 코드 재사용쪽으로 리팩 해보면 좋을 것 같긴한데 복잡하긴 하네용 조금씩 달라서
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.
P3 : 이 화면 진짜 복잡한 거 같아요;
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.
우...우우우우우욱 🤮
presentation/src/main/java/com/sopt/presentation/appointment/screen/RecommendationScreen.kt
Show resolved
Hide resolved
presentation/src/main/java/com/sopt/presentation/appointment/screen/RecommendationScreen.kt
Outdated
Show resolved
Hide resolved
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.
P3 : 근데 regex 패키지 안에 더 넣을 파일이 있나요..?
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.
소문자로 네이밍하면 ktlint가 시비 걸어가지고;;;
<dimen name="horizontal_padding">16dp</dimen> | ||
<dimen name="vertical_padding">16dp</dimen> | ||
<dimen name="default_padding">16dp</dimen> |
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.
P3 : 다르게 만드는게 좋을 것 같아요 각 컴포넌트에 따라 GUI가 달라지면 결국 따로 쓰게 될테니까요
✅ 𝗖𝗵𝗲𝗰𝗸-𝗟𝗶𝘀𝘁
📌 𝗜𝘀𝘀𝘂𝗲𝘀
📎 𝗪𝗼𝗿𝗸 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻
📷 𝗦𝗰𝗿𝗲𝗲𝗻𝘀𝗵𝗼𝘁
시간 입력하지 않았을 때
시간 입력했을 때
💬 𝗧𝗼 𝗥𝗲𝘃𝗶𝗲𝘄𝗲𝗿𝘀
하.... 화면이 너무 많아서 개어지러워요 하다가 토나올뻔했슈... 🤮
![image](https://private-user-images.githubusercontent.com/91470334/400131817-61976797-e46e-406e-aba9-2bf1ebcb4511.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTQxNjMsIm5iZiI6MTczOTE1Mzg2MywicGF0aCI6Ii85MTQ3MDMzNC80MDAxMzE4MTctNjE5NzY3OTctZTQ2ZS00MDZlLWFiYTktMmJmMWViY2I0NTExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDAyMTc0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2MzJjOWNkODgzNmRlYjMyZWM5OGMxNjFjMTJmNDc3ZjgzZWExMWVmNGI2YzFlNjFiZGUyOGI0MjE4MzZmOGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4WaNWWpsZizf9o2YU7LltXCFEsAhH3cvcPwTgYg-W4c)