Lot 2, interface : synchro, appariement par QR code, page d'autorisation d'une IA
- Écran Synchro (#/synchro) : activer, « J'ai déjà une clé » (pull d'abord, faute de frappe signalée), état, clé masquée, QR code, désactiver, brancher son IA (adresse du connecteur et mode d'emploi). - Appariement #pair=<clé> : la clé quitte l'adresse aussitôt, confirmation, fusion des données locales. - Page #/connecter-ia?… : autoriser (POST /oauth/authorize) ou refuser, erreurs traduites ; le routeur accepte « ? » dans le fragment. - Synchro automatique sans scrutation (ouverture, 3 s après une saisie, online, visibilitychange), indicateur dans l'en-tête. - QR code : qrcode-generator 2.0.4 (MIT) vendorisé, dessiné en SVG par le DOM. - Magasin : dates strictement croissantes pour les événements de l'appareil (cause du flottement de test-browser : deux PlanSettingsChanged de la même milliseconde départagés par leur identifiant aléatoire). - test-browser : parcours de la synchro contre server/main.js (données temporaires), QR décodé par jsQR dans la capture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c12e37e215
commit
08cc995eef
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2009 Kazuhiko Arase
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
Reference in New Issue
Block a user