Skip to content

Conversation

@yuni-ju
Copy link
Member

@yuni-ju yuni-ju commented Jun 23, 2025

작업 내용

  • 댓글 작성 완료 시 키보드 숨기기
  • 공백으로만 댓글 작성 막기
  • 디자인 수정에 따라 댓글 텍스트 스타일 변경
  • 댓글 다이얼로그를 숨기면 키보드도 숨기기
  • 컴포즈 버전 변경에 따라 텍스트필드 스타일 고치기

참고

@yuni-ju yuni-ju requested a review from DongJun-H June 23, 2025 12:49
@yuni-ju yuni-ju self-assigned this Jun 23, 2025
@yuni-ju yuni-ju added bug Something isn't working feature layout labels Jun 23, 2025
@github-project-automation github-project-automation bot moved this from Todo to In Progress in DAYO 2.0 Jun 27, 2025
@yuni-ju
Copy link
Member Author

yuni-ju commented Jun 27, 2025

@DongJun-H 추가된 기능 한번 더 확인 부탁드립니다 ^-^

  • 디자인 업데이트에 따라 댓글을 남길 수 없는 경우 버튼 스타일을 변경했습니다.
  • 답글 달기 중에는 언급한 닉네임을 제외한 텍스트로 버튼 활성 여부를 판단하도록 변경했습니다.
  1. 직접 @로 사용자를 검색해서 언급하는 경우 비어있지 않은 텍스트로 판단
image
  1. 답글달기 중인 경우 앞에 있는 닉네임을 지울 수 없으므로 제외하고 판단
    image image

@yuni-ju yuni-ju requested a review from DongJun-H June 27, 2025 15:32
Comment on lines 485 to 504
text = stringResource(R.string.comment_button_text),
textAlign = TextAlign.Center,
style = DayoTheme.typography.b5.copy(color = White_FFFFFF, fontWeight = FontWeight.SemiBold),
Box(
modifier = Modifier
.defaultMinSize(minWidth = 64.dp, minHeight = 36.dp)
.background(Primary_23C882, shape = RoundedCornerShape(12.dp))
.clickableSingle { onClickPostComment() }
.padding(vertical = 8.dp, horizontal = 12.dp)
)
.clip(RoundedCornerShape(12.dp))
.background(color = if (enabled) Primary_23C882 else PrimaryL1_8FD9B9)
.clickableSingle(enabled = enabled) { onClickPostComment() }
.padding(vertical = 8.dp, horizontal = 12.dp),
contentAlignment = Alignment.Center
) {
Text(
text = stringResource(R.string.comment_button_text),
color = if (enabled) White_FFFFFF else PrimaryL3_F2FBF7,
fontWeight = FontWeight.SemiBold,
textAlign = TextAlign.Center,
style = DayoTheme.typography.b5
)
}
Copy link
Member

Choose a reason for hiding this comment

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

FilledRoundedCornerButton 공통 컴포넌트로 대체할수 있을까요??

Copy link
Member Author

Choose a reason for hiding this comment

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

해당 버튼만 공통 컴포넌트랑 조금 다르게 생겨서 파라미터를 추가해야할 것 같아 새로 만들었습니다! 🥲

@yuni-ju yuni-ju merged commit 55ff815 into develop Jul 2, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in DAYO 2.0 Jul 2, 2025
@yuni-ju yuni-ju deleted the bug/issue-667 branch July 2, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working feature layout

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[bug] Fix layout of comment section

3 participants