-
Notifications
You must be signed in to change notification settings - Fork 4
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
base: master
Are you sure you want to change the base?
Feature/579 #965
Conversation
{ | ||
:noreply, | ||
socket |> assign(page_ref: page_ref) |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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.
No description provided.