I’ve built a plug-in for this; will have a look to publish it as community plug-in. As suggested above: it analyzes the YAML to decide whether to display the file in PREVIEW or EDITOR mode, regardless of Obsidian’s default setting. Think of notes serving as a dashboard (and containing dataview or tasks as code blocks).
To be continued.
This
always renders, when opening or navigating to that note as follows:

