Skip to content

Conversation

@cibelius
Copy link
Contributor

@cibelius cibelius commented Oct 6, 2025

Description

Resolves: #10583
CC: opencrvs/opencrvs-countryconfig#1066
E2e tests: opencrvs/opencrvs-farajaland#1739

Bug 3 was spinned off to its own issue due to being surprisingly complex: #10654

  • Add isEmptyValue() check to modal row filter. This fixes bug 1.
  • Add required: true to the generated verification page field to display 'No' value. This fixes Bug 2.
  • Don't allow _ in field ids, as they could cause issues with out Formik transformations. This fixes Bug 4.
  • Minor refactoring.

Checklist

  • I have linked the correct Github issue under "Development"
  • I have tested the changes locally, and written appropriate tests
  • I have tested beyond the happy path (e.g. edge cases, failure paths)
  • I have updated the changelog with this change (if applicable)
  • I have updated the GitHub issue status accordingly

@github-actions
Copy link

github-actions bot commented Oct 6, 2025

Oops! Looks like you forgot to update the changelog. When updating CHANGELOG.md, please consider the following:

  • Changelog is read by country implementors who might not always be familiar with all technical details of OpenCRVS. Keep language high-level, user friendly and avoid technical references to internals.
  • Answer "What's new?", "Why was the change made?" and "Why should I care?" for each change.
  • If it's a breaking change, include a migration guide answering "What do I need to do to upgrade?".

@cibelius cibelius marked this pull request as ready for review October 6, 2025 12:37
@cibelius cibelius marked this pull request as draft October 6, 2025 13:10
@cibelius cibelius changed the title fix issue with empty verified field and checkbox appearing on certifi… Fix bugs on 'Certified' action modal Oct 7, 2025
eventConfig={eventConfig}
fields={page.fields}
id="locationForm"
id="pagesSection"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated change just for better id.

}) => {
const { setAllTouchedFields, touchedFields: initialTouchedFields } =
useEventFormData()
const { setAllTouchedFields, touchedFields } = useEventFormData()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated change, no need to rename value.

@cibelius cibelius marked this pull request as ready for review October 7, 2025 12:25
@cibelius cibelius requested a review from makelicious October 8, 2025 07:01
@cibelius
Copy link
Contributor Author

cibelius commented Oct 8, 2025

Tests passed here: https://github.com/opencrvs/e2e/actions/runs/18345477566

Failing storybook test is not related to this PR, see this discussion

@cibelius cibelius enabled auto-merge (squash) October 8, 2025 13:38
@cibelius cibelius disabled auto-merge October 8, 2025 13:39
@cibelius cibelius merged commit 35cd427 into develop Oct 8, 2025
160 of 164 checks passed
@cibelius cibelius deleted the ocrvs-10583 branch October 8, 2025 13:39
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.

Bugs for 'Certified' modal in printing flow for both birth and death events.

3 participants