From 6c0fb6fd41236ea62e4ad0b9eaf93bf276ccd69f Mon Sep 17 00:00:00 2001 From: Alicia Sykes <=> Date: Sun, 26 Dec 2021 00:31:46 +0000 Subject: [PATCH] :memo: Adds docs about global widget UI options --- docs/widgets.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/widgets.md b/docs/widgets.md index 7e8ac22c..4dc3ccef 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -42,6 +42,7 @@ Dashy has support for displaying dynamic content in the form of widgets. There a - [Widget Usage Guide](#widget-usage-guide) - [Continuous Updates](#continuous-updates) - [Custom CSS Styling](#widget-styling) + - [Widget UI Options](#widget-ui-options) - [Building a Widget](#build-your-own-widget) ## General Widgets @@ -924,6 +925,18 @@ For more info on how to apply custom variables, see the [Theming Docs](/docs/the --- +### Widget UI Options + +Widgets can be opened in full-page view, by clicking the Arrow icon (top-right). The URL in your address bar will also update, and visiting that web address will take you straight to the selected widget. + +You can reload the data of any widget, by clicking the Refresh Data icon (also in top-right). This will only affect the widget where the action was triggered from. + +All [config options](/docs/configuring.md#section) that can be applied to sections, can also be applied to widget sections. For example, to make a widget span multiple columns, set `displayData.cols: 2` within the parent section. You can collapse a widget (by clicking the section title), and collapse state will be saved locally. + +Widgets cannot currently be edited through the UI. This feature is in development, and will be released soon. In the meantime, you can either use the JSON config editor, or use VS Code or SSH into your box to edit the conf.yml file directly. + +--- + ### Build your own Widget Widgets are built in a modular fashion, making it easy for anyone to create their own custom components.