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

[Feature/#8] : 약속 확정 페이지 구현 #14

Merged
merged 20 commits into from
Jan 9, 2025

Conversation

gaeulzzang
Copy link
Contributor

@gaeulzzang gaeulzzang commented Jan 4, 2025

✅ 𝗖𝗵𝗲𝗰𝗸-𝗟𝗶𝘀𝘁

  • merge할 브랜치의 위치를 확인해 주세요.(main❌/develop⭕)
  • 리뷰가 필요한 경우 리뷰어를 지정해 주세요.
  • 리뷰는 PR이 올라오면 최대한 빠르게 진행합니다.
  • P1 단계의 리뷰는 빠르게 확인 후 반영합니다.
  • Approve된 PR은 assigner가 머지하고, 수정 요청이 온 경우 수정 후 다시 push를 합니다.

📌 𝗜𝘀𝘀𝘂𝗲𝘀

📎 𝗪𝗼𝗿𝗸 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻

  • 입력 가능한 타임테이블 구현
  • 실시간 현황 타임테이블 구현
  • 시간 입력하지 않았을 때 다이얼로그 구현
  • 약속 확정 페이지 구현

📷 𝗦𝗰𝗿𝗲𝗲𝗻𝘀𝗵𝗼𝘁

시간 입력하지 않았을 때

시간 입력하지 않았을 때

시간 입력했을 때

시간 입력했을 때

💬 𝗧𝗼 𝗥𝗲𝘃𝗶𝗲𝘄𝗲𝗿𝘀

하.... 화면이 너무 많아서 개어지러워요 하다가 토나올뻔했슈... 🤮
image

@gaeulzzang gaeulzzang added 💟 [UI] UI 작업 🍂 가을 가응가 labels Jan 4, 2025
@gaeulzzang gaeulzzang self-assigned this Jan 4, 2025
@gaeulzzang gaeulzzang requested a review from a team as a code owner January 4, 2025 10:07
Copy link
Contributor

@youjin09222 youjin09222 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 17 to 25
BaseButton(
modifier = modifier.fillMaxWidth(),
isEnabled = isEnabled,
shape = RoundedCornerShape(8.dp),
style = NoostakTheme.typography.t3Bold,
paddingVertical = 15.dp,
text = text,
onButtonClick = { onButtonClick() }
)
Copy link
Contributor

Choose a reason for hiding this comment

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

P3: 오 BaseButton 활용하는거 너무 좋습니다!!

Copy link
Contributor

Choose a reason for hiding this comment

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

P3: 이 버튼 각자 다 만든걸로 알고있는데 뭘로 통일할까요??

Copy link
Contributor Author

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,
Copy link
Contributor

Choose a reason for hiding this comment

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

P3: 여기 컬러 값도 받아와서 사용하는걸로 바꾸면 활용도가 높아질 것 같습니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

컴포넌트 나중에 역할 분담해서 싹다 통일시켜봅시다 ㅠ

presentation/src/main/res/values/strings.xml Outdated Show resolved Hide resolved
Comment on lines 3 to +5
<dimen name="horizontal_padding">16dp</dimen>
<dimen name="vertical_padding">16dp</dimen>
<dimen name="default_padding">16dp</dimen>
Copy link
Contributor

Choose a reason for hiding this comment

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

P3: 오 같은 값이여도, 사용되는 곳에 따라 각각 다르게 만들어줘야하나요??

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
Member

Choose a reason for hiding this comment

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

P3 : 다르게 만드는게 좋을 것 같아요 각 컴포넌트에 따라 GUI가 달라지면 결국 따로 쓰게 될테니까요

Copy link
Contributor

@twogarlic twogarlic left a comment

Choose a reason for hiding this comment

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

왐마야 , , 굉장해 엄청나

Copy link
Member

@Eonji-sw Eonji-sw left a 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
Copy link
Member

Choose a reason for hiding this comment

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

P3 : pair 활용 굿

Comment on lines +143 to +144
startTime = "%02d:00".format(hour),
endTime = "%02d:00".format(hour + 1)
Copy link
Member

Choose a reason for hiding this comment

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

P3 : string export 해도 될둣?

Comment on lines 38 to 52
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)
Copy link
Member

Choose a reason for hiding this comment

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

P3 : NoostakEditableTimeTable과 상당히 구조가 비슷한데 흠...~

Copy link
Contributor Author

Choose a reason for hiding this comment

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

아냐 분리시킬거야. 하나가 될 수 없어.

}

@Composable
fun NoostakTimeTableBox(
Copy link
Member

Choose a reason for hiding this comment

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

P3 : 나중에 코드 재사용쪽으로 리팩 해보면 좋을 것 같긴한데 복잡하긴 하네용 조금씩 달라서

Copy link
Member

Choose a reason for hiding this comment

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

P3 : 이 화면 진짜 복잡한 거 같아요;

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
Member

Choose a reason for hiding this comment

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

P3 : 근데 regex 패키지 안에 더 넣을 파일이 있나요..?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

소문자로 네이밍하면 ktlint가 시비 걸어가지고;;;

Comment on lines 3 to +5
<dimen name="horizontal_padding">16dp</dimen>
<dimen name="vertical_padding">16dp</dimen>
<dimen name="default_padding">16dp</dimen>
Copy link
Member

Choose a reason for hiding this comment

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

P3 : 다르게 만드는게 좋을 것 같아요 각 컴포넌트에 따라 GUI가 달라지면 결국 따로 쓰게 될테니까요

@gaeulzzang gaeulzzang merged commit 58a0470 into develop Jan 9, 2025
1 check passed
@Eonji-sw Eonji-sw deleted the feature/#8-appointment-confirm-ui branch January 9, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍂 가을 가응가 💟 [UI] UI 작업
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UI] : 약속 확정 페이지 구현
4 participants