Correzioni della revisione di C6: installatore, CI senza jq, caratteri e schermate senza Node

Le 14 osservazioni della revisione di funzione/senza-terzi, ciascuna con la prova che l'avrebbe trovata.

Installatore: un aggiornamento senza /D= va nella cartella già installata (InstallLocation)
invece che in quella predefinita, che lasciava la vecchia copia. Una cartella senza permessi
non sembra più «Febe aperto». La dimensione in «App installate» conta solo i due file
dell'installatore. I file in sola lettura si sostituiscono e si tolgono. «Febe» in Esegui
all'avvio si toglie solo se avvia quella copia, non un Febe portatile. Febe parte alla fine
solo con «Fine» e la casella spuntata. /PROVA= rifiuta la radice di un disco.

CI: jq non c'era ed era un componente esterno. JSON letto e scritto con .gitea/scripts/json.sh
(json-campi.awk e json-stringa.awk sul lettore json.awk) per gitleaks, Trivy e la release.
Le credenziali del registro stanno solo in un DOCKER_CONFIG temporaneo della pubblicazione,
con plugin, contesti e contesto corrente del runner, tolto alla fine. Le prove del rilascio
girano in debian:trixie con Chromium, come la verifica, senza prove saltate. Ogni flusso usa
shell: bash.

Caratteri: tolti fonts-liberation e fonts-noto-color-emoji dall'immagine e dalle prove della
CI, perché Chromium non li chiede. Resta fonts-dejavu-core.

Icone: la prova della griglia legge davvero i percorsi SVG (tutti i comandi, archi e curve) e
i punti. La lettura dei nomi delle icone vede ogni forma con cui l'interfaccia li chiede.

Schermate: tools/schermate (Node) diventa tools/Febe.Schermate, in C# con ClientWebSocket e
System.Text.Json, nessun pacchetto, solo verso indirizzi di questo computer. Provato contro
una dimostrazione con Edge su Windows.

Documenti: CLAUDE.md, processo, guida, LEGGIMI e docker.md aggiornati. Righe nuove in
decisioni.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-18 16:04:39 +01:00
1 parent 525d7dfdaa
commit be662f2d28
46 files changed
+2091 -283

No files matched your search

-23
View File
@@ -1,23 +0,0 @@
// The «Aggiungi account» dialog (mockup 04, issue #37): «gaia» typed in the search box, the list under it with the
// followed profiles and the demo's Instagram results with their drawn photos, two of them added, the pointer on a row.
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
let box = null;
for (let i = 0; i < 50 && !box; i++) {
box = document.querySelector('.aggiungi input[role=combobox]');
if (!box) await sleep(100);
}
// Wait for the list of followed profiles, so the local suggestions are there at once.
for (let i = 0; i < 50 && !/\(\d+\)/.test(document.querySelector('.aggiungi .scelti-testa .btn.collegamento')?.textContent || ''); i++) await sleep(100);
box.focus();
box.value = 'gaia';
box.dispatchEvent(new Event('input', { bubbles: true }));
const rows = () => [...document.querySelectorAll('.suggerimenti [role=option]:not(.azione)')];
const ready = () => rows().length >= 6 && rows().every((r) => {
const img = r.querySelector('.av img');
return img && img.complete && img.naturalWidth > 0;
});
for (let i = 0; i < 80 && !ready(); i++) await sleep(100);
for (const i of [0, 3]) rows()[i]?.querySelector('button')?.click();
await sleep(300);
const r = rows()[1].getBoundingClientRect();
return { hover: [r.left + r.width / 2, r.top + r.height / 2] };
-11
View File
@@ -1,11 +0,0 @@
// The first start (spec §10.3): not connected and an empty library. The demo always has a library, so the screen is
// drawn here into the page body, as the library draws it when it finds nothing, with the header count of an empty one.
const { welcome } = await import('/js/pages/welcome.js');
const { t } = await import('/js/core/text.js');
const body = document.querySelector('.corpo');
body.replaceChildren(welcome());
document.querySelector('.strumenti')?.setAttribute('hidden', '');
const count = document.querySelector('.testa .quanti');
if (count) count.textContent = t('libreria.quanti', { elementi: t('comune.elementi', { n: 0 }), account: t('comune.account', { n: 0 }) });
await new Promise((r) => setTimeout(r, 300));
return [document.querySelectorAll('.benvenuto .btn').length, count?.textContent];
-8
View File
@@ -1,8 +0,0 @@
// Chooses «Tieni il più grande» on the first probable duplicate of the import review, then goes back to it: mockup 09
// shows a case with its decision (the panel moves on to the next case after each choice).
await new Promise((r) => setTimeout(r, 800));
document.querySelector('.scelte-doppione input[value="keepLarger"]')?.click();
await new Promise((r) => setTimeout(r, 900));
document.querySelector('.confronto .navigazione .btn.solo')?.click();
await new Promise((r) => setTimeout(r, 900));
return [document.querySelector('.confronto .navigazione .muto')?.textContent, document.querySelector('.scelte-doppione input:checked')?.value];
-8
View File
@@ -1,8 +0,0 @@
// Prints the boxes of the elements named in window.FEBE_MISURE (CSS selectors), for checking a layout against a mockup.
await new Promise((r) => setTimeout(r, 300));
const selectors = (window.FEBE_MISURE || new URLSearchParams(location.hash.slice(1)).get('m') || '.testa-blocco .destra').split('|');
return selectors.map((s) => [...document.querySelectorAll(s)].slice(0, 4).map((el) => {
const r = el.getBoundingClientRect();
const cs = getComputedStyle(el);
return `${s}: x=${Math.round(r.left)} y=${Math.round(r.top)} w=${Math.round(r.width)} h=${Math.round(r.height)} ml=${cs.marginLeft} d=${cs.display}`;
}).join('\n')).join('\n');
-7
View File
@@ -1,7 +0,0 @@
// 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') };
-7
View File
@@ -1,7 +0,0 @@
// Changes a value on «Limiti e comportamento»: the profile becomes «Su misura» and the save bar wakes up (spec §7.5).
await new Promise((r) => setTimeout(r, 500));
const input = document.querySelector('.tabella-tetti tbody tr:nth-child(2) td:nth-child(3) input');
input.value = '90';
input.dispatchEvent(new Event('input', { bubbles: true }));
await new Promise((r) => setTimeout(r, 300));
return [document.querySelector('.su-misura b')?.textContent, document.querySelector('.salva .nota')?.textContent, document.querySelector('.salva .btn.primo')?.disabled];
-5
View File
@@ -1,5 +0,0 @@
// Opens «Tutti i tetti» on the Attività page (spec §7.4: every category, hourly and daily).
await new Promise((r) => setTimeout(r, 500));
[...document.querySelectorAll('.testa-blocco .btn.collegamento')].find((b) => b.textContent.includes('tetti'))?.click();
await new Promise((r) => setTimeout(r, 600));
return document.querySelectorAll('.tutti-tetti tbody tr').length;
-9
View File
@@ -1,9 +0,0 @@
// 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;