Use case StRS-MDOKFSTUDIO-PALETTE-005
While a writer edits a block, the palette stays in reach, appears softly and keeps the editor open
As a writer of a long block, I always find the palette buttons without scrolling back to the top of the block, see menus appear calmly, and click palette buttons and pickers without losing my place or ending the edit.
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. Where paths meet, they share the circle or the step.
path 1: Press a palette button and keep writing path 2: See the palette appear softly, starts at 2 other outcomeone dot = one scenario checked: nominal boundary refusal
Path 1: Press a palette button and keep writing
- A block text box is open in edit modeSwRS-MDOKFSTUDIO-PALETTE-021 · 10 tests the palette is a toolbar named Edition palette on top of the editor frame, and a small palette sticks over a tall editor
- The palette is in view above the text boxSwRS-MDOKFSTUDIO-PALETTE-031 a popover opens inside the editor frame under its button, one at a timeSwRS-MDOKFSTUDIO-PALETTE-036 · 4 tests the writer presses a palette control and the text box keeps the focus
- The editor is open with the focus in the textSwRS-MDOKFSTUDIO-BLOCK-047 an editor whose text is unchanged closesSwRS-MDOKFSTUDIO-BLOCK-047 · 10 tests the writer presses Done, or Cmd/Ctrl+Enter, or leaves the text box, and the edit is committed
- The edit is saved and the editor is closed
Path 2: See the palette appear softly
- A block text box is open in edit modeSwRS-MDOKFSTUDIO-CORE-050 when the reader prefers reduced motion, no preview motion is appliedSwRS-MDOKFSTUDIO-CORE-050 · 4 tests the palette, its popovers and the slash menu appear with a soft fade
- The palette is shown
This map has 575 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 5 behaviours on the map are tested one by one, with 32 scenarios.
Behaviours of this use case
SwRS-MDOKFSTUDIO-BLOCK-047Done, Cmd/Ctrl+Enter or leaving the text box commits the edit 10 testsSwRS-MDOKFSTUDIO-CORE-050Soft appearance and colour transitions honour reduced motion 4 testsSwRS-MDOKFSTUDIO-PALETTE-021The palette is a toolbar above the editor that sticks over a tall editor 10 testsSwRS-MDOKFSTUDIO-PALETTE-031Palette popovers open in the frame, one at a time, and Escape or typing closes them 6 testsSwRS-MDOKFSTUDIO-PALETTE-036Leaving the frame from a palette control saves once and a press keeps the text box focus 4 testsSwRS-MDOKFSTUDIO-PALETTE-279The page does not follow an editor scroll caused by an edit not on the map1 test