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 16 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

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?

Choose a reason for hiding this comment

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

@barw4 It seems there was a misunderstanding, as I thought we had resolved everything during the meeting. I suggest we go with @dew326 suggestion to use "Draft" as the title and format the sentence "sending this content item..." in regular font as shown below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

okay, will do, thank you

Choose a reason for hiding this comment

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

Great @barw4 👌👍 Looks good

@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
@barw4 barw4 force-pushed the ibx-8418-drafts-deletion-warning-trash-modal branch from 835b349 to d21881b Compare October 2, 2024 13:02
Copy link
Contributor

@konradoboza konradoboza left a comment

Choose a reason for hiding this comment

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

But don't we need to adjust corresponding Behat scenario here?

@konradoboza konradoboza requested a review from a team October 3, 2024 06:12
@barw4 barw4 requested review from dew326 and a team October 24, 2024 15:35
@barw4
Copy link
Contributor Author

barw4 commented Oct 24, 2024

@ibexa/javascript-dev I had to change scss so re-review would be welcome d8d90a3

@barw4 barw4 requested a review from dew326 October 25, 2024 09:07
Copy link

sonarcloud bot commented Nov 6, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement QA approved Tests update QA label indicating tests need to be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.