Change a Glance dashboard with forms, not YAML ✏️

Glance is set up by writing YAML, with each widget’s options looked up in its docs. Glance Editor turns that into forms: pages, columns and widgets are changed by clicking, on a computer or a phone.

The editor: pages on the left, the page's columns in the middle, a Bookmarks widget's settings on the right
A page in the editor, with a Bookmarks widget open.

📄 Pages and columns

Pages can be added, renamed, reordered and deleted. Each has a layout of up to three columns, small or full, and widgets that sit above the columns across the whole width.

The editor keeps within Glance’s layout rules: at most three columns, one or two of them full, and two on a slim page. A choice that would break a rule is switched off, with the reason next to it, for example At least 1 column must be full.

Removing a column doesn’t lose its widgets: they move into the neighbouring column, and Undo puts everything back.

A page with three columns, the page's name, width and options above them
The page’s settings above, its columns below.

🧩 Every widget, with a form

Add widget lists every widget type the pinned Glance has, with a search. Each one opens a form built from its settings: a label and a line of help per field, and Glance’s own default shown greyed. Only what is set goes into glance.yml.

Add widget: a searchable list of widget types
Every widget type, grouped and searchable.

Some examples of what the forms take care of:

  • How often to fetch. Refresh data every sets how long Glance keeps a widget’s data; empty means Glance’s default for that widget.
  • Choices are buttons, not words to remember, each with a hint such as which styles suit a small column.
  • Bookmarks have groups, colours (swatches that follow the theme) and icons, with an icon finder for each link.

🧾 YAML when it’s wanted

Every widget also has a YAML tab, which shows exactly what will be written. Anything the form doesn’t cover can be typed there. Applying it turns the widget into a YAML widget: the form becomes read-only for it, and the text is written exactly as typed, comments and ${VARIABLES} included. Glance’s own check runs on it at Save.

A widget's YAML tab next to the page's columns
The YAML tab: what goes into glance.yml for this widget.

✋ Drag, or tap

Each card has a grip. With a mouse or a finger, drag:

  • widgets between columns, and into or out of groups and split columns;
  • pages in the side bar;
  • bookmark links and whole groups, even onto another Bookmarks widget.

A tap on the grip shows move buttons and Move to…: a list of every place the item can go, other pages included. A move to another widget or page can be undone.

Move to: a list of places a bookmark link can go
Move to… lists every place the link can go.

📱 On a phone too

On a narrow screen the same editor stacks into one column, with Pages, Theme, Values and History at the bottom.

The page editor on a phone
The same page on a phone.

Theme, background, icons and Docker containers have screens of their own. Nothing above reaches the dashboard until Save, which comes with a preview and checks of its own.