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

IBX-8418: Added drafts deletion warning to trash modal #1321

Open
wants to merge 2 commits into
base: 4.6
Choose a base branch
from

Conversation

barw4
Copy link
Contributor

@barw4 barw4 commented Aug 8, 2024

🎫 Issue IBX-8418

Related PRs:

ibexa/core#398

Description:

image

@barw4 barw4 force-pushed the ibx-8418-drafts-deletion-warning-trash-modal branch from 18e70f5 to 4dc6d6d Compare August 9, 2024 15:01
Copy link

sonarcloud bot commented Aug 9, 2024

@mikadamczyk mikadamczyk requested a review from a team August 12, 2024 06:56
@konradoboza konradoboza requested a review from a team August 12, 2024 07:01
@@ -15,6 +15,11 @@
{% endblock %}
{% block body_content %}
{{ 'trash.modal.send_to_trash.message'|trans|desc('Are you sure you want to send this Content item to Trash?') }}
<div class="ibexa-modal__trash-option">
<p class="ibexa-modal__option-label ibexa-label form-label required">
Copy link
Contributor

Choose a reason for hiding this comment

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

label with "*" as an explanation is probably not the best UX.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dew326 Don't we have the same for Conflicts with relations and Sub-items warnings?

Copy link
Contributor

Choose a reason for hiding this comment

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

Not in this styling. The explanation is bigger and not gray.

Copy link
Contributor Author

@barw4 barw4 Aug 12, 2024

Choose a reason for hiding this comment

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

Ok, should I go with a simple paragraph then? Or any other example in which any particular html elements/classes should be used?

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should add a new "trash_option" for example: "Drafts" and there put this explanation.
This is probably for @NataliaBecla and @juskora.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @NataliaBecla, can we get your feedback on this?

@julitafalcondusza
Copy link

Hi! After discussing with @mnocon and @juskora - this will be the part of bigger project that will include improvement of messages within our platform. For now, all the texts need to stay as they are.

@barw4 barw4 requested a review from dew326 September 12, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants