galloween / custom-sidebar-v2

Home Assistant (HACS) plugin that allows you to rearrange, hide, and add sidebar menu items. Refactor of https://github.com/Villhellm/custom-sidebar
21 stars 13 forks source link

Order not respected in mobile app #14

Open tomlut opened 2 years ago

tomlut commented 2 years ago

This config works perfectly in my desktop browser:

{
  "order": [
    {
      "item": "lovelace",
      "order": 0
    },
    {
      "item": "lovelace-administration",
      "order": 1
    },
    {
      "item": "mobile-view",
      "order": 2
    },
    {
      "item": "shopping-list",
      "order": 3
    },
    {
      "item": "a0d7b954_grafana",
      "order": 4
    },
    {
      "item": "energy",
      "order": 5
    },
    {
      "item": "logbook",
      "order": 6
    },
    {
      "item": "history",
      "order": 7
    },
    {
      "item": "map",
      "order": 8
    },
    {
      "item": "redirect-logs",
      "bottom": true,
      "order": 9
    },
    {
      "item": "redirect-server-controls",
      "bottom": true,
      "order": 10
    },
    {
      "item": "redirect-devices",
      "bottom": true,
      "order": 11
    },
    {
      "item": "hacs",
      "bottom": true,
      "order": 12
    },
    {
      "item": "redirect-addons",
      "bottom": true,
      "order": 13
    },
    {
      "item": "alarmo",
      "bottom": true,
      "order": 14
    },
    {
      "item": "developer-tools",
      "bottom": true,
      "order": 14
    },
    {
      "item": "settings",
      "bottom": true,
      "order": 14
    },
    {
      "item": "media",
      "hide": true
    }
  ]
}

Screenshot 2022-08-24 at 19-35-28 Overview – Home Assistant

However it is all over the place in the iOS Home Assistant companion app:

9345

I have reset the frontend cache and reloaded but it made no difference.

tomlut commented 2 years ago

Actually, I've been noticing issues with the desktop too. It does not respect the order until I long press the menu title. Then the order updates to that specified.

So much so that I have gone back to manually defining the order per device and have removed this plug-in.