# Menu rework and "Show in system menu" removed in latest next branch

**URL:** <https://discourse.getcockpit.com/t/menu-rework-and-show-in-system-menu-removed-in-latest-next-branch/990>\
**Category:** Support\
**Created:** [August 28, 2019, 12:15pm UTC](https://discourse.getcockpit.com/t/menu-rework-and-show-in-system-menu-removed-in-latest-next-branch/990 "2019-08-28T12:15:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)\
**Post date:** [August 28, 2019, 12:15pm UTC](https://discourse.getcockpit.com/t/menu-rework-and-show-in-system-menu-removed-in-latest-next-branch/990/1 "2019-08-28T12:15:19Z")

</div>

@artur You reworked the system menu and removed the ability to display collections in it. I used that feature and now I have to think about a replacement.

Do you plan much more UI changes in the next days? If yes, I would wait with implementing the new changes to my needs and to a few addons.

I think, the easiest way to have that feature again, would be an event in the collection settings sidebar:

> <https://github.com/raffaelj/cockpit/blob/collection-view-events/modules/Collections/views/collection.php#L66-L72>

This would also allow more custom collection settings.

PS: I like the new design.

* * *

And I found some more changes, that could effect some addons or custom setups. If someone has issues, here are the changes in `/modules/Cockpit/views/layouts/app.php`:

- removed event `cockpit.menu.aside`
- removed event `cockpit.menu.main`
- new event `cockpit.menu.modules`
- new event `cockpit.menu.system`
- new event `cockpit.menu`

The Groups addon uses `cockpit.menu.aside`, but there might be some more, that need an update now.

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [August 31, 2019, 8:20am UTC](https://discourse.getcockpit.com/t/menu-rework-and-show-in-system-menu-removed-in-latest-next-branch/990/2 "2019-08-31T08:20:35Z")

</div>

Hi Raffael,

yes, I do some re-work/factoring before the next release.

The show in menu option wasn’t really used and confused most people, so I removed it.

I’ll introduce `@trigger('collections.settings.aside')` so you can add the functionality with a custom plugin if you want.

Regarding the backwards compatibility the addons can bind on both menu events:

```auto
$this->on(['cockpit.menu', 'cockpit.menu.aside'], function() {
...
});

```

I hope that I could clarify your questions.

Greets  
Artur

---

<div class="post-metadata">

**Author:** ![serjoscha87](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/serjoscha87/32/151_2.png) [@serjoscha87](https://discourse.getcockpit.com/u/serjoscha87)\
**Post date:** [August 31, 2019, 8:56am UTC](https://discourse.getcockpit.com/t/menu-rework-and-show-in-system-menu-removed-in-latest-next-branch/990/3 "2019-08-31T08:56:59Z")

</div>

Well, I used to take advantage of that feature too lately - dunno why it sould be removed 😯

At least one does not need to use it if one does not understand how it works or what it is made for 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [September 4, 2019, 7:58am UTC](https://discourse.getcockpit.com/t/menu-rework-and-show-in-system-menu-removed-in-latest-next-branch/990/4 "2019-09-04T07:58:25Z")

</div>

It is always my goal to keep Cockpit a simple as possible.

This means that I also remove stuff, that isn’t really used by the majority or even confuses people sometimes (eg bad ux from my part).

But I try always to keep a door open to bring back the functionality by creating a custom addon.

I hope you understand my thoughts behind the changes.

---

<div class="post-metadata">

**Author:** ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)\
**Post date:** [September 7, 2019, 8:24pm UTC](https://discourse.getcockpit.com/t/menu-rework-and-show-in-system-menu-removed-in-latest-next-branch/990/5 "2019-09-07T20:24:22Z")

</div>

> [@artur](#):
>
> I’ll introduce `@trigger('collections.settings.aside')`

Thanks.

> [@artur](#):
>
> But I try always to keep a door open to bring back the functionality by creating a custom addon.

I wrote that addon right now:

> **[GitHub - raffaelj/cockpit\_ShowInMenu: re-enable the feature to display...](https://github.com/raffaelj/cockpit_ShowInMenu/)**
>
> re-enable the feature to display collections etc. in the system menu - addon for Cockpit CMS - GitHub - raffaelj/cockpit\_ShowInMenu: re-enable the feature to display collections etc. in the system ...
