Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-FMSCHEMA-091

The exported properties table opens on a click

When the exported page has frontmatter properties, the extension SHALL write the properties table as a closed details element that opens on a click and, when the schema was found, shows the Description column.

Part of StRS-MDOKFSTUDIO-TOOLBAR-014, outside the paths drawn on its map.

Scenarios 2

The situations the tests check; open one to read it.

nominalA closed properties details
Givena page whose frontmatter has `type: swrs` and the schema is found
Whenthe exported file is opened with JavaScript off
Thenthe properties are a `details` element that is closed, a click on its summary opens it, and the table shows a Description column
boundaryNo schema
InputOutcome
The schema was not foundThe table has no Description column
The properties table setting is offThe file has no properties element

Implemented in 1

Tested by 3