Thanks for what looks like a great and useful module. I have one request:

When starting minimised, could we add a behaviour to expand any branch that is checked/ticked so that the children are then visible.

e.g.

Starting state:

[ ] 1
[ ] 2
[ ] 3

Check option 2 and see:

[ ] 1
[x] 2
[ ] 2.1
[ ] 2.2
[ ] 3

This would be very useful for large hierarchical vocabularies.

Or is this already an option and I can't quite see how to configure?

I'm not a strong enough coder to have a crack at that... but I can see it being a use case for many people.

Thanks,

Ben

Comments

dzazi’s picture

Title: Expand to see children of ticked parent automatically » When starting minimised, expand to see children of checked parent automatically
bblake’s picture

StatusFileSize
new1.32 KB

I had a similar requirement, but also included toggling the menu open with the parent is clicked. Hope this might help you.

ptmkenny’s picture

Status: Active » Reviewed & tested by the community

This is a great usability improvement. I was going to add this myself, but then I searched the issue queue, and I'm glad I did. Great patch!

Status: Reviewed & tested by the community » Needs work

The last submitted patch, expand-1907974-2.patch, failed testing.

Anonymous’s picture

Issue summary: View changes

updated description

kenianbei’s picture

Version: 7.x-1.9 » 7.x-1.x-dev
Issue summary: View changes
Status: Needs work » Reviewed & tested by the community
StatusFileSize
new1.32 KB

Rerolling a new patch applied to 7.x-1.x HEAD. Also switching version to dev in hopes it will pass testing.

kenianbei’s picture

Status: Reviewed & tested by the community » Needs review

Wrong status.

kenianbei’s picture

StatusFileSize
new1.32 KB

For some reason patch did not test... reattaching.

fonant’s picture

Patch #7 works well for me here. Nice feature!

andyanderso’s picture

Great patch. #7 works for me. +1 for this as making it into the next code update.

alex_optim’s picture

StatusFileSize
new759 bytes

I propose to keep the first part of the patch. To my mind, the second part is not usability.

vladimiraus’s picture

Status: Needs review » Closed (outdated)

Thank you everyone for your contribution.
Drupal 7 is no longer supported but we always need support for Drupal 11 version.
Closing as outdated.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.