Skip to content

Design: Dashboard layout tool

Kazuki Nakanishi edited this page Dec 17, 2018 · 10 revisions

This is a work in progress.

The original contents are here.

Description

User cannot visually design a layout of dashboard widgets. This layout tool will allow a user to re-arrange dashboard widgets by drag & drop.

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 using ui_spacer widgets when blank spaces are needed.
  4. Move a widget from one group to the another.
  5. (optional) Change the size of a group.

User interface

To show the layout tool of dashboard, Add layout button on the tab menu.

dashboard sidebar

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 and/or removes ui_spacer widgets as necessary.
    • updates the layout of sidebar and workspace.
  • If the user clicks Cancel button, the change will be discarded.

Layout tool

Potential useful libraries

Future discussion

  • Add a node on the layout tool.

  • Add/remove a group.

  • Move layout editor to "top" level

    • add sidebar on left with the tab names
      • allow re-ordering of tabs (up/down list)
      • allow each tab to be drop target for groups dragged from layout editor

Clone this wiki locally