Files
Rosea/.agents/lessons/design.md
T

21 lines
1.2 KiB
Markdown

# Design lessons
What the player is shown and why: wording, silence, empty states (CLAUDE.md §5.1b).
## Words that are true in a browser can be false, and frightening, in an app
**What happened.** In the Android and Windows apps (2026-11-17, `feature/tauri-platforms`) *Keep her
safe* said *This browser may clear her if the garden is not opened for a long time. A saved file
keeps her for sure.* and offered *Ask the browser to keep her*. In an app there is no browser to ask,
`persist()` always answers no, the inactivity warning is not true of an app's own storage, and on
Android *Save her to a file* did nothing at all. The comfort became a worry with a broken remedy.
**Why it bit.** The words were written, carefully, for one place (a browser tab or an installed PWA)
and were carried unchanged into another. Copy states facts about the platform; when the platform
changes, the facts do.
**How to apply it.** When the game reaches a new platform, read every sentence that speaks about the
device, the browser, storage or files, on that platform, and check that each claim is still true and
each offered action still works. A remedy that silently fails is worse than none. Until then the
platform is not shipped to players (here: G-T4, a release blocker).