nis2-agile/public/js
DevEnv nis2-agile 8a55194b2f [FIX] Knowledge Base: token key errata (access_token->nis2_access_token) + init mancante
Bug CRITICO da test multi-agente: kb.js::getJwt() leggeva localStorage 'access_token'
ma l'app salva il JWT sotto 'nis2_access_token' -> ogni chiamata KB inviava
Authorization: Bearer (vuoto) -> 401 -> pagina KB completamente inutilizzabile
(upload/list/search/delete). Stesso pattern del bug this.delete.
Inoltre kb.html non aveva il blocco init (checkAuth/loadSidebar/I18n.init) presente
in tutte le altre pagine -> sidebar vuota e nessun redirect a login.

Fix: kb.js usa nis2_access_token; kb.html aggiunge i18n.js + init auth/chrome.
node --check OK. version 1.10.6.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 15:11:37 +02:00
..
ai-assistant.js [FEAT] UI: guida online, landing EN, mobile-conversion, ai-assistant, bug-reporter + help/i18n 2026-05-29 15:42:00 +02:00
api.js [FIX] api.js deleteAsset: this.delete() -> this.del() (metodo inesistente) 2026-05-31 11:28:52 +02:00
auth-gate.js [FEAT] Allineamento NIS2 ↔ TRPG (Fasi 1-5): SSO + Sessions + Reset + Impersonate + Branding 2026-05-29 13:18:35 +02:00
bug-reporter.js [FEAT] UI: guida online, landing EN, mobile-conversion, ai-assistant, bug-reporter + help/i18n 2026-05-29 15:42:00 +02:00
common.js [FEAT] UI: guida online, landing EN, mobile-conversion, ai-assistant, bug-reporter + help/i18n 2026-05-29 15:42:00 +02:00
feedback.js [UX] FAB feedback: pill cyan con label, animazione pulse, stile lg231 2026-03-10 11:27:19 +01:00
help.js [FIX] Coerenza normativa AI/help: Allegato 3/4 invertiti + decorrenza relazione finale + disclaimer non-parere-legale 2026-05-31 11:24:07 +02:00
i18n.js [FEAT] Supply chain UI: i18n sp.* IT/EN + import mostra errors[] dettaglio righe scartate 2026-05-31 14:37:22 +02:00
kb.js [FIX] Knowledge Base: token key errata (access_token->nis2_access_token) + init mancante 2026-05-31 15:11:37 +02:00