Apply full-field validation to detail saves#1182
Conversation
|
@copilot Please review this pull request. |
Code ReviewSummaryThe PR correctly implements full-field validation for all major entity detail views. The core design — threading an optional What works well
TimeUnit helper ID fix (
Error key alignment ( Cypress
condition: editData => 'reg_coord_id' in editData,This correctly skips the required check for new regions where the ID hasn't been assigned yet. One architectural observation (pre-existing, not a regression)
The full-form
This was also true of the old Minor observations
Test coverage
Overall the implementation is correct and well-tested. The single medium-severity finding (cross-field validation lag on hidden tabs) is pre-existing and the PR does not make it worse. |
Summary
Closes #1176
Validation
Note: I did not run the Cypress spec locally because it calls cy.resetDatabase(); per repo DB safety policy, that needs confirmed isolated test DB settings before execution.