Skip to content

taki/home_1 - #5

Merged
dbAbstract merged 13 commits into
mainfrom
taki/home_1
Jul 24, 2026
Merged

dbAbstract merged 13 commits into
mainfrom
taki/home_1

Conversation

@dbAbstract

Copy link
Copy Markdown
Owner

No description provided.

- Add `libs:daily-log:impl` module with `DailyLogRepository` and Ktor-based `DailyLogApi` implementations.
- Introduce `MacroTarget` domain model and add `@Serializable` to `Macros`.
- Update `DailyLog` API model to include `MacroTarget` and use `activityKcal` (Double) instead of activity (Long).
- Register `dailyLogImplModule` in the main dependency injection configuration.
- Add `kotlinx-serialization` dependency to `libs:domain-models`.
- Add `KcalProgressHero` circular progress widget for calorie tracking
- Update `HomeUiState` to include calorie progress, current, activity, and target values
- Refactor `HomeScreen` to use `LazyColumn` with a sticky date header and `AnimatedContent` for state transitions
- Update `HomeViewModel` to map daily log results to the new UI state values
- Improve `YaseyoPreview` to support system dark theme and center content by default
- Add `kotlinx-datetime` dependency to the home feature module
@dbAbstract
dbAbstract merged commit b8bbd83 into main Jul 24, 2026
2 checks passed
@dbAbstract
dbAbstract deleted the taki/home_1 branch July 24, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant