From 8eed73b38a75353f391d22da1ae880408f75941d Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Mon, 13 Jul 2026 20:45:11 +0200 Subject: [PATCH] =?UTF-8?q?v0.127.3:=20reveal=20copy=20states=20the=20show?= =?UTF-8?q?n=20code=20is=20already=20the=20LIVE=20one=20(supersede=20happe?= =?UTF-8?q?ns=20at=20upload,=20before=20display);=20render=20test=20pins?= =?UTF-8?q?=20the=20pre-generation=20M=C3=A9gsem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 9 +++++++++ controller/internal/web/escrow_wizard_test.go | 6 +++++- controller/internal/web/templates/backups_escrow.html | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index efe97a7..d2b4bbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ ## Changelog +### v0.127.3 — reveal copy states the shown code is ALREADY the live one (2026-07-13, Viktor) + +The supersede happens at upload, inside the ceremony job — BEFORE the code is ever displayed. +The reveal warning now says so explicitly: "Ez mostantól az élő helyreállítási kód — a korábbi +kód érvényét vesztette. Mentse el most: a kód többé nem jeleníthető meg." (was only the +"nem jeleníthető meg" line). Pre-generation cancel already existed (the "Mégsem" next to +"Kód létrehozása" — nothing runs until the primary button); the render test now pins it. The +typed-back step stays (proof-of-capture friction + transcription-error catch; Viktor briefed). + ### v0.127.2 — wizard code hide is MANUAL-only (2026-07-13, Viktor's live finding on v0.127.1) The v0.127.1 blur-on-verify auto-blurred the code the moment a verification input got focus — diff --git a/controller/internal/web/escrow_wizard_test.go b/controller/internal/web/escrow_wizard_test.go index 8fe9419..42facd2 100644 --- a/controller/internal/web/escrow_wizard_test.go +++ b/controller/internal/web/escrow_wizard_test.go @@ -322,7 +322,11 @@ func TestEscrowTemplates_Render(t *testing.T) { "A folytatáshoz adja meg a bejelentkezési jelszavát", "Kód létrehozása", "Kód megjelenítése", - "Ez a kód többé nem jeleníthető meg.", + // v0.127.3 (Viktor): the reveal states EXPLICITLY that the shown code is already the + // live one (the supersede happened at upload, before display). + "Ez mostantól az élő helyreállítási kód — a korábbi kód érvényét vesztette. Mentse el most: a kód többé nem jeleníthető meg.", + // The pre-generation cancel must stay next to the start button (nothing runs until then). + `>Mégsem`, "nem ezen a szerveren", "biztonsági okból újra nem kérhető le", // v0.127.1 polish: the Hungarian preflight detail map + the hide/show toggle diff --git a/controller/internal/web/templates/backups_escrow.html b/controller/internal/web/templates/backups_escrow.html index 907d18c..5816a43 100644 --- a/controller/internal/web/templates/backups_escrow.html +++ b/controller/internal/web/templates/backups_escrow.html @@ -69,7 +69,7 @@