-
Notifications
You must be signed in to change notification settings - Fork 0
[Feat] 탐색화면 Compose 마이그레이션 #50
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
Open
etama123
wants to merge
7
commits into
develop
Choose a base branch
from
feat/44
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+699
−464
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a456cb5
feat(Explore): 검색 바 및 결과 아이템 컴포저블 추가
etama123 5fe96af
feat(Explore): 축제 탐색 화면 UI 컴포저블 구현
etama123 5002a00
refactor(Explore): 탐색 화면 UI 및 로직 개선
etama123 28eb358
refactor(Explore): 화면을 Compose로 전환하고 로직 개선
etama123 36f65b8
refactor(Explore): 검색 화면 전환 시 애니메이션 개선
etama123 b533c1f
refactor(Explore): ViewModel의 Channel을 SharedFlow로 변경
etama123 8a2a6b2
refactor(Explore): ktilnt에 맞게 리팩터링
etama123 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 hidden or 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
9 changes: 9 additions & 0 deletions
9
app/src/main/java/com/daedan/festabook/presentation/explore/ExploreSideEffect.kt
This file contains hidden or 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,9 @@ | ||
| package com.daedan.festabook.presentation.explore | ||
|
|
||
| import com.daedan.festabook.presentation.explore.model.SearchResultUiModel | ||
|
|
||
| sealed interface ExploreSideEffect { | ||
| data class NavigateToMain( | ||
| val searchResult: SearchResultUiModel, | ||
| ) : ExploreSideEffect | ||
| } |
7 changes: 7 additions & 0 deletions
7
app/src/main/java/com/daedan/festabook/presentation/explore/ExploreUiState.kt
This file contains hidden or 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,7 @@ | ||
| package com.daedan.festabook.presentation.explore | ||
|
|
||
| data class ExploreUiState( | ||
| val query: String = "", | ||
| val searchState: SearchUiState = SearchUiState.Idle, | ||
| val hasFestivalId: Boolean = false, | ||
| ) |
This file contains hidden or 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
7 changes: 0 additions & 7 deletions
7
.../main/java/com/daedan/festabook/presentation/explore/adapter/OnUniversityClickListener.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: festabook/android
Length of output: 406
🏁 Script executed:
Repository: festabook/android
Length of output: 43
🏁 Script executed:
Repository: festabook/android
Length of output: 43
🏁 Script executed:
Repository: festabook/android
Length of output: 43
🏁 Script executed:
Repository: festabook/android
Length of output: 790
🏁 Script executed:
# Look at ExploreRepositoryImpl to understand getFestivalId cat ./app/src/main/java/com/daedan/festabook/data/repository/ExploreRepositoryImpl.ktRepository: festabook/android
Length of output: 1398
🏁 Script executed:
# Check the ExploreRepository interface cat ./app/src/main/java/com/daedan/festabook/domain/repository/ExploreRepository.ktRepository: festabook/android
Length of output: 331
🏁 Script executed:
Repository: festabook/android
Length of output: 11420
🏁 Script executed:
# Check FestivalLocalDataSource implementation cat ./app/src/main/java/com/daedan/festabook/data/datasource/local/FestivalLocalDataSourceImpl.ktRepository: festabook/android
Length of output: 1360
🏁 Script executed:
# Check the interface cat ./app/src/main/java/com/daedan/festabook/data/datasource/local/FestivalLocalDataSource.ktRepository: festabook/android
Length of output: 259
🏁 Script executed:
# Check SplashViewModel to see the claimed pattern cat ./app/src/main/java/com/daedan/festabook/presentation/splash/SplashViewModel.ktRepository: festabook/android
Length of output: 1996
checkFestivalId()가 메인 스레드에서 동기적으로 SharedPreferences I/O를 수행합니다.getFestivalId()는SharedPreferences.getLong()을 호출하는 동기 작업입니다.SplashViewModel에서는 동일한 작업을viewModelScope.launch(iODispatcher)로 감싸서 실행합니다. 메인 스레드 블로킹을 피하려면 이 패턴을 따르세요.🛡️ 수정 제안
📝 Committable suggestion
🤖 Prompt for AI Agents