Create a Help Block (#188)

Adds a block to explain how to use the app.
This commit is contained in:
Sylvie Crowe
2024-07-31 22:22:52 -07:00
committed by GitHub
parent 07843ab281
commit fc8c1104f4
4 changed files with 174 additions and 0 deletions
+9
View File
@@ -313,6 +313,15 @@ func applyDefaultSettings(settings *SettingsConfigType) {
},
},
},
{
Icon: "circle-question",
Label: "help",
BlockDef: wstore.BlockDef{
Meta: map[string]any{
wstore.MetaKey_View: "help",
},
},
},
}
if settings.Widgets == nil {
settings.Widgets = defaultWidgets