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

Polish backend for soft-required validation #4801

Merged
merged 4 commits into from
Oct 29, 2024

Conversation

sergei-maertens
Copy link
Member

Closes #4546

Changes

Tested this end-to-end with the SDK PR and noticed some more tweaks were needed.

  • Make sure the HTML for the content is not treated as Django template
  • Make sure the component is not displayed in summary page/PDF report/
    registration data etc.
  • Added tests
  • Added translations for accessible list label/heading

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
  • Commit hygiene

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

@sergei-maertens sergei-maertens force-pushed the feature/4546-soft-required-validation-polish branch from af53bc9 to 31dc3d0 Compare October 29, 2024 09:20
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.55%. Comparing base (7bae4ca) to head (fc2ffd7).
Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4801   +/-   ##
=======================================
  Coverage   96.55%   96.55%           
=======================================
  Files         748      748           
  Lines       25399    25406    +7     
  Branches     3354     3357    +3     
=======================================
+ Hits        24525    24532    +7     
  Misses        609      609           
  Partials      265      265           

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

* Make sure the HTML for the content is not treated as Django template
* Make sure the component is not displayed in summary page/PDF report/
  registration data etc.
* Added tests
@sergei-maertens sergei-maertens force-pushed the feature/4546-soft-required-validation-polish branch from 31dc3d0 to fc2ffd7 Compare October 29, 2024 10:25
@robinmolen
Copy link
Contributor

Yeah lgtm 👍

@sergei-maertens sergei-maertens merged commit 3ae5aad into master Oct 29, 2024
32 of 33 checks passed
@sergei-maertens sergei-maertens deleted the feature/4546-soft-required-validation-polish branch October 29, 2024 17:38
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.

Add "soft required" validation/hint to document uploads component
2 participants