Giter VIP home page Giter VIP logo

custom-sidebar's People

Contributors

dependabot[bot] avatar elchininet avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

custom-sidebar's Issues

Cant hide media player

Hey, im trying to hide the media player/browser, but i cant seem to get it right. The integration does work (tried it with the file you provided).
Here's my config

order:
  - item: media browser
    hide: true
exceptions:
  - user:
    - test
    base_order: false
    order: []
id: 

Any idea what i might have gotten wrong?

json file not found

sorry to open the first issue, but after several weeks of fine operation, I suddenly see this happening in my system, and the sidebar is completely populated again:

Scherm­afbeelding 2024-01-25 om 15 54 40

I validated the json file is syntactically correct.

this is where it resides:

Scherm­afbeelding 2024-01-25 om 15 56 29

version:

Scherm­afbeelding 2024-01-25 om 15 54 47

Ive given it a few cache refreshes, and even restarted HA.

Two ways to bypass addon

Hello, it's me again. I might have found two ways to bypass the addon:

  1. When a user tries to change the order of the sidebar in his user-settings, the settings of the addon seem to be ignored.
profil-home-assistant-personlich-microsoft-edge-2024-02-12-15-40-23_D40K8l3Q.mp4
  1. When a user changes his language, the same thing happens

order not completely respected

having changed the setup to match several items, I still see the order not 100% repected the way it is set in the json:

left is Safari, right is Chrome

Scherm­afbeelding 2024-01-25 om 20 41 12

sidebar-config.json

Tried to rebuild it from scratch, and even reversed the order here, so first 'hide' all I want to hide, and next add the new order of menu-items.

Notably Cameras and Energie are completely wrong in Chrome and Safari.
The default 'Overzicht' (without color or notification in Chrome) is not hidden. Ive set that to hide with

        {
            "item": "/lovelace",
            "hide": true
        },

Other than that, Safari left seems to follow the json file order best, Chrome messes it up...

not sure where to go next, other than keep hitting refresh cache (which ofc I have done more than a few times now....)

edit

adding a closing / on these hrefs made them move in Safari correctly, which is now 100% as it was hoped for:

        {
            "item": "/ui-cctv/",
            "match": "href",
            "order": 6
        },
        {
            "item": "/energy/",
            "match": "href",
            "order": 7
        },
Scherm­afbeelding 2024-01-25 om 20 56 05

Chrome is still messy, although it did move the Energy item, albeit to the wrong spot, and keeps the default Dashboard (Overzicht)

Scherm­afbeelding 2024-01-25 om 20 57 01

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.