fsbraun / djangocms-form-builder

Other
11 stars 6 forks source link

feat: Allow actions to add form fields for configuration #6

Closed fsbraun closed 1 year ago

fsbraun commented 1 year ago

This PR adds the options for actions to add form fields for configuration. Form fields will be shown in the Form Plugin admin if the corresponding action is activated (dynamically).

It works with djangocms-frontend's (not yet released) main branch (and w/o djangocms-frontend).

This PR is lacking test as of now.

codecov-commenter commented 1 year ago

Codecov Report

Merging #6 (cb1ebd2) into master (74efffb) will decrease coverage by 0.64%. The diff coverage is 57.89%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   63.48%   62.85%   -0.64%     
==========================================
  Files          21       21              
  Lines        1353     1416      +63     
  Branches      212      219       +7     
==========================================
+ Hits          859      890      +31     
- Misses        453      485      +32     
  Partials       41       41              
Impacted Files Coverage Δ
djangocms_form_builder/actions.py 53.33% <49.09%> (-3.57%) :arrow_down:
djangocms_form_builder/cms_plugins/ajax_plugins.py 51.32% <53.84%> (+0.22%) :arrow_up:
djangocms_form_builder/forms.py 74.86% <75.00%> (-1.93%) :arrow_down:
djangocms_form_builder/models.py 77.98% <100.00%> (+0.10%) :arrow_up:
djangocms_form_builder/settings.py 80.00% <100.00%> (+1.05%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more