v0.165.1: native Megosztás… button in the share modal (Web Share API)
Feature-detected navigator.share opens the OS share sheet with title+text+URL only (no QR files: — narrow support drops the URL when given file+URL). Hidden unless supported; Link másolása stays the universal fallback and catches the non-cancel rejection; AbortError is silent. Template JS + tests only. 2 red-proofs verified red.
This commit is contained in:
@@ -311,7 +311,11 @@ template partial; the app slice comes from the extracted `Server.launcherApps()`
|
||||
(`GET /launcher/share/qr.png`, ~256px PNG via `github.com/skip2/go-qrcode`, admin-authed, `no-store`),
|
||||
set/clear share password, "Új link készítése" (rotate), "Megosztás kikapcsolása" (clears token AND
|
||||
password). The management POSTs live under `/launcher/share/*` and ride the normal admin session +
|
||||
session CSRF; rotate/disable use the inline `data-confirm` (felhomConfirm) affordance.
|
||||
session CSRF; rotate/disable use the inline `data-confirm` (felhomConfirm) affordance. A
|
||||
feature-detected **"Megosztás…"** button (v0.165.1) opens the OS share sheet via `navigator.share`
|
||||
(title + text + URL only — never the QR as a `files:` attachment); hidden unless the browser
|
||||
supports it, with "Link másolása" as the universal fallback (the non-cancel rejection path falls
|
||||
back to it too).
|
||||
|
||||
Design ruling: member accounts are superseded by this capability-URL model; per-member tile
|
||||
visibility is parked under the SSO arc.
|
||||
|
||||
Reference in New Issue
Block a user