-
Notifications
You must be signed in to change notification settings - Fork 1
통계 상세 화면 구현 #98
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
Merged
Merged
통계 상세 화면 구현 #98
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
17030b4
✨ Feat: 월별 통계 이동 가능 여부 확인 로직 추가
chanho0908 9d0f4d3
♻️ Refactor: 반복 주기(repeat type) 문자열 리소스 공용화
chanho0908 7a83673
✨ Feat: 통계 상세 요약 정보 컴포넌트 추가
chanho0908 228d59c
✨ Feat: 통계 상세 화면 구현
chanho0908 e5f24f5
✨ Feat: StatsRefreshBus 추가
chanho0908 f538cd5
♻️ Refactor: 통계 화면 목록 이벤트 버스 적용
chanho0908 5fb14c3
♻️ Refactor: 통계 상세 화면 데이터 호출 로직 안정성 강화
chanho0908 e0c2757
Merge branch 'feat/#88-stats-detail' into feat/#88-stats-detail-feature
chanho0908 2639951
✨ Feat: 통계 상세 화면 `StatsDetailSideEffect` 구독
chanho0908 a14cac7
♻️ Fix: 통계 상세 화면 골 삭제 API 함수 수정
chanho0908 6f4c735
♻️ Refactor: 월별 이동 로직 개선
chanho0908 fcf1e2f
Merge branch 'feat/#88-stats-detail' into feat/#88-stats-detail-feature
chanho0908 4e87e25
Merge branch 'feat/#88-stats-detail' into feat/#88-stats-detail-feature
chanho0908 6a04557
Merge branch 'feat/#88-stats-detail' into feat/#88-stats-detail-feature
chanho0908 769dde4
♻️ Refactor: `uiSate` 변수명을 `uiState`로 변경
chanho0908 9f42116
♻️ Refactor: StatsDetailViewModel 파라미터명 오타 수정
chanho0908 e87c2a6
♻️ Refactor: 스크롤 범위 수정으로 Topbar 고정
chanho0908 7371166
♻️ Refactor: `init` 블록 로직 `collectMonthChangeFlow` 메서드로 분리
chanho0908 c200a14
♻️ Refactor: 통계 상세 화면 디바운스 시간 단축
chanho0908 db67239
♻️ Refactor: 통계 상세 화면 캐시 키를 `LocalDate`에서 `YearMonth`로 변경
chanho0908 3b9d4c4
♻️ Refactor: 통계 상세 요약 UI 리팩토링
chanho0908 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
21 changes: 21 additions & 0 deletions
21
core/util/src/main/java/com/twix/util/bus/StatsRefreshBus.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,21 @@ | ||
| package com.twix.util.bus | ||
|
|
||
| import kotlinx.coroutines.flow.MutableSharedFlow | ||
| import kotlinx.coroutines.flow.SharedFlow | ||
|
|
||
| class StatsRefreshBus { | ||
| enum class Publisher { | ||
| InProgress, | ||
| End, | ||
| } | ||
|
|
||
| private val _events = | ||
| MutableSharedFlow<Publisher>( | ||
| replay = 0, | ||
| extraBufferCapacity = 1, | ||
| ) | ||
|
|
||
| val events: SharedFlow<Publisher> = _events | ||
|
|
||
| fun notifyChanged(publisher: Publisher) = _events.tryEmit(publisher) | ||
| } | ||
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 |
|---|---|---|
| @@ -1,11 +1,13 @@ | ||
| package com.twix.util.di | ||
|
|
||
| import com.twix.util.bus.GoalRefreshBus | ||
| import com.twix.util.bus.StatsRefreshBus | ||
| import com.twix.util.bus.TaskCertificationRefreshBus | ||
| import org.koin.dsl.module | ||
|
|
||
| val utilModule = | ||
| module { | ||
| single { GoalRefreshBus() } | ||
| single { TaskCertificationRefreshBus() } | ||
| single { StatsRefreshBus() } | ||
| } |
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
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
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
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
feature/stats/detail/src/main/java/com/twix/stats/detail/StatsDetailRoute.kt
This file was deleted.
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.
Uh oh!
There was an error while loading. Please reload this page.