1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Updated Dashboard layout tool (markdown)

Dave Conway-Jones 2018-12-04 15:36:36 +00:00
parent 4d2b16d24c
commit 2ff43e4ada

@ -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.
1. Change the order of widgets in a group by drag & drop.
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.
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.
After a user adjusts the layout on the window:
- If the user clicks `Done` button:
- inserts spacedout widget if necessary.
- inserts ui_spacer widget if necessary.
- updates the layout of sidebar and workspace.
- If the user clicks `Cancel` button, the change will be discarded.