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

Labels of components hidden (direct or by logic) show up in summary #1451

Closed
13 tasks done
Bartvaderkin opened this issue Mar 18, 2022 · 2 comments
Closed
13 tasks done
Assignees
Milestone

Comments

@Bartvaderkin
Copy link
Contributor

Bartvaderkin commented Mar 18, 2022

Taiga DH 10

The ticket specifically mentions the case where parts of the form are conditional but the labels of hidden components still show up and potentially confuse the end-user into assuming they missed something.

Tasks

Prototyping was done in #1549

  • Set up renderer with different modes
  • Emit (child) nodes that all know how to render themselves
  • Implement confirmation email (HTML, text) using the renderer
  • Implement a CLI renderer for debugging purposes
  • Implement a confirmation PDF renderer
  • Implement the registration email using the renderer
  • Implement exports using the renderer
  • Add the FormIO options in form builder for showIn<RenderMode>
  • Write management command/diagnostic to detect usage of deprecated template tags/functionalities
  • Developer documentation
  • Add render management command (default to RenderModes.cli, optionally specify a render mode)
  • Implement showInSummary in the SDK
  • Add total cost (if relevant) to confirmation PDF
@Bartvaderkin Bartvaderkin changed the title Labels of components hidden (direct of by logic) show up in summary Labels of components hidden (direct or by logic) show up in summary Mar 18, 2022
@joeribekker
Copy link
Contributor

Discussed, see results below

IMG_20220324_120510

@Bartvaderkin Bartvaderkin self-assigned this Mar 24, 2022
Bartvaderkin added a commit that referenced this issue Mar 28, 2022
Bartvaderkin added a commit that referenced this issue Mar 31, 2022
Bartvaderkin added a commit that referenced this issue Apr 11, 2022
Bartvaderkin added a commit that referenced this issue Apr 11, 2022
@sergei-maertens sergei-maertens self-assigned this Apr 25, 2022
sergei-maertens added a commit that referenced this issue Apr 29, 2022
This sets up the base renderer class and Node (sub)classes to render
various data aspects of a form submission. Calling code is responsible
for processing the produced nodes while rendering.
sergei-maertens added a commit that referenced this issue Apr 29, 2022
…ering

This puts the configuration and base classes in place to construct
render nodes capable of undertanding Formio components. Where possible,
it defers to existing functionality in openforms.formio package.
@sergei-maertens sergei-maertens added this to the Release 1.1.0 milestone Apr 29, 2022
sergei-maertens added a commit that referenced this issue May 2, 2022
…iour

Fieldsets should only be visible if not explicitly hidden AND if they
have visible children.
sergei-maertens added a commit that referenced this issue May 4, 2022
sergei-maertens added a commit that referenced this issue May 4, 2022
sergei-maertens added a commit that referenced this issue May 6, 2022
This functionality is now completely replaced with the submission renderer
and format_value functionality.
sergei-maertens added a commit that referenced this issue May 6, 2022
This functionality is now completely replaced with the submission renderer
and format_value functionality.
sergei-maertens added a commit that referenced this issue May 6, 2022
sergei-maertens added a commit that referenced this issue May 9, 2022
Note that this effectively changes the output data including headers
that may not have been emitted before because they were hidden.
sergei-maertens added a commit that referenced this issue May 9, 2022
Note that this effectively changes the output data including headers
that may not have been emitted before because they were hidden.
sergei-maertens added a commit that referenced this issue May 9, 2022
Form definition key did not match the submission data key
sergei-maertens added a commit that referenced this issue May 9, 2022
sergei-maertens added a commit that referenced this issue May 9, 2022
sergei-maertens added a commit that referenced this issue May 9, 2022
This has been superceded by the renderer interface
sergei-maertens added a commit that referenced this issue May 9, 2022
sergei-maertens added a commit to open-formulieren/open-forms-sdk that referenced this issue May 9, 2022
@sergei-maertens
Copy link
Member

Done 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants