From 2df98d1ba129f95a10c6b81665671d3b12560c79 Mon Sep 17 00:00:00 2001 From: cirakg Date: Tue, 20 Oct 2026 06:56:58 +0200 Subject: feat(ui): show QR codes, encoded once with progress and cached sealed per entry Co-Authored-By: Claude Opus 5.5 --- source/app/Fixtures.mc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/app') diff --git a/source/app/Fixtures.mc b/source/app/Fixtures.mc index 114e879..0aa6ea9 100644 --- a/source/app/Fixtures.mc +++ b/source/app/Fixtures.mc @@ -52,6 +52,15 @@ module Fixtures { card.payload = Bytes.fromUtf8("590123412345"); // fake; the check digit 7 is added card.options = Codes.DEFAULT_OPTIONS; vault.add(card); + var qr = new Entry(); + qr.kind = Entry.KIND_CODE; + qr.type = Codes.QR; + qr.name = "Member QR"; + qr.group = "Personal"; + // Fake data; with the digit run in numeric mode it is a version 6 QR. + qr.payload = Bytes.fromUtf8("https://example.com/member/fake-0042?name=Alice%20Example&card=0000111122223333&valid=2027-12-31&level=gold"); + qr.options = Codes.DEFAULT_OPTIONS; + vault.add(qr); vault.lock(); if (TestMode.ON) { startImport(); -- cgit v1.2.3