Skip to content

Conversation

@nolanMinsung
Copy link
Contributor

🌴 작업한 브랜치

✅ 작업한 내용

  • 오브의 추천소 채팅 뷰에서 예시 질의 버튼의 디자인을 개선하였습니다.
    • 행간 설정(160%)
    • 여러 단어에 볼드처리(다른 폰트 적용) 가능하도록 변경
  • 오브의 추천소 채팅 뷰에서 예시 질의 문구를 변경하였습니다.

변경사항이 많지 않아, 위 변경사항들을 하나의 커밋으로 반영하였으니, 참고 바랍니다.

❗️PR Point

📸 스크린샷

설명

행간 설정(160%), 여러 단어에 볼드처리(다른 폰트 적용) 가능하도록 변경
Copy link
Collaborator

@Johyerin Johyerin 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 +61 to +70

for highlightedText in question.highlightedTexts {
let range = (question.title as NSString).range(of: highlightedText)
attributedString.addAttribute(
.foregroundColor,
value: UIColor.blackOpacity(.black55),
range: range
)
}
titleLabel?.attributedText = attributedString
Copy link
Collaborator

Choose a reason for hiding this comment

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

P5

UILabel extension에 빼둔 highlightText의 파라미터를 배열화하여 활용해도 좋을 것 같아서 해봤는데 잘 적용이 되지 않는 것 같네요... 흠 요 부분 고려해서 디벨롭해봐도 좋을 것 같은데 지금은 넘어가도 괜찮을 것 같습니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

저도 같은 생각입니다! 나중에 기회가 되면 이 기능 UILabel의 확장으로 빼면 좋을 것 같아요.
지금은 여러 글자에 동시에 적용하는 걸 임시로 구현해본 거라서 나중에 개선사항으로 남겨두면 좋을 것 같습니다.
(아니면 NSAttributedString, NSMutableAttributedString 의 확장으로 구현해서 활용하는 것도 좋을 것 같습니다!)

Copy link
Member

@codeJiwon codeJiwon left a comment

Choose a reason for hiding this comment

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

추천소 채팅 뷰 개선사항 잘 적용된 것 확인했습니다!

@nolanMinsung nolanMinsung merged commit 96706eb into main Jun 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] 추천소 채팅 뷰에서 예시 질의 버튼 디자인 개선

4 participants