fix(ai): liens sans vault, navigation clavier des menus et purge caches (BUG-013, BUG-014)
CI / lint (push) Successful in 1m9s
CI / security (push) Successful in 45s
CI / test (push) Successful in 2m27s
CI / build (push) Successful in 40s
CI / e2e (push) Successful in 10m47s

BUG-013: _openFileLink/_revealPath utilisent _activeVault() (contexte -> selection -> premier vault). BUG-014: navigation up/down geree au niveau du panneau en phase de capture, independante du focus. Caches: SW_VERSION v6 + migration qui purge tous les caches obsigate-*.
This commit is contained in:
2026-09-12 16:44:12 -04:00
parent ee4c273d73
commit a5201a62e0
7 changed files with 108 additions and 14 deletions
+3 -3
View File
@@ -5158,12 +5158,12 @@ curl -X POST https://votre-serveur.com/webhook \
if (!('serviceWorker' in navigator) || !('caches' in window)) return;
var MIGRATION_KEY = 'obsigate-sw-migration';
try {
if (localStorage.getItem(MIGRATION_KEY) === 'v2') return;
localStorage.setItem(MIGRATION_KEY, 'v2');
if (localStorage.getItem(MIGRATION_KEY) === 'v3') return;
localStorage.setItem(MIGRATION_KEY, 'v3');
} catch (e) { return; }
caches.keys().then(function (names) {
return Promise.all(names.map(function (name) {
return /^obsigate-(v1|offline-v1)$/.test(name) ? caches.delete(name) : null;
return /^obsigate-/.test(name) ? caches.delete(name) : null;
}));
}).then(function () {
return navigator.serviceWorker.getRegistration();