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

검색 화면 UX 개선, more 버튼시 출력 #337

Merged
merged 3 commits into from
Dec 12, 2023
Merged

Conversation

2taezeat
Copy link
Collaborator

@2taezeat 2taezeat commented Dec 12, 2023

Issue

Overview

  • 검색 화면 UX 개선
    • 멘토님 QA 내용 반영
    • 빈 문자열 일때 emptyList 출력
  • more 버튼시 Snack message 출력
  • 검색 결과 music item click 시 Player로 이동

@2taezeat 2taezeat added this to the 🔎 search milestone Dec 12, 2023
@2taezeat 2taezeat linked an issue Dec 12, 2023 that may be closed by this pull request
@2taezeat 2taezeat added ✨ feat 기능 개발 🐞 bug 버그 수정 🤖 android android labels Dec 12, 2023
@2taezeat 2taezeat changed the title Android/feature/336 검색 화면 UX 개선, more 버튼시 출력 Dec 12, 2023
@2taezeat 2taezeat self-assigned this Dec 12, 2023
Copy link

github-actions bot commented Dec 12, 2023

Test Results

6 tests   6 ✔️  1s ⏱️
2 suites  0 💤
2 files    0

Results for commit 20e3b4a.

♻️ This comment has been updated with latest results.

@@ -60,16 +59,19 @@ class SearchViewModel @Inject constructor(
}

private fun observeKeyword() {
_keyword.filter { it.isNotBlank() }
Copy link
Member

Choose a reason for hiding this comment

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

notBlank 필터링 하는 건 괜찮았던 거 같은데, 지운 이유가 있을까?

Copy link
Collaborator Author

@2taezeat 2taezeat Dec 12, 2023

Choose a reason for hiding this comment

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

filter가 있으면 fetchSearchedMusics가 호출�이 안되서 옮겼습니다~

Comment on lines +31 to +38
fun playMusic(music: Music) {
val newPlaylist = CurrentPlaylist(
startMusic = music,
musics = listOf(music),
)

scope.launch { _currentPlaylist.send(newPlaylist) }
}
Copy link
Member

Choose a reason for hiding this comment

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

이 부분은 최근 재생한 목록을 추가해 주면 더 좋을 듯?
근데 그냥 머지해도 됩니당

Copy link
Member

@HamBP HamBP left a comment

Choose a reason for hiding this comment

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

LGTM!!

Copy link
Member

@youlalala youlalala left a comment

Choose a reason for hiding this comment

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

고생하셨습니당

@@ -19,6 +19,9 @@
android:layout_width="0dp"
android:layout_height="44dp"
android:layout_margin="@dimen/margin_horizontal"
android:inputType="text"
android:maxLines="1"
android:imeOptions="actionDone"
Copy link
Member

Choose a reason for hiding this comment

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

actionDone 넣어 준 것 좋네요! action Search 를 넣어도 좋을 것 같아여 (나중에 해도됨)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

actionSearch보다 actionDone이 UX가 더 좋아서, 일부러 actionDone 넣었습니다~

@2taezeat 2taezeat merged commit c663104 into develop Dec 12, 2023
2 checks passed
@2taezeat 2taezeat deleted the android/feature/336 branch December 12, 2023 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 android android 🐞 bug 버그 수정 ✨ feat 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

검색 화면 UX 개선, more 버튼시 출력
3 participants