Comments (10)
The option is not in core but in custom-sidebar
, check the configuration options.
from custom-sidebar.
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:
Do not worry, issues exist for that reason 😉
Check the merge request that was published in the major version 2.0.0
.
from custom-sidebar.
i am completely flabbergasted here. I didn't update the resource at all, and was running the version as printed for some time now...
also, now I change the name, ma ny menu items still show.
must check whether the config options have changed too I guess...
see how most of these except for Logbook are still displayed, and order on Energy and Cameras is not respected :
![Schermafbeelding 2024-01-25 om 16 35 44](https://private-user-images.githubusercontent.com/33354141/299719952-e15fbe50-2da2-4cab-90b4-84afa4d0dfc8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3MjcyMDksIm5iZiI6MTcxODcyNjkwOSwicGF0aCI6Ii8zMzM1NDE0MS8yOTk3MTk5NTItZTE1ZmJlNTAtMmRhMi00Y2FiLTkwYjQtODRhZmE0ZDBkZmM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE4VDE2MDgyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE5NjU2YjI3M2UzNzAwYjU1NWNmMTFlMzAyMjY5ZDE5MTEyOThlZDE5ZTQ3MmI3OTVhNDEzYzczNTZiZDFiYjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.PVUy8zxhUcRgyigjjyEDhVt8inhkCjBcOmyly2lZla8)
also still dont get why this started just now, and not when the merge was done..
from custom-sidebar.
found some of the trouble:
{
"item": "logboek",
"hide": true
},
{
"item": "history",
"match": "data-panel",
"hide": true
},
{
"item": "calendar",
"match": "data-panel",
"hide": true
},
{
"item": "todo",
"match": "data-panel",
"hide": true
},
{
"item": "media",
"hide": true
},
{
"item": "resources",
"hide": true
},
{
"item": "config",
"match": "data-panel",
"exact": true,
"hide": true
},
{
"item": "developer-tools",
"match": "data-panel",
"hide": true
}
match
was introduced, and indeed now fixes the hides.
not the order yet:
from custom-sidebar.
Most probably this is a cache issue, that is why it started now.
For the other issue, I recommend you to backup the JSON, start from scratch, and add things one by one. If it works with one go to the second and stop when it fails so you can detect exactly where it is failing. With a whole configuration it is difficult.
from custom-sidebar.
ok will do, and will open new issue on order if still occurring after rebuilding.
Is there a chance core menu item order (set when wiggling) would interfere here?
from custom-sidebar.
ok will do, and will open new issue on order if still occurring after rebuilding.
👍
Is there a chance core menu item order (set when wiggling) would interfere here?
I really don‘t know, mine is done from scratch. If you detect that it interferes let me know to add it to the notes.
from custom-sidebar.
just a quick observation on core menu item interfering with this plugin:
when deleting menu items in core, and also having set a hide in the plugin, this results in a warning in Inspector on an unavailable menu item.
![Schermafbeelding 2024-03-05 om 09 46 37](https://private-user-images.githubusercontent.com/33354141/310044373-94876bf9-65f9-4048-9c18-dd439f925513.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3MjcyMDksIm5iZiI6MTcxODcyNjkwOSwicGF0aCI6Ii8zMzM1NDE0MS8zMTAwNDQzNzMtOTQ4NzZiZjktNjVmOS00MDQ4LTljMTgtZGQ0MzlmOTI1NTEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE4VDE2MDgyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2YWRiMjQxMzBmMGI4ZTMwMmRiNzliNTE5MmNhNDU3OWUwYjczMzhmYTExZGM3ZDgzNTM0NGMxZjg1OWIyN2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.d30v3ACXXmp_raDpxeiohZ8nktTmBnYm1-XYHbCq_EE)
seems an issue, or at least worth the trouble of improving that notification?
something like: "you are hiding a menu item, but it is already hidden in core."
I am aware core hiding is per device, and plugin hides per system.
I am not sure this doesnt harm Frontend rendering, looking for items that are no availble.
I took out the core hiding now, and let plugin do all the work, at least that prevents the warnings
from custom-sidebar.
Yes, that warning is on purpose and it doesn‘t harm the rendering in any way, it just warn you that you have an item in your config that doesn‘t match with any item in the sidebar.
The plugin doesn‘t know if it cannot find the item because it was hidden with the core functionality, or because the user made a typo in the configuration, or because the user is trying to match the items by English texts meanwhile has Home Assistant in another language, the causes could be multiple, and only the user will know why it is happening, that‘s the purpose of the warning 🙂
Remember that you have a new option to disable the native reordering/hiding functionality of the sidebar, in that way, you can prevent that anyone uses this functionality due that it is being managed by the plugin.
from custom-sidebar.
Remember that you have a new option to disable the native reordering/hiding functionality of the sidebar, in that way, you can prevent that anyone uses this functionality
Not sure I understand what you are referring to here? Which new option in Core is that?
from custom-sidebar.
Related Issues (9)
- order not completely respected HOT 4
- Cant hide media player HOT 18
- Two ways to bypass addon HOT 10
- Sample config does not work HOT 2
- `bottom: true` flag doesn't seem to work on most items HOT 12
- Only works properly with iPad companion app? HOT 3
- Sidebar title HOT 3
- cant hide an element (the HA default Overview) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from custom-sidebar.