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

Qa/128 보낸 봉투 검색 시 검색결과와 관계 없는 봉투가 보이는 현상 #2

Merged
merged 3 commits into from
Jul 8, 2024

Conversation

yangsooplus
Copy link
Member

🌱 Key changes

  • 빈 문자열로 친구 검색 시 hit 되는 검색결과들이 간헐적으로 나타난 현상
  • 보낸 봉투 검색 시 이름 검색과 금액 검색이 병렬적으로 처리되도록 수정

✅ To Reviewers

📸 스크린샷

스크린샷
파일첨부바람

Copy link

@jinukeu jinukeu left a comment

Choose a reason for hiding this comment

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

p5

@@ -52,37 +54,41 @@ class SentEnvelopeSearchViewModel @Inject constructor(
}

fun getEnvelopeList(search: String) = viewModelScope.launch {
if (search.isEmpty()) return@launch
Copy link

Choose a reason for hiding this comment

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

p5) 요 부분 제외하구 ... 아래 async 사용한건 로직상 동일해보이는데 맞나요!?
async + await 사용해서 응답속도가 더 빨라졌겠군요~

Copy link
Member Author

Choose a reason for hiding this comment

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

넵~ 로직 자체는 동일합니다~!
case1) 숫자X 검색어로 친구가 검색됨 -> 친구 id로 검색
case2) 숫자O, 친구 검색 결과 X -> 금액으로만 검색
case3) 숫자O, 친구 검색 결과 O (친구 이름에 숫자가 들어가는 경우) -> 친구 id, 금액으로 모두 검색

@yangsooplus yangsooplus merged commit f0aa557 into develop Jul 8, 2024
1 check passed
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.

2 participants