Skip to content

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

Draft
vaszig wants to merge 1 commit intomainfrom
feature/5006-addressnl-ability-to-manually-edit-streetname-city
Draft

[#5006] Ability to manually fill in addressNL streetname and city#5022
vaszig wants to merge 1 commit intomainfrom
feature/5006-addressnl-ability-to-manually-edit-streetname-city

Conversation

@vaszig
Copy link
Copy Markdown
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
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 22, 2025

Codecov Report

❌ Patch coverage is 75.86207% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.68%. Comparing base (934bb7a) to head (8d660e6).
⚠️ Report is 2194 commits behind head on main.

Files with missing lines Patch % Lines
src/openforms/formio/components/custom.py 74.07% 4 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5022      +/-   ##
==========================================
- Coverage   96.71%   96.68%   -0.03%     
==========================================
  Files         770      770              
  Lines       26489    26515      +26     
  Branches     3453     3461       +8     
==========================================
+ Hits        25618    25637      +19     
- Misses        607      611       +4     
- Partials      264      267       +3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vaszig vaszig force-pushed the feature/5006-addressnl-ability-to-manually-edit-streetname-city branch 4 times, most recently from 1c03258 to c24cb2b Compare January 23, 2025 12:52
Comment on lines +491 to +582
# 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
Copy Markdown
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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is how I thought about it.Let me know if you agree.

@vaszig vaszig force-pushed the feature/5006-addressnl-ability-to-manually-edit-streetname-city branch from c24cb2b to e645729 Compare January 28, 2025 15:35
@vaszig vaszig marked this pull request as ready for review January 28, 2025 15:36
@vaszig
Copy link
Copy Markdown
Contributor Author

vaszig commented Jan 28, 2025

Missing the dutch translations for this..

@vaszig vaszig force-pushed the feature/5006-addressnl-ability-to-manually-edit-streetname-city branch from e645729 to bb3500e Compare January 28, 2025 15:55
…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 bb3500e to 8d660e6 Compare January 29, 2025 15:16
@sergei-maertens sergei-maertens marked this pull request as draft February 5, 2025 09:56
@sergei-maertens sergei-maertens self-assigned this Oct 10, 2025
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