Standard Library (Cells) in Fixed Grid Layout

There’s a passing mention here:

that the “cell” class of widgets are very specialized and aren’t meant to be added outside a oh-cells container:

  • cell widgets, examples: oh-cell, oh-knob-cell, oh-colorpicker-cell: These widgets are fixed-size cells that you can only add to an oh-cells container widget immediately below an oh-block in a layout page - they will either perform an action - switching a light on & off - or expanding to reveal additional controls

I’ll admit it’s easy to miss.

Fully agree on the need to expand individual components’ doc pages with more examples, slot descriptions etc. It’s a thankless job.

Some random factoid- my first iteration with this design (components/slots) was HABot and there the slots were very much controlled: HABot Walkthrough (5/n): The Card Designer
(you could only add certain slots to certain components right in the designer and you got a description of each) but with so many components for the main UI that wasn’t flexible enough to reproduce so you have to figure out the slots and what they represent, possibly assisted by documentation.

2 Likes