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

✨ [#4991] Add selection of Referentielijsten services to general config #4992

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

stevenbal
Copy link
Contributor

@stevenbal stevenbal commented Jan 7, 2025

Closes #4991

Changes

  • Add selection of Referentielijsten services to general config

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

@stevenbal stevenbal marked this pull request as draft January 7, 2025 11:27
@stevenbal stevenbal marked this pull request as ready for review January 7, 2025 11:28
Copy link
Member

@sergei-maertens sergei-maertens left a comment

Choose a reason for hiding this comment

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

I'm not sure why the tests are failing?

@stevenbal
Copy link
Contributor Author

@sergei-maertens not sure either, I might have to rebase?

Comment on lines 562 to 571
referentielijsten_services = models.ManyToManyField(
Service,
verbose_name=_("referentielijsten services"),
help_text=_(
"List of services that are instances of the Referentielijsten API. "
"The selected services will be shown as options when configuring "
"select or selectboxes components to be populated from Referentielijsten."
),
)
Copy link
Member

Choose a reason for hiding this comment

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

The test failures seem to be from the admin tests for global configuration - perhaps it's because this field is not marked as blank=True which makes it required now, while it shouldn't be?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed it 👍

the selected services will be shown as options when configuring select/selectboxes using Referentielijsten
@stevenbal stevenbal force-pushed the feature/4991-referentielijsten-config branch from 01c422b to b62f6a8 Compare January 13, 2025 11:00
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.66%. Comparing base (e59012c) to head (b62f6a8).
Report is 16 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4992   +/-   ##
=======================================
  Coverage   96.66%   96.66%           
=======================================
  Files         761      761           
  Lines       25959    25962    +3     
  Branches     3394     3394           
=======================================
+ Hits        25093    25096    +3     
  Misses        601      601           
  Partials      265      265           

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

@sergei-maertens sergei-maertens merged commit f16d700 into master Jan 13, 2025
31 of 32 checks passed
@sergei-maertens sergei-maertens deleted the feature/4991-referentielijsten-config branch January 13, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants