Skip to content

Layout Warnings

WARN-ADJACENT-TEXT-ROWS: Consecutive text-only rows each flow into their own columns

  • Level: warning
  • Domain: compile
  • Suppressible: yes

Message template:

{count} text-only rows in a row: each is measured and flowed on its own, so the column grid restarts at every one; the column edges do not line up, and whichever block half-fills its last column leaves a gap mid-page.

Fix: Merge them into one - text: block. Prose in a single block flows through one set of columns and fills them evenly; the headings that separated the rows still separate the sections inside it.

Fires when two or more consecutive rows: items are body prose and nothing else. Every prose block picks its own column count from its own line count and balances its own lines, with no flow between blocks, so stacking them renders unrelated grids rather than one continuous passage. One diagnostic per run, marking the second row of it; a run of four rows is one authoring decision, not three. A title: on the row does not exempt it: - title: + text: is how a section of prose is written, and two of those fragment the same way, so the fix is to merge them and let the later titles become headings inside the merged block. Four shapes do not participate, and each of them also ends a run rather than being skipped over; a row between two passages is something the author put there. They are: a row holding a layout of its own (a section, not a block of prose); a row carrying anything only a slot can carry: style:, visible:, a details: disclosure, an authored height, an extends: theme, since a merged block has one of each and merging would have to discard one; a row with no flowing prose in it, a markdown table or a code block on its own, because merging one of those into a prose column squeezes it to the measure; and prose too short to reach a second column, which is one column wide at any board width and so cannot misalign against anything; a caption rather than a passage. A cols: layout never fires: prose side by side is an authored spread. A row imported from another file or generated by a foreach is not reported either; it has no authored coordinates to mark, and the merge it would ask for is not the author's to make here. Emitted by compile/validate/board_warnings.py.

WARN-FLAT-COLS-UNSIZED-OVERFLOW: Flat cols: row has too many unsized non-KPI cells

  • Level: warning
  • Domain: compile
  • Suppressible: yes

Message template:

cols: has {growable_count} unsized non-KPI cells (max recommended {max_unsized}). Each inherits the row's full vertical budget, so a wide flat row makes row height unpredictable. KPI cards are height-stable and don't count.

Fix: Nest cells into sized rows-in-cols groups instead, e.g.: cols: - width: "17%" rows: - kpi_a - kpi_b - width: "55%" rows: - hero

Fires when a flat cols: row has more unsized non-KPI cells than the recommended limit. Each unsized cell inherits the row's full vertical budget, making row height unpredictable with many columns. KPI cards are carved out because they are height-stable. Emitted by compile/validate/authoring_warnings.py.

WARN-INHERITED-LAYOUT-REPLACED: A board's own layout or tags replace the inherited ones

  • Level: warning
  • Domain: compile
  • Suppressible: yes

Message template:

`{field}:` {replacer} replaces {inherited} inherited from {source}.

Fix: To keep the inherited items, move the shared parts into a partial and import it from both boards.

Fired when a meta.yml, an extended board or the board itself sets rows:, cols:, grid:, tabs: or tags: over a non-empty value a lower layer set. The closer value replaces it; nothing is appended.