R-204 item 3: a restore says what it restored, and what it did not (v0.198.0)

mode=unit restores the recovery unit — the app's definition, configuration
and database dumps — and NOT the customer's own files: RestoreOffboxScratch
passes --include <unit path> and the userdata in the same snapshot is excluded
by it. The outcome was one sentence for both modes and named neither scope,
so on the last step of a disaster recovery the customer was told the app had
been restored after the thing they were looking for had not been.

restoreScratchOutcomeMsg states what came back, what did not, and the next
step that gets it. The wizard's intent card states its scope before the choice.
The full-restore size gate is untouched and pinned as unchanged; the default
stays unit, since all three wizard forms set mode explicitly.
This commit is contained in:
2026-08-05 07:17:20 +02:00
parent 73b6dbc27d
commit 2e936f43bf
4 changed files with 280 additions and 8 deletions
@@ -192,7 +192,11 @@ func TestRestoreWizard_ThreeIntentCards(t *testing.T) {
// Each intent must state its CONSEQUENCE, not just its name.
for _, want := range []string{
"Ellenőrzés külön mappába",
"az élő adataid nem változnak",
"Az élő adataid nem változnak",
// R-204 item 3: intent 1's SCOPE is stated before the choice, not only in the outcome. A
// disaster-recovery customer picked this card expecting their documents; it does not return
// them. If this substring goes, the card is back to promising „a mentés tartalma".
"A saját fájljaidat (dokumentumok, képek, feltöltések) <strong>nem</strong> hozza vissza",
"Hiányzó fájlok visszahozása",
"törölt tartalom ettől nem jelenik meg újra",
"Teljes visszaállítás (fájlok + adatbázis)",