umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.42k stars 2.67k forks source link

Collection showing child nodes in the content tree and the Delete option is missing (v14.1.1) #16849

Open Baracuda011 opened 1 month ago

Baracuda011 commented 1 month ago

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

14.1.1

Bug summary

I have a container document type for which I have created a collection. The collection is limited to 25 records per page, it allows bulk Move and Delete, and I have removed Grid as an option.

image

I am getting the collection display on the right hand side, but I still see child nodes in the content tree. Also, there is no option to delete any node, just to bulk Publish and Unpublish.

Specifics

No response

Steps to reproduce

  1. Create a parent document type
  2. Create a child document type
  3. Allow child document types to be created in the parent document type
  4. Create a few child documents
  5. Create a collection for the parent document type

Expected result / actual result

The collection should:

  1. Display child documents as a grid / table
  2. Child documents should not be visible in the content tree
  3. Bulk Move and Delete options should be visible when activated, they are not visible

image

image

github-actions[bot] commented 1 month ago

Hi there @Baracuda011!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:

elit0451 commented 1 month ago

Hi @Baracuda011 👋

Thanks for reaching out! I managed to reproduce the missing bulk Delete action. Here is how the options look on v13.4.1:

Actions

Regarding not hiding the collection's child items in the tree, as far as I gathered, this is intentional as it helps pagination in the tree/menu but @nielslyngsoe or @madsrasmussen can elaborate if necessary 🙂

Baracuda011 commented 1 month ago

Hi, @elit0451 . My expectation was to have the behaviour exactly like in your screenshot. As for the child items, I would really appreciate some additional context as lost views always removed child nodes from the content tree. This particular project I am working on at the moment, from where the screenshots are, will have several thousand child nodes in one container. Having them in the content tree will be very bad user experience. Would you agree?

elit0451 commented 1 month ago

You can see https://github.com/umbraco/Umbraco-CMS/issues/16493#issuecomment-2139247159 for reference regarding the collection's child items 🙂

Baracuda011 commented 1 month ago

Understood. Thanks, @elit0451 .

My personal opinion is that the user should have an option at least to hide child nodes from the content tree, as in my case I will never use it for this parent node with 3k+ child nodes.

elit0451 commented 1 month ago

Thank you for the input, I'll let @iOvergaard know 😌