[UI] Allineato a TRPG/AgileHub: rimosso auto-inject feedback.js (doppione) -> solo bug-reporter

NIS2 aveva DUE sistemi feedback: feedback.js (pill cyan 'Segnala/Feedback' + modale scuro) + bug-reporter
AgileHub (campana+supporto). TRPG/ALLTAX usano solo bug-reporter (verificato: trpg ha app/js/bug-reporter.js,
nessun feedback.js). Rimosso l'auto-inject di feedback.js da common.js -> resta il trittico pallini
(notifiche + supporto + ARIA) come la suite. Verificato headless: feedback-fab assente, nx-bell/nx-bug/ai-chat
presenti. Bump common.js?v=20260613c (auto-refetch). feedback.js/api restano nel repo, non iniettati.
This commit is contained in:
DevEnv nis2-agile
2026-06-14 08:33:13 +02:00
parent 30cac8479a
commit 4341d86c4c
55 changed files with 59 additions and 64 deletions
+5 -10
View File
@@ -900,16 +900,11 @@ function switchLang(lang) {
document.head.appendChild(style);
})();
// ── Auto-inject feedback.js su tutte le pagine autenticate ──────────────────
(function () {
const excluded = ['login.html', 'register.html', 'onboarding.html', 'index.html', ''];
const page = window.location.pathname.split('/').pop();
if (excluded.includes(page)) return;
if (document.querySelector('script[src*="feedback.js"]')) return;
const s = document.createElement('script');
s.src = 'js/feedback.js';
document.body.appendChild(s);
})();
// ── feedback.js RIMOSSO 2026-06-14 ──────────────────────────────────────────
// Superato dal widget bug-reporter AgileHub (standard suite, come TRPG/ALLTAX):
// niente più doppio sistema di feedback (il pill "Segnala / Feedback" + modale scuro).
// Resta il trittico pallini: campana (notifiche) + supporto (segnala bug) + ARIA.
// (feedback.js e /api/feedback restano nel repo ma non vengono più iniettati.)
/* ════════════════════════════════════════════════════════════════════════
AgileHub / Nexus integration (NIS2)