we have some sections of the admin menu that lead to landing pages that list everything in that section. On pages like /admin and /admin/config this is particularly useful. But if there were only a single link on that landing page, it could be frustrating to click there, then need to click a level deeper immediately.
Search, for example, has only a single sub-page in core.

Content has only a single sub-page in core.

Administration also has only a single sub-page in core.

I'm not sure how hard it would be to do, but I would love it if when there is only a single sub-item it went directly to that section.
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE