Add utilities - #38
Conversation
|
/opencode /review Focus on the new components rather than the utilities only in this conversation. |
|
Here's my review focusing on the new components: Review: New Components (Focusing on issues)
|
| Severity | # | File | Issue |
|---|---|---|---|
| Medium | 1 | DecimalStepperTextField.kt:58 |
Double.MIN_VALUE as default min is incorrect |
| Low | 2 | DecimalStepperTextField.kt:275 |
Focus loss defaults to zero, discarding partial input |
| Low | 3 | DecimalStepperTextField.kt:73 |
Overly broad runCatching |
| Low | 6 | ArcaeaScoreTextField.kt |
Missing test coverage for cursor logic |
| Style | 8 | PlayRatingCalculator.kt:63 |
Dead !! operators |
| Low | 11 | DecimalStepperTextFieldTest.kt:230 |
Fuzzy test assertions with deterministic clock |
Overall the components are well-structured with good separation of concerns, proper Compose patterns (derivedStateOf, remember, LaunchedEffect), and solid test coverage for the stepper. The main concerns are the default minValue semantics and the missing test coverage for the score text field.
|
/opencode /review pr |
|
Here is my review of the PR: Review: Add utilities (42 files, +1997/-248)Notable issues
import xyz.sevive.arcaeaoffline.core.calculators.calculateScoreRangeThe import references
Code style / minor
Missing coverage
Structural notes (non-blocking)
Summary
Overall: Well-structured components with good separation of concerns. The utilities screens are clean and the reactive patterns (derivedStateOf, flow operators) are sound. The main bugs are the minValue default and the tolerance discrepancy. |


No description provided.