Grocy: Request: Option to hide Battery features

Created on 3 May 2020  路  3Comments  路  Source: grocy/grocy

Many users never use the battery charging features, so this request is to add an option to hide those features from Grocy. If I check the box to "Hide Battery features in Grocy," then these things will be hidden:
"Batteries overview" link
"Battery tracking" link
Manage master data > "Batteries" link
"batteries" from the Entity dropdown

This will help keep the interface cleaner. You may also consider adding options to hide the other built-in features too.

question

All 3 comments

That's already possible, not only for batteries, see the "features flags" in config.php (FEATURE_FLAG_BATTERIES to hide everything related to batteries):

https://github.com/grocy/grocy/blob/1e07a2dc2e1bb34ad1f5cf5c3a591278128e2320/config-dist.php#L133-L156

Great, I wasn't aware of that config file before. Having the settings configurable from the web UI would be convenient but I'm sure you have a reason to keep them separate. Thank you

Having the settings configurable from the web UI would be convenient

Sure, would be better - the only reason is that the config file was there before any of the UI config pages ... and some settings (like BASE_PATH need to be loaded before any UI rendering happens)...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jayaddison picture jayaddison  路  5Comments

CorneliousJD picture CorneliousJD  路  4Comments

skettydog picture skettydog  路  4Comments

OmgImAlexis picture OmgImAlexis  路  3Comments

MrJohnZoidberg picture MrJohnZoidberg  路  3Comments