mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
1.7 KiB
1.7 KiB
Reviewer Notes
This file collects high-signal review notes that previously lived in the root README.md.
Locality climate pollen validation
- Locality pollen fields (
pers_pollen_ap,pers_pollen_nap,pers_pollen_other) now require integer values in the range0...100. - Shared locality validation enforces combined pollen constraint
AP + NAP + OP <= 100and surfaces the same message in form validation feedback. - Backend locality write validation now evaluates pollen totals with full update context so partial updates cannot bypass the combined-value rule.
- API tests include invalid create/update pollen payload coverage for non-integer, out-of-range, and total-above-100 cases.
Locality age method persistence
- In Locality edit mode, the Age tab now preserves method-specific values when switching Dating method between
Time unit,Absolute, andComposite. - Switching methods restores previously entered age values (e.g.,
min_age,max_age, basis/fraction selections) instead of clearing them. - Locality age validation now evaluates required basis fields against the currently active dating method, while allowing preserved values from other methods to remain in draft state.
- See
documentation/CHANGELOG.mdfor release-level tracking.
Occurrence terminology update
- User-facing UI captions now use Occurrence/Occurrences in navigation, cross-search, and Species detail surfaces.
- This is a presentation-only rename: backend/database identifiers are unchanged, including the
now_lstable and related API payload fields. - See
frontend/src/constants/occurrenceLabels.tsfor centralized frontend label constants andfrontend/tests/locality-species-ui-label-inventory.mdfor inventory coverage.