feat(sync): le QR porte un lien pmserver://sync ouvert directement par l'app

Le scanner du telephone envoyait le texte a une recherche web (Google,
Chrome) : le jeton serait parti a un appui pres. Le lien a schema propre
n'a qu'une application pour l'ouvrir. Rien n'est enregistre avant Save.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
r-zakarya
2026-09-17 18:29:37 +01:00
parent 9bee179d1b
commit 780eecc11b
4 changed files with 79 additions and 32 deletions
+3 -3
View File
@@ -65,9 +65,9 @@ Bridge.onSyncQr = function (size, bits) {
'background:#fff;display:block;border-radius:6px">' +
'<path d="' + d + '" fill="#000"/></svg>' +
'<p style="font-size:11px;color:var(--text-faint);margin:6px 0 0">' +
'Scan it with the phone camera and copy the text, then in the app: ' +
'Settings &rarr; Paste settings. It holds the URL and the token, not the ' +
'sync password. Hidden again in 60 s.</p>';
'Scan it with the phone camera and open it with Coffre: the URL and the ' +
'token fill in, then type the sync password (never in the QR) and Save. ' +
'Hidden again in 60 s.</p>';
box.hidden = false;
clearTimeout(syncQrTimer);
syncQrTimer = setTimeout(syncQrHide, 60000);