Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:card_file_box: Updates schema to include the show/ hide component attributes

Alicia Sykesbf6ffdb460b1
diff --git a/src/utils/ConfigSchema.json b/src/utils/ConfigSchema.json
index b47d82c5..98a2004b 100644
--- a/src/utils/ConfigSchema.json
+++ b/src/utils/ConfigSchema.json
@@ -123,6 +123,42 @@
"default": "medium",
"description": "The size of each link item / icon"
},
+ "hideComponents": {
+ "type": "object",
+ "description": "Hide individual parts of the page. If not set, all components are visible by default",
+ "properties": {
+ "hideHeading": {
+ "type": "boolean",
+ "default": "false",
+ "description": "If set to true, the page heading & subtitle will be hidden"
+ },
+ "hideNav": {
+ "type": "boolean",
+ "default": "false",
+ "description": "If set to true, the navigation menu will be hidden"
+ },
+ "hideSearch": {
+ "type": "boolean",
+ "default": "false",
+ "description": "If set to true, the search bar will be hidden"
+ },
+ "hideSettings": {
+ "type": "boolean",
+ "default": "false",
+ "description": "If set to true, the settings buttons will be hidden"
+ },
+ "hideFooter": {
+ "type": "boolean",
+ "default": "false",
+ "description": "If set to true, the page footer will be hidden"
+ },
+ "hideSplashScreen": {
+ "type": "boolean",
+ "default": "true",
+ "description": "If set to true, the loading / splash screen will not be shown"
+ }
+ }
+ },
"cssThemes": {
"type": "array",
"description": "Theme names to be added to the dropdown",
@@ -144,11 +180,6 @@
"type": "string",
"description": "Any custom CSS overides, must be minified"
},
- "showSplashScreen": {
- "type": "boolean",
- "default": false,
- "description": "Display a loading screen when the app is launched"
- },
"statusCheck": {
"type": "boolean",
"default": false,