fix(webui): copy and export files on Safari LAN HTTP

Clipboard APIs and instant blob downloads fail on insecure origins
and WebKit. Route every export through the shared helpers.
This commit is contained in:
DrSmoothl committed 2026-09-19 16:30:11 +08:00
1 parent 1ab14ea306
commit feea35da4c
9 files changed
+70 -126

No files matched your search

@@ -272,7 +272,10 @@ export function ActionFeedbackViewport() {
const runningActivity = activity?.phase === 'running' ? activity : null;
return (
<div className="pointer-events-none fixed bottom-4 right-4 z-[80] flex w-[min(360px,calc(100vw-2rem))] flex-col items-end gap-2">
<div
className="pointer-events-none fixed z-[80] flex w-[min(360px,calc(100vw-2rem))] flex-col items-end gap-2"
style={{ bottom: 'max(1rem, env(safe-area-inset-bottom))', right: 'max(1rem, env(safe-area-inset-right))' }}
>
{notices.map((notice) => (
<ActionNoticeBanner
key={notice.id}