Skip to content

fix: align frontend validation with backend contract#419

Merged
jjoonleo merged 1 commit into
mainfrom
codexd/backend-validation-contract
May 8, 2026
Merged

fix: align frontend validation with backend contract#419
jjoonleo merged 1 commit into
mainfrom
codexd/backend-validation-contract

Conversation

@jjoonleo

@jjoonleo jjoonleo commented May 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add shared backend validation constraints and stricter schedule/preparation form validation
  • reject past schedule times and surface localized validation messages
  • parse the new backend validation error envelope for schedule form failures
  • cap long feedback/note fields and regenerate invalid alarm device IDs

Tests

  • flutter analyze
  • flutter test

@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 953ad51):

https://ontime-c63f1--pr419-codexd-backend-valid-2klwu848.web.app

(expires Fri, 15 May 2026 16:45:57 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7d60a2eae4c4a5839220ed6a57552a3b61cce5a3

@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 953ad51):

https://on-time-front-widgetbook--pr419-codexd-backend-valid-wo5o1vea.web.app

(expires Fri, 15 May 2026 16:46:24 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e53128a376fed0209d449279de9c0d94c83cdd8b

@jjoonleo jjoonleo marked this pull request as ready for review May 8, 2026 16:59
@jjoonleo jjoonleo merged commit e2245b2 into main May 8, 2026
4 checks passed
@jjoonleo jjoonleo deleted the codexd/backend-validation-contract branch May 8, 2026 16:59
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