Interfaccia web, parte 1: ospite, sicurezza, API, modalità dimostrativa, libreria, visualizzatore e account

Febe.Web: AddFebeWeb/UseFebe/FebeWebHost per le due vesti, interfaccia incorporata con IFileProvider proprio, indirizzi italiani, API JSON con contesto generato, eventi SSE, controlli di Host/Origin, gettone del desktop e password con blocco (§13.1), INativeShell e capacità per veste. Modalità --demo con 38 account e circa 18.000 elementi finti e scene del motore. Pagine Libreria, Visualizzatore, Account, Aggiungi account e Scheda account (contenuti, impostazioni con piano, cronologia); schermate in docs/schermate con le differenze dai mockup; prove delle API, della sicurezza, dell'esportazione CSV e dei dati dimostrativi.

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

Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
This commit is contained in:
Claude committed 2026-10-13 19:14:35 +00:00
1 parent 6ff11ac8e3
commit e33540246e
76 files changed
+12503 -17

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
// Chooses three followed profiles in the «Aggiungi account» dialog (mockup 04).
await new Promise((r) => setTimeout(r, 800));
const boxes = [...document.querySelectorAll('.aggiungi .elenco input[type=checkbox]:not(:disabled)')];
for (const i of [0, 2, 5]) if (boxes[i]) boxes[i].click();
await new Promise((r) => setTimeout(r, 400));
return document.querySelector('.aggiungi footer .btn.primo')?.textContent;
+7
View File
@@ -0,0 +1,7 @@
// Moves the pointer over the widest tile near the top of the mosaic (hover state of mockup 01).
const tiles = [...document.querySelectorAll('.tess[data-id]')];
const wide = tiles
.filter((t) => t.getBoundingClientRect().top < 500)
.sort((a, b) => b.getBoundingClientRect().width - a.getBoundingClientRect().width)[0];
const r = wide.getBoundingClientRect();
return { hover: [Math.round(r.left + r.width / 2), Math.round(r.top + r.height / 2)], label: wide.getAttribute('aria-label') };
+9
View File
@@ -0,0 +1,9 @@
// Opens a post with more files in the viewer and shows its second file (mockup 02).
const tiles = [...document.querySelectorAll('.tess[data-id]')];
const multi = tiles.find((t) => t.querySelector('use[href="#i-layers"]') && !t.querySelector('use[href="#i-circle-dashed"]') && !t.querySelector('use[href="#i-play"]')) || tiles[0];
multi.click();
await new Promise((r) => setTimeout(r, 1500));
const second = document.querySelectorAll('.vis .serie button')[1];
if (second) second.click();
await new Promise((r) => setTimeout(r, 1200));
return document.querySelector('.vis .dove')?.textContent;