[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:
+5
-10
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user