juliushaertl / direct_menu

Nextcloud/OwnCloud app to provide easy access to all apps in the header
GNU Affero General Public License v3.0
17 stars 8 forks source link

[Feature Request] Changing order of Icons #23

Closed dynobo closed 8 years ago

dynobo commented 8 years ago

Please add a possibility to rearrange the icons. This would be very useful to me, with > 8 Apps...

Thanks for this app! :-)

juliushaertl commented 8 years ago

I already thought about this, but as there is no dynamic mechanism in owncloud core to update the app order, I decided not to implement reordering. This feature was also requested and rejected in core: https://github.com/owncloud/core/issues/10654

You can manually edit the order parameter for each app inside the app.php file to achieve a custom order:

\OCP\App::addNavigationEntry(array(
    //...
    'order' => 10,
Mannshoch commented 8 years ago

This will end in an Integrity error after upgrading Owncloud and also it went to default position if an App get updated.

juliushaertl commented 8 years ago

I've just started implementing the ability to reorder app icons. See #28

Mannshoch commented 8 years ago

Thanks a lot @juliushaertl

juliushaertl commented 8 years ago

See https://github.com/juliushaertl/apporder for ongoing progress.