Skip to content

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

Open
sg172003 wants to merge 7 commits intowger-project:masterfrom
sg172003:feature/measurement-datetime-field
Open

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

Conversation

@sg172003
Copy link
Copy Markdown

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

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