Use case StRS-MDOKFSTUDIO-LAYOUT-004
The first element starts clear of the top and of the floating toolbar
As a reader or writer, I see every document start at the same comfortable distance below the top, whether it opens with text, a heading, a table, a picture, an admonition, properties or an empty page, and I can click the first block editor, the Start writing button and the properties controls at any pane width without the floating toolbar covering them.
Use case diagram
How it is split
This use case (StRS) is reached by 2 paths, one per coloured line. A path goes from one situation (circle) to the next; each step (pill) is a behaviour (SwRS) with its own tests.
path 1: The first element starts below the top path 2: The toolbar covers the first control other outcomeone dot = one scenario checked: nominal boundary refusal
Path 1: The first element starts below the top
- A document opens in read mode or in edit modeSwRS-MDOKFSTUDIO-LAYOUT-007 other first blocks and the Start writing button follow the same gapSwRS-MDOKFSTUDIO-LAYOUT-007 · 2 tests the first element starts 40 px below the top of the pane
- The first element is 40 px below the topSwRS-MDOKFSTUDIO-LAYOUT-043 a toolbar beside the column reserves nothingSwRS-MDOKFSTUDIO-LAYOUT-043 · 3 tests when the floating toolbar overlaps the column, the first running text wraps outside the toolbar and other blocks start below it
- The first blocks are clear of the floating toolbar
Path 2: The toolbar covers the first control
- The floating toolbar covers the first control of the pageSwRS-MDOKFSTUDIO-LAYOUT-011 a toolbar beside the column gives a clearance of 0SwRS-MDOKFSTUDIO-LAYOUT-011 · 4 tests the page moves the control down or narrows it out of the toolbar's way
- The first control is clear of the toolbarSwRS-MDOKFSTUDIO-LAYOUT-011 a burst of updates is measured in one trailing updateSwRS-MDOKFSTUDIO-LAYOUT-011 · 4 tests the page measures the clearance again when the window, the toolbar or the width mode changes
- The clearance follows the layout
This map has 46 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 3 behaviours on the map are tested one by one, with 19 scenarios.
Behaviours of this use case
SwRS-MDOKFSTUDIO-LAYOUT-007The first element starts 40 px below the top 2 testsSwRS-MDOKFSTUDIO-LAYOUT-011A control under the floating toolbar is moved or narrowed out of its way 4 testsSwRS-MDOKFSTUDIO-LAYOUT-043Body text keeps clear of the floating toolbar 3 tests
SwRS-MDOKFSTUDIO-LAYOUT-008The first element starts 40 px below the top in edit mode superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-007 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-009The open first-block editor keeps the 40 px gap superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-007 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-010The Start writing button starts 40 px below the top superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-007 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-012A first-block editor too narrow to be narrowed is pushed below the toolbar superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-013Collapsing the toolbar measures the clearance again superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-018 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-014A first-block editor gives up the width the toolbar covers superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-015The Start writing button is pushed only when it sits under the toolbar superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-016A leading properties table gives up the toolbar width for its Description toggle superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-017The toolbar bottom edge is published for the sticky palette superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-018 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-018The clearance is measured again after layout events, in bounded bursts superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-019Bursts of clearance updates are limited superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-018 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-037A leading properties table is pushed down for a control under the toolbar superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file
SwRS-MDOKFSTUDIO-LAYOUT-042A first-block editor's palette keeps its place unless the frame is under the toolbar superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-011 Markdown file