Conversation
# Conflicts: # feature/library/src/main/java/com/into/websoso/feature/library/LibraryScreen.kt # feature/library/src/main/java/com/into/websoso/feature/library/component/LibraryFilterBottomSheet.kt # feature/library/src/main/res/values/string.xml
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
| val isFilterApplied: Boolean | ||
| get() = readStatuses.values.any { it } || | ||
| attractivePoints.values.any { it } || | ||
| isRatingSelected || | ||
| isInterested | ||
|
|
There was a problem hiding this comment.
c: 이거 LibraryViewModel에서 filter collect하는 부분에 filter 가 null이 아닐때 조건식 있는데 거기서 그냥 true세팅해주면 될듯 !
There was a problem hiding this comment.
필터 검색에 필요한 필드들이 대부분 기본값을 가지고 있는 구조라서 말씀해주신 것처럼 단순히 true만 설정하게 될 경우 필터 검색 null 화면과 일반 서재 null화면을 분기처리하는 것에 어려움이 있습니다!! 그래서 이 방법도 결국 필터가 적용되어있는지를 판단하는 로직이 필요해서 현재 구조를 유지하는게 더 낫다고 생각합니다!
📌𝘐𝘴𝘴𝘶𝘦𝘴
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴