Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-FMSCHEMA-043

The table is refreshed in place after edits, after the field editor closes

When the frontmatter of the shown document changes, the extension SHALL re-analyse it 300 ms after the last change and replace the properties section on the open page without reloading it, holding the new markup back while a frontmatter field editor is open and applying it after the editor closes.

Step 1 of path 2 in StRS-MDOKFSTUDIO-FMSCHEMA-001: from “The properties table is shown” to “The properties table shows the new frontmatter”.

Scenarios 4

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

nominalTyping in the frontmatter
Givena preview open on a document and the writer changing a field value in the editor
When300 ms pass without further edits
Thenthe properties section is replaced in place and the rest of the page, its scroll position and its open editors are untouched
refusalPage not ready
Giventhe page is not ready for the current render
Whenthe table changes
Thenthe whole document is loaded again instead of patching
boundaryNew table while a field editor is open
Givena frontmatter field editor open on the page
Whenthe host posts a new properties table
Thenthe page keeps the current table and remembers the markup and its sequence number
nominalEditor closed
Giventhe writer saves or cancels the editor
Whenthe editor closes
Thenthe remembered markup replaces the table

Implemented in 2

Tested by 2

Replaces

SwRS-MDOKFSTUDIO-FMSCHEMA-044A new table waits while a field editor is open superseded superseded by SwRS-MDOKFSTUDIO-FMSCHEMA-043 Markdown file