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

Feature/579 #965

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Feature/579 #965

wants to merge 4 commits into from

Conversation

MelchiorKokernoot
Copy link
Contributor

No description provided.

@MelchiorKokernoot MelchiorKokernoot linked an issue Sep 26, 2024 that may be closed by this pull request
@MelchiorKokernoot MelchiorKokernoot marked this pull request as ready for review September 26, 2024 14:44
{
:noreply,
socket |> assign(page_ref: page_ref)
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider to add an extra check on wysiwyg field text. If no text, there is no real reason for the confirmation.

@impl true
def compose(:confirmation_modal, %{entity: %{consent_agreement: consent_agreement}}) do
%{
module: Pixel.ConfirmationModal,
Copy link
Contributor

Choose a reason for hiding this comment

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

“By skipping the consent, not only will the text be deleted, but the underlying consent agreement and all associated signatures will also be removed. It would be beneficial to clarify this in the body of the confirmation modal, as the current text is static.

Additionally, you may want to implement a check on the consent agreement. If no signatures are present, there is no need to include this clarification in the confirmation modal, as the default text will suffice in such cases.

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.

Text fields emptied
2 participants