Skip to content
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

Merge Group 1: Sprint 3 #191

Open
wants to merge 38 commits into
base: main
Choose a base branch
from
Open

Merge Group 1: Sprint 3 #191

wants to merge 38 commits into from

Conversation

c-eric
Copy link
Collaborator

@c-eric c-eric commented Apr 9, 2024

"Default units and activity" functionality in Settings

Describe the pull request
This pull request addresses the issue of cluttering the database with irrelevant data caused by recording short exercises in the OpenTracks application. To solve this problem, the following enhancements are added:

  • Settings Menu Enhancement: Integrate a new section within the settings menu specifically for exercise tracking preferences. Add options for configuring the minimum duration threshold for recorded exercises.
  • Minimum Duration Options: Provide predefined duration options such as 5 sec, 10 sec, and 15 sec. Allow users to set a custom duration threshold if none of the predefined options suit their needs.
  • Automatic Discarding Functionality: Implement logic within the application to automatically discard recorded exercises that fall below the specified duration threshold. Upon completing an exercise tracking session, the system checks the duration of the recorded exercise. If the duration is shorter than the specified threshold, the exercise is flagged for automatic discarding.

Status: in-progress

License agreement
By opening this pull request, you are providing your contribution under the Apache License 2.0 (see LICENSE.md).

XeqtR0 and others added 30 commits March 18, 2024 20:48
Now, user does not have to hold the button
…e recording to stop without crashing once paused.
…y to re-open it while track is still running)
…y to re-open it while track is still running)
--NOTE: Needs changes among selecting multiple options
…time is paused exclusively, total time keeps running while paused.

(cherry picked from commit 48f11af)
…tTime

# Conflicts:
#	src/main/java/de/dennisguse/opentracks/settings/DefaultsSettingsFragment.java
#	src/main/res/values/settings.xml
…turn it into an int. Comparison is then made with the total time of the track.
…ng user selection and comparing to total track time.
…tTime

# Conflicts:
#	src/main/java/de/dennisguse/opentracks/settings/DefaultsSettingsFragment.java
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.

7 participants