Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-LIFE-176

Feature introductions show once and can be shown again

When a feature with an introduction first takes effect, the extension SHALL show its introduction notice once across sessions and workspaces, and when the reader runs Show Feature Introductions Again, the extension SHALL forget every shown introduction so that each shows once more.

Part of StRS-MDOKFSTUDIO-LIFE-023, outside the paths drawn on its map.

Scenarios 2

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

nominalAn introduction shows once
Givena reader who has not seen the introduction of a feature
Whenthe feature first takes effect
Thenthe notice is shown once, and the shown key is stored before the notice appears, so a notice that closes by itself is never shown again, in this or another workspace
boundarySeen, reset and failing store
InputOutcome
the same introduction asked again, in the session or after a restartnothing is shown
the reader runs Show Feature Introductions Againevery introduction key is forgotten and no other stored key, and each introduction shows once more
the store cannot writethe failure is logged and the notice still shows once in the session
the extension ships no introduction todaythe shipped list is empty: nothing is shown, and Show Feature Introductions Again still runs and forgets nothing it holds

Implemented in 2

Tested by 3