Skip to content

feat(measurements): remove date restriction to allow multiple entries per day#1214

Merged
rolandgeider merged 7 commits intowger-project:masterfrom
sg172003:feature/measurement-datetime-field
Apr 14, 2026
Merged

feat(measurements): remove date restriction to allow multiple entries per day#1214
rolandgeider merged 7 commits intowger-project:masterfrom
sg172003:feature/measurement-datetime-field

Conversation

@sg172003
Copy link
Copy Markdown
Contributor

What does this PR do?

Removes the shouldDisableDate restriction in the measurement entry
date picker that was preventing multiple entries on the same day.

Why?

Part of wger-project/wger#2116 — now that the backend allows multiple
measurement entries per day, the frontend restriction is no longer needed.

Changes

  • Removed shouldDisableDate prop from DatePicker in EntryForm.tsx
  • Removed unused dateToYYYYMMDD import

Checklist

  • No breaking changes
  • Follows project code style

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Mar 22, 2026

Coverage Status

coverage: 75.479% (-0.05%) from 75.526% — sg172003:feature/measurement-datetime-field into wger-project:master

Comment thread src/components/Measurements/widgets/EntryForm.tsx Outdated
@rolandgeider rolandgeider mentioned this pull request Apr 10, 2026
@rolandgeider rolandgeider merged commit 9a8d7ee into wger-project:master Apr 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants