Skip to content

Conversation

@Jozys
Copy link
Collaborator

@Jozys Jozys commented Apr 16, 2025

MoveTopia Update Changelog

New functions

  • Copy the version number of the application by holding it for a more convenient bug reporting experience

Bug fixes

  • Fixed issue with wrong distance at tracking workouts

Neue Funktionen

  • Kopiere die Versionsnummer durch Gedrückt Halten jener, um spezifischer Fehler zu melden

Fehlerbehebungen

  • Fehlerhafte Distanzberechnung beim Übertragen von Workouts behoben

Jozys and others added 7 commits April 15, 2025 20:13
Co-authored-by: Niklas Buse <63686539+ScreepCode@users.noreply.github.com>
# 🚀 Pull Request

## Brief Description
This pull request introduces a long press event on the version number of
the application to copy that version number for a better bug reporting
experience

## Linked Issues

- Closes #118 

## GitHub Copilot Text
This pull request focuses on enhancing the user experience by adding a
feature to copy the app version to the clipboard and providing
appropriate feedback. The most important changes include updates to
localization files and the addition of a long press event in the
`VersionInfoTile` widget.

Localization updates:

*
[`lib/l10n/app_de.arb`](diffhunk://#diff-36252c65ab82cbff4774b4983cb9027a2bef4cb738d5ea656c0b903939b3871aR53):
Added a new localization string for the message displayed when the
version is copied to the clipboard.
*
[`lib/l10n/app_en.arb`](diffhunk://#diff-9796fde3771f42a3a759ccc941731d83f96037a661e47dde27ce81d3447a69c2R55):
Added a new localization string for the message displayed when the
version is copied to the clipboard.

UI enhancements:

*
[`lib/presentation/profile/screen/widgets/about_section.dart`](diffhunk://#diff-197e39590bc20cb68315c71e72ce18ac8769752a8152dbab25ab51384a8d2839R252-R259):
Added a long press event to the `VersionInfoTile` widget to copy the app
version to the clipboard and display a snackbar message confirming the
action.
# 🚀 Pull Request

## Brief Description
This pull request resolves an issue with a wrong rounding of distances
in workouts

## Linked Issues
- Fixes #130

## GitHub Copilot Text
This pull request includes a small but important change to the
`lib/data/repositories/base_local_health_impl.dart` file. The change
involves modifying the way the `totalDistance` is calculated and
assigned in the `BaseLocalHealthRepoImpl` class.

*
[`lib/data/repositories/base_local_health_impl.dart`](diffhunk://#diff-d65e3fe018d4f55ec02d268560a3058f224079bd55bcebd461a01bbc171e4abbR163-R169):
Introduced a new variable `distance` to store the rounded distance value
before converting it to an integer and assigning it to `totalDistance`.
This ensures that the distance is rounded to two decimal places before
being multiplied by 1000 and converted to an integer.
@Jozys Jozys requested a review from ScreepCode April 16, 2025 06:59
@Jozys Jozys self-assigned this Apr 16, 2025
@ScreepCode ScreepCode merged commit 42edd4f into main Apr 16, 2025
3 checks passed
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.

3 participants