Skip to content

Dev - #73

Merged
Atesta103 merged 2 commits into
mainfrom
dev
Jul 24, 2026
Merged

Dev#73
Atesta103 merged 2 commits into
mainfrom
dev

Conversation

@Atesta103

Copy link
Copy Markdown
Owner

No description provided.

Atesta103 and others added 2 commits July 24, 2026 14:22
Adds an opt-in closeOnBackdropClick prop to the shared Dialog component,
off by default so every other dialog in the app keeps its current
behavior — several (the "called" reminder, the moderation warning)
deliberately force an explicit acknowledgment, and a stray backdrop
click must not dismiss those. Enabled only on the ticket dialog, which
is purely informational and has no confirmation to force.

Detects the backdrop click the standard way for a native <dialog>: a
click on the ::backdrop pseudo-element registers as a click on the
<dialog> element itself (event.target === event.currentTarget), while a
click on any actual content is a click on a descendant.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Clicking "Télécharger l'image" opened Safari's "View or Download"
picker instead of saving directly — a known Safari quirk where a data:
URL with an image MIME type on an <a download> link gets treated as
content to preview, not a file to save, regardless of the download
attribute.

Switches from toPng (a data: URL) to toBlob + URL.createObjectURL. A
blob: URL is what the download attribute reliably triggers a direct
save for across Safari and other browsers. The object URL is revoked
after a 1s delay rather than immediately after click() — revoking
synchronously risks freeing it before the browser has actually started
reading it, which Safari in particular can be slow to do.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
waitlight Ready Ready Preview, Comment Jul 24, 2026 12:28pm

@Atesta103
Atesta103 merged commit 6922551 into main Jul 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant