-
Notifications
You must be signed in to change notification settings - Fork 4
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] Search view/UI #241
Conversation
searchBar UI
서치뷰 추천검색어 파트 추가
결과 셀 수정
서치뷰 내에 proposeView 추가
서치 뷰 내부 로직
서치바 연결 추가
서치 취소 버튼 눌렀을 때 서치 초기화면 뷰
셀 네비게이션링크 추가
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.
확인했습니다~! 검색 기능 추가해야할 부분을 명시해주셔서 제가 편하게 작업할 수 있었습니다~! 최고최고!!
|
||
ScrollView(.horizontal) { | ||
HStack { | ||
// TODO: 선택된 텍스트 검색하는 기능 |
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.
제가 기능 구현해서 함께 pr올렸습니다~!
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.
긋긋긋👍
@State var searchText: String = "" | ||
@State var searchResults: [Shortcuts] = [] | ||
|
||
let keywords: [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.
와우 너무 좋겠는걸요?
Co-authored-by: Elie (Jeon Jimin) <41153398+JMM00@users.noreply.github.com>
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.
LGTM!
기존 커스텀했던 x (지우기) 버튼은 없어도 될 것 같아요!
스크린샷에 배포용 데이터베이스가 올라와있는 것 같아서 리마인드드립니당 |
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.
수고하셨습니다! 패딩 30으로 준 부분 로미와 확인 후 머지하면 될 것 같습니다 👍🏻
|
||
|
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.
//TODO: 버튼 클릭 시 단축어 제안하는 페이지 연결 | ||
} label: { | ||
Text("단축어 제안하기") | ||
.padding(.horizontal, 30) |
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.
4배수가 아니라서 한 번 디자이너와 확인해보면 좋을 것 같습니다
@mxnxxii
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.
Figma상, 4배수보다 마진이 우선시되어서 4배수 적용이 되지 않은것으로 확인됩니다 :)
자세한 내용은 직접 만나서 확인 후 수정하는것으로 진행하도록 해볼게요 !!
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.
넹 28로 적용하겠습니다
Text(keyword) | ||
.Body2() | ||
.foregroundColor(Color.Gray4) | ||
.padding(10) |
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.
.padding(10) | |
.padding(.horizontal, 12) | |
.padding(.vertical, 8) |
) | ||
} | ||
} | ||
.padding(.leading, 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.
첫번째 셀 이후의 사이 간격은 padding이 12라서 화면 좌우 영역의 패딩과는 따로 적용되야 할 것 같습니다!
.padding(.leading, 16) | |
.padding(.leading, 12) |
여기 border 있는 뷰에서도 라인 일부가 잘리는 현상이 있네요. 제가 작성한 WriteCurationSetView에서도 동일한 문제가 발생했었는데, 이슈 작성 후 머지되면 제 뷰와 함께 수정작업해보겠습니다! |
//TODO: 버튼 클릭 시 단축어 제안하는 페이지 연결 | ||
} label: { | ||
Text("단축어 제안하기") | ||
.padding(.horizontal, 30) |
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.
Figma상, 4배수보다 마진이 우선시되어서 4배수 적용이 되지 않은것으로 확인됩니다 :)
자세한 내용은 직접 만나서 확인 후 수정하는것으로 진행하도록 해볼게요 !!
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.
서치 결과검색 부분 background가 white로 구현되어있는 것 같은데 확인 부탁드릴게요 :)
PR 수정 요청 사항 반영
수정 요청사항들 확인하고 반영했습니다~ |
관련 이슈
구현/변경 사항
스크린샷