Skip to content

[Feature Request] Add Option to skip a step in the first/last loop #71

Open
@FrankRogalski

Description

@FrankRogalski

I would love the option to skip a step on the first or last loop of a timer. I use the app for my workouts and they often have the structure

  • Start step
  • Workout
  • Pause
  • End step

But after I am done with the last workout set I don't want the pause. I considered moving the pause before the workout and using it as my start step but my pauses are considerably longer than the start step. The app Interval Timer provides a similar feature.

So currently the above example with a loop count of 3 would produce the following steps.

  • Start step
  • Workout
  • Pause
  • Workout
  • Pause
  • Workout
  • Pause
  • End step

But if we added the "skip last" option added to the "pause" step it would be

  • Start step
  • Workout
  • Pause
  • Workout
  • Pause
  • Workout
  • End step

Skipping the last pause. Similarly with the "skip first" feature added to the "pause" it would look like this

  • Start step
  • Workout
  • Workout
  • Pause
  • Workout
  • Pause
  • End step

Although this doesn't make much sense in the example i chose.

I propose adding the feature as an extra option in the step where it is already possible to choose halt, beep, etc. This would enable user to combine both features changing the above example to

  • Start step
  • Workout
  • Workout
  • Pause
  • Workout
  • Timer end

Of course this feature should also enable Users to skip a step in the the first and last loop of a Group. if we use the example

  • Start step
  • Outer
    • Group, loop count: 3
      • Inner
      • Inner2
  • Timer end

With a loop count of 3 and a "skip last" on "Inner 2" this would result in the following execution

  • Start step
  • Outer
  • Inner
  • Inner 2
  • Inner
  • Inner 2
  • Inner
  • Outer
  • Inner
  • Inner 2
  • Inner
  • Inner 2
  • Inner
  • Outer
  • Inner
  • Inner 2
  • Inner
  • Inner 2
  • Inner
  • Timer end

Another consideration is that these options should not be available on the start step and end step as these only ever get executed one anyway.

Although I have no experience in App development, I am familiar with Java and Kotlin and would be willing to submit a PR adding the functionality if we agree that the feature is useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions