Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#5006] Ability to manually fill in addressNL streetname and city #5022

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vaszig
Copy link
Contributor

@vaszig vaszig commented Jan 17, 2025

Closes #5006

  • Needs

    • new version of form-builder
    • frontend translations

Changes

  • Updated street name and city serializer fields in order to be able to require these fields in case
    the component is required.

Checklist

Check off the items that are completed or not relevant.

  • Impact on features

    • Checked copying a form
    • Checked import/export of a form
    • Config checks in the configuration overview admin page
    • Problem detection in the admin email digest is handled
  • Release management

    • I have labelled the PR as "needs-backport" accordingly
  • I have updated the translations assets (you do NOT need to provide translations)

    • Ran ./bin/makemessages_js.sh
    • Ran ./bin/compilemessages_js.sh
  • Dockerfile/scripts

    • Updated the Dockerfile with the necessary scripts from the ./bin folder
  • Commit hygiene

    • Commit messages refer to the relevant Github issue
    • Commit messages explain the "why" of change, not the how

@vaszig vaszig marked this pull request as draft January 17, 2025 11:25
@vaszig vaszig force-pushed the feature/5006-addressnl-ability-to-manually-edit-streetname-city branch from cde749b to 43db85b Compare January 22, 2025 14:28
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

Attention: Patch coverage is 90.47619% with 2 lines in your changes missing coverage. Please review.

Project coverage is 96.66%. Comparing base (46f3859) to head (c24cb2b).
Report is 51 commits behind head on master.

Files with missing lines Patch % Lines
src/openforms/formio/components/custom.py 90.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5022      +/-   ##
==========================================
+ Coverage   96.63%   96.66%   +0.03%     
==========================================
  Files         761      765       +4     
  Lines       26004    26152     +148     
  Branches     3395     3412      +17     
==========================================
+ Hits        25129    25281     +152     
+ Misses        610      606       -4     
  Partials      265      265              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vaszig vaszig force-pushed the feature/5006-addressnl-ability-to-manually-edit-streetname-city branch 3 times, most recently from eba53a2 to 1c03258 Compare January 23, 2025 12:20
…eetname and city

Updated street name and city serializer fields in order to be able to
require these fields in case the component is required.
@vaszig vaszig force-pushed the feature/5006-addressnl-ability-to-manually-edit-streetname-city branch from 1c03258 to c24cb2b Compare January 23, 2025 12:52
Comment on lines +491 to +494
# when the user fills in manually the city and the street name we do not
# need to check the secret city - street name combination
if not auto_populated:
return attrs
Copy link
Member

Choose a reason for hiding this comment

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

ah okay, and because autoPopulated = False we then also know in the registration backend that the data can potentially not be trusted, right?

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.

AddressNL - autofill unhappy flow
2 participants