Updated Dashboard layout tool (markdown)

Dave Conway-Jones 2018-12-04 15:36:36 +00:00
parent 4d2b16d24c
commit 2ff43e4ada
1 changed files with 2 additions and 2 deletions

@ -6,7 +6,7 @@ User cannot visually design a layout of dashboard widgets. This layout tool wil
There are several requirements that this layout tool should satisfy. There are several requirements that this layout tool should satisfy.
1. Change the order of widgets in a group by drag & drop. 1. Change the order of widgets in a group by drag & drop.
2. Change the size of a widget. 2. Change the size of a widget.
3. Pad [`spacedout` widgets](https://github.com/node-red/node-red-dashboard/tree/spacedout) when blank spaces are needed. 3. Pad [`ui_spacer` widgets](https://github.com/node-red/node-red-dashboard/tree/spacedout) when blank spaces are needed.
4. Move a widget from one group to the another. 4. Move a widget from one group to the another.
5. (optional) Change the size of a group. 5. (optional) Change the size of a group.
@ -18,7 +18,7 @@ To show the layout tool of dashboard, Add `layout` button on the tab menu.
When a user clicks the `layout` button, the window of a layout tool will appear. It should look like the maximized window of function node. When a user clicks the `layout` button, the window of a layout tool will appear. It should look like the maximized window of function node.
After a user adjusts the layout on the window: After a user adjusts the layout on the window:
- If the user clicks `Done` button: - If the user clicks `Done` button:
- inserts spacedout widget if necessary. - inserts ui_spacer widget if necessary.
- updates the layout of sidebar and workspace. - updates the layout of sidebar and workspace.
- If the user clicks `Cancel` button, the change will be discarded. - If the user clicks `Cancel` button, the change will be discarded.