Feature request: Hide blocked items instead of just disabling them #544
Description
This is not a bug but a feature request.
If anyone is willing to point me in the right direction I would try and implement this myself.
Steps to reproduce
- block any item for a user
- user can still see the item on the backend but can not click on it anymore
wanted behaviour
Hide blocked items altogether
I have looked at the code generated by nextcloud very thoroughly and I can't find any way to distinguish blocked items in the html from normal ones. If that were possible I could just hide them via css but in the example I check everything was exactly the same.
I was trying to hide this element:
<tbody data-cy-files-list-tbody class="files-list__tbody files-list__tbody--list">
Also none of the child elements had anything that would identify the element as blocked. The new :has selector could be used to hide the element but as stated I could not find any way to distinguish the state.
Adding a distinguishing class would be enough to add the option to hide blocked items.
Activity