Refactoring of the project and new options added #26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request refactors the code to make it easier to add new styles and to extend the functionality of the library, making the code more readable and avoiding unwanted mistakes during styles coding.
As part of this pull request new options have been added to the library, allowing one to hide elements from the overflow menu on the top right corner. It also implements a better way to hide the
Search
and theAssistant
buttons, so, if these options are used, it will also affect these buttons when they are inside the top right overflow menu on small screens.hide_search
hide_assistant
hide_edit_dashboard
hide_refresh
yaml
modehide_unused_entities
yaml
modehide_reload_resources
yaml
modeIf some of these options are used in a way that the overflow menu ends up empty, it will hide (same as using the option
hide_overflow
).Closes #14