-
Notifications
You must be signed in to change notification settings - Fork 14
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: Remove draft when trashing or deleting its parent or ancestor location #439
Conversation
@katarzynazawada question:
|
Yes, this is expected. We have no information about number of drafts available under each tree and preparing a mechanism for counting that would require a lot of work. @barw4 I do agree with @katarzynazawada here. Maybe something to address in the future in separate task.
This is rather a design question but that would mean the checkbox would have to be checked every time we are trashing something, that would be cumbersome.
We also don't have information about child contents or these messages that we have when trashing from content tree. These messages probably require refactor but I'm not convinced this should be the scope of this PR.
Same as above. When user has child contents we are not showing any warnings like we do when trashing standard contents.
Fixed |
From my point of view, the messages should be the same. If we perform the same action (deleting content) from different places in the system (a button in the menu or the content tree) the flow should be the same. Forcing an additional action on the user (ticking a checkbox) in one place and not in another can be confusing. @NataliaBecla please add your recommendation
Indeed, there is also no information about removing subitems. I will report it in a separate ticket. |
@barw4 I do agree with @katarzynazawada here. Maybe something to address in the future in separate task.
@barw4 We should be consistent here. Action like "Send to trash" should have same dialog/text and checkbox(if needed) to keep clarity and consistency for users. |
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.
- Need to be fixed.
- Confirmed, it works now.
@barw4 Can you please adjust the spacing between the title/question and the rest of the content, and change the font style slightly to make it more distinct. These small changes will significantly improve the presentation. |
@katarzynazawada @NataliaBecla fixed and UI was improved. It's ready for re-test |
ef4e9c6
to
e55cc6b
Compare
Quality Gate passedIssues Measures |
Continuation of #398
Related PRs:
ibexa/admin-ui#1321
https://github.com/ibexa/content-tree/pull/85
Description:
Currently, drafts without a location (so not yet published) that are orphaned due to missing ancestor location are forever stuck in the void. They cause multiple issues in different parts of DXP and they are not easily removable.
This PR makes sure that every time a location is trashed drafts under this given location or its child locations are removed.
Documentation:
Probably required