Feature No Code Attached Yet
avatar jduerscheid
jduerscheid
28 Jul 2022

Feature Request

Let the Menu item in the Backend View List make collapseable.

Problem that I want to solve

During maintaining website which an very large number of menuitems it is really difficult to find the korrekt menu-item, even if they have the same name, like an contact Page for every different part of the website. So you can filter by level or name, but the problem is, you are not able to see the context.

Idea to solve it

make the menu-items which has ab child collapsable, so you can close all the areas which are not necessary to see during your actual task. I think this will be make it easier to maintain websites with 50+ menu-items.

Sorry for the first to short version of the issue

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar jduerscheid jduerscheid - open - 28 Jul 2022
avatar jduerscheid jduerscheid - change - 28 Jul 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 28 Jul 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Jul 2022
avatar richard67
richard67 - comment - 28 Jul 2022

From talks in the German Glip channel i know that this issue is a feature request for the menu item list view. From the few words in the description this is absolutely not clear.

avatar richard67 richard67 - change - 28 Jul 2022
Labels Added: ?
avatar richard67 richard67 - labeled - 28 Jul 2022
avatar jduerscheid jduerscheid - change - 28 Jul 2022
The description was changed
avatar jduerscheid jduerscheid - edited - 28 Jul 2022
avatar jduerscheid jduerscheid - change - 28 Jul 2022
The description was changed
avatar jduerscheid jduerscheid - edited - 28 Jul 2022
avatar chmst
chmst - comment - 29 Jul 2022

Large category trees are indeed a challenge. You suggest a tree appearance and this could be better than now but is a big task.
I could imagine an additional filter for the parent category instead.

avatar jduerscheid
jduerscheid - comment - 29 Jul 2022

Yes category tree’s are although sometimes a bit stupid. But I think if you solve this problem for menu tree’s it will be easy to adopt for categories.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38335.

avatar brianteeman
brianteeman - comment - 29 Jul 2022

Is tthis the type of thing you are looking for?

https://codepen.io/brianteeman/pen/abYVYYd

avatar brianteeman
brianteeman - comment - 29 Jul 2022

menu

avatar brianteeman
brianteeman - comment - 29 Jul 2022

It shouldnt be too hard to create as we already have all the information about the level and the parents in the row as data attributes

avatar jduerscheid
jduerscheid - comment - 29 Jul 2022

Hey Brian, yes, this is the desired behavior


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38335.

avatar jduerscheid
jduerscheid - comment - 29 Jul 2022

It shouldnt be too hard to create as we already have all the information about the level and the parents in the row as data attributes

Yes the information about the level is allready in the element

avatar brianteeman
brianteeman - comment - 7 Sep 2022
chrome_jV2WbtCgd3.mp4

@obuisard any interest?

avatar obuisard
obuisard - comment - 7 Sep 2022

I really like the concept.
2 things that come to mind (but I am sure it was thought out already, I just want to make sure it is written here):

  • we need an icon for the 'open' state and an icon for the 'closed' state,
  • we need to test how it will affect pagination (depends on the implementation)
avatar brianteeman
brianteeman - comment - 8 Sep 2022

pagination will be tricky when you get groups split by pagination. Thats one of the reasons I wanted to see if there was interest in the concept before continuing

avatar obuisard
obuisard - comment - 8 Sep 2022

This behavior (open/close of parent) is expected from users, and I do think it can bring some ease of use to the view.
However, if we go that route, that behavior should be extended to all the views that have trees (tags, categories to name a few) for consistency. If a solution could be found that would also allow third party extensions to use it as well, it would be a great addition to the user interface.

avatar brianteeman
brianteeman - comment - 8 Sep 2022

Agreed
Should be just as easy to apply to all tree views and as its just a markup change then extension developers could do the same when documented on manuals.joomla.org

avatar jduerscheid
jduerscheid - comment - 8 Sep 2022

we need to test how it will affect pagination (depends on the implementation)

Perhaps we set the limit to infinity when there are entries collapsed, because it is not necessary to paginate the entries.

avatar jduerscheid
jduerscheid - comment - 2 Sep 2023

I just added the code to add this feature to Joomla 5. I hope somebody will test this feature.

avatar richard67 richard67 - change - 2 Sep 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-09-02 21:53:29
Closed_By richard67
Labels Added: Feature
Removed: ?
avatar richard67 richard67 - close - 2 Sep 2023
avatar richard67
richard67 - comment - 2 Sep 2023

Closing as having a pull request. See #41557 .

Add a Comment

Login with GitHub to post a comment