-
Notifications
You must be signed in to change notification settings - Fork 0
아이템 필터 적용 #268
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
아이템 필터 적용 #268
Conversation
Summary of ChangesHello @duthd3, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 아이템 목록에 대한 필터링 기능을 전면적으로 도입하고 기존 필터 옵션을 개선합니다. 사용자 인터페이스에서 선택된 필터 기준을 백엔드 API 요청에 적합한 형태로 변환하는 새로운 유스케이스를 추가하고, 관련 데이터 모델 및 API 호출 로직을 업데이트하여 아이템 필터링의 유연성과 정확성을 높였습니다. 이를 통해 사용자는 더욱 세분화된 조건으로 아이템을 검색하고 탐색할 수 있게 됩니다. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
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.
Code Review
아이템 필터 기능 구현을 위한 변경 사항들을 잘 확인했습니다. 전반적으로 API 변경에 맞춰 도메인과 프레젠테이션 레이어의 코드들이 일관성 있게 수정되었습니다. 특히 아이템 필터 선택 결과를 파싱하는 ParseItemFilterResultUseCaseImpl가 추가되어 로직이 잘 분리된 점이 좋습니다.
다만, 몇 가지 수정이 필요한 부분이 보입니다.
AppDelegate에서 의존성 주입 코드가 잘못된 위치로 이동하여 컴파일 오류가 발생할 수 있습니다.ItemFilterBottomSheetReactor의 상태 값에 중복된 데이터가 있고, 사용되지 않는 헬퍼 함수가 추가되었습니다.DictionaryListFactoryImpl와AppDelegate에서ParseItemFilterResultUseCase의존성 주입 시 파라미터 이름에 오타가 있습니다.
자세한 내용은 각 파일에 남긴 리뷰 코멘트를 참고해주세요.
MLS/Presentation/DictionaryFeature/DictionaryFeatureDemo/AppDelegate.swift
Outdated
Show resolved
Hide resolved
...DictionaryFeature/DictionaryFeature/ItemFilterBottomSheet/ItemFilterBottomSheetReactor.swift
Outdated
Show resolved
Hide resolved
MLS/Domain/Domain/UseCaseImpl/DictionaryList/ParseItemFilterResultUseCaseImpl.swift
Show resolved
Hide resolved
...sentation/DictionaryFeature/DictionaryFeature/DictionaryList/DictionaryListFactoryImpl.swift
Outdated
Show resolved
Hide resolved
...DictionaryFeature/DictionaryFeature/ItemFilterBottomSheet/ItemFilterBottomSheetReactor.swift
Outdated
Show resolved
Hide resolved
MLS/Presentation/DictionaryFeature/DictionaryFeatureDemo/AppDelegate.swift
Outdated
Show resolved
Hide resolved
e2ec9ac to
412ff25
Compare
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.
고생하셨습니다! 코드적으로는 구조 개선이 가능할 것 같은데 리팩토링시 진행해도 될 것같아서 따로 기록만 해두었습니다. 추가적으로 제가 발견한 이슈 네가지 기록하겠습니다.
- 주문서 필터를 바꿔서 적용하면 하단에 필터 태그?가 깨지고 크래시가 납니다 ex) 무기 주문서 클릭 -> 무기 주문서 중 택1 클릭 -> 방어구 주문서 클릭 -> 방어구 주문서 중 택1 클릭 -> 적용 -> 앱 크래시
- 버튼에 필터 적용된 아이템 개수가 여전히 n으로 표기되고있습니다
- 필터를 적용한 후 다시 필터를 누르면 기존에 선택했던 필터 정보가 초기화됩니다
- 초기화버튼을 눌러도 리스트의 필터버튼 컬러가 여전히 p700으로 나타납니다
...sentation/DictionaryFeature/DictionaryFeature/DictionaryList/DictionaryListFactoryImpl.swift
Outdated
Show resolved
Hide resolved
1741d8b to
65f5320
Compare
b5bce27 to
b88ddcb
Compare
📌 이슈
✅ 작업 사항