From da8de0a2195aebbd6202548b3ca132f335980e04 Mon Sep 17 00:00:00 2001 From: Padreug Date: Sat, 23 May 2026 22:46:17 +0200 Subject: [PATCH] fix(activities): simplify purchase success modal + dialog overflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three small fixes the buyer flagged on the multi-ticket purchase flow: 1. Drop the inline QR grid from the success modal. The buyer's real ticket interaction lives in My Tickets — the modal's job is just to confirm the purchase landed and point them there. N stacked QRs made the dialog overflow on small viewports (point 2) and duplicated UI that already exists on the destination page. 2. DialogContent gets `max-h-[90dvh] overflow-y-auto` so even long content (long invoice expiry text, multiple methods, etc.) scrolls inside the dialog instead of bleeding off the viewport. 3. Companion to events ext c8602e0 which switched every row to a fresh short-hash id (was: first row reused the 64-hex payment_hash, rest got short hashes — inconsistent). No webapp code change for that — we just consume what the backend returns — but worth noting the ids you'll see now are all uniform short hashes. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../components/PurchaseTicketDialog.vue | 47 +++++-------------- 1 file changed, 12 insertions(+), 35 deletions(-) diff --git a/src/modules/activities/components/PurchaseTicketDialog.vue b/src/modules/activities/components/PurchaseTicketDialog.vue index ec72c1f..b5b5d3f 100644 --- a/src/modules/activities/components/PurchaseTicketDialog.vue +++ b/src/modules/activities/components/PurchaseTicketDialog.vue @@ -53,7 +53,6 @@ const { handleOpenLightningWallet, resetPaymentState, cleanup, - ticketQRCodes, purchasedTicketIds, showTicketQR } = useTicketPurchase() @@ -251,7 +250,7 @@ onUnmounted(() => {