Skip to content

Fix: Correct time representation in statistics dialog - #3

Merged
Kiolk merged 4 commits into
mainfrom
develop
Feb 2, 2026
Merged

Fix: Correct time representation in statistics dialog#3
Kiolk merged 4 commits into
mainfrom
develop

Conversation

@Kiolk

@Kiolk Kiolk commented Feb 2, 2026

Copy link
Copy Markdown
Owner

This PR addresses the issue where the time spent on an exercise was displayed only in seconds on the final statistics dialog.

Changes:

  • Time Formatting: Implemented formatTime in TypingDialog to display duration as Mm Ss when it exceeds 60 seconds (e.g., 2m 5.4s instead of 125.4s).
  • Unit Tests: Added a new test suite in TypingDialogTest to verify time formatting logic across different durations.
  • Version Bump: Updated plugin version to 1.0.5 and updated changeNotes in build.gradle.kts.

Closes #2

Yauheni Slizh and others added 3 commits February 2, 2026 21:06
- Formatted time as 'Mm Ss' when duration exceeds 60 seconds
- Added unit tests for time formatting
- Updated changeNotes in build.gradle.kts
- Bumped version to 1.0.5

Closes #2
@Kiolk Kiolk self-assigned this Feb 2, 2026
@Kiolk
Kiolk merged commit 303f706 into main Feb 2, 2026
1 check failed
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.

Incorrect representation of the time on the final statistic dialog

1 participant