-
Notifications
You must be signed in to change notification settings - Fork 8
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
[AN/USER] 디자인 수정 및 Domain Exception 추가 (#978) #979
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
fde0dd2
refactor(Bookmark): 화면 터치 시 보라색 터치 영역 무채색(그레이)으로 변경 수정 확인
re4rk 54d939a
refactor(Bookmark): 아티스트 검색에서 오늘 공연/공연 예정이 0개일 때의 글자 색 변화 적용
re4rk 5df80f6
refactor(Bookmark): 북마크 문구 변경
re4rk d671daa
refactor(Bookmark): 없는 res 쓰는 태그 정리
re4rk 5d3bb0d
refactor(Bookmark): 네트워크 및 에러 도메인 객체를 활용 하도록변경
re4rk 7c47f46
refactor(Bookmark): 코드 분할
re4rk 5eb5848
refactor(Bookmark): 북마크 체크하도록 변경
re4rk 7a4ff51
refactor(Bookmark): 예외 케이스 클래스로 변경
re4rk b417b7a
refactor(Bookmark): 예외 케이스 클래스로 변경
re4rk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...omain/src/main/java/com/festago/festago/domain/exception/BookmarkLimitExeededException.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.festago.festago.domain.exception | ||
|
||
class BookmarkLimitExceededException : Exception() | ||
|
||
fun Throwable.isBookmarkLimitExceeded() = this is BookmarkLimitExceededException |
4 changes: 4 additions & 0 deletions
4
...oid/festago/domain/src/main/java/com/festago/festago/domain/exception/NetworkException.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.festago.festago.domain.exception | ||
|
||
class NetworkException : Exception() | ||
fun Throwable.isNetworkError() = this is NetworkException |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
북마크 할 때도 isNetworkError 처리할 수 있을까요? 북마크 시에는 인터넷 연결이 끊겨도 문제 없이 북마크 되는 것처럼 보입니다. (실제로 북마크 처리 되는 건 아니지만..)
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.
굿굿