Skip to content

Allow decimal weight entry and remove last-session chip in workout session logger#119

Merged
rodrigogiraoserrao merged 1 commit intomainfrom
codex/update-exercise-logger-for-decimal-weights
Mar 20, 2026
Merged

Allow decimal weight entry and remove last-session chip in workout session logger#119
rodrigogiraoserrao merged 1 commit intomainfrom
codex/update-exercise-logger-for-decimal-weights

Conversation

@rodrigogiraoserrao
Copy link
Copy Markdown

Motivation

  • Allow users to enter free-form decimal weights in the session logger and remove the small per-exercise "last session" label showing previous weight/reps to simplify the UI and avoid redundancy.

Description

  • Change the weight input step from 0.5 to any so decimal values of any precision are accepted (weightInput.step = 'any').
  • Remove the renderPreviousChip function and the code that appended the per-exercise Last: … kg · … reps chip from renderExercise to drop the small last-session label.
  • Keep existing behaviour that still reads previous-set values for pre-filling inputs when available.

Testing

  • Ran git diff --check to validate there are no whitespace or diff errors, and it succeeded.

Codex Task

@rodrigogiraoserrao rodrigogiraoserrao merged commit 46d85b5 into main Mar 20, 2026
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.

1 participant