From 46c8451a294d92d6e9cf2fea5ffbfcb3ee0e3e28 Mon Sep 17 00:00:00 2001 From: Alexandre Teixeira <111787685+alteixeira20@users.noreply.github.com> Date: Tue, 22 Sep 2026 00:36:47 +0100 Subject: [PATCH] fix(ui): bust cache for collapsible subscription usage --- static/app.js | 2 +- static/index.html | 6 +++--- static/sw.js | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/static/app.js b/static/app.js index f5014f29e..8c04bfd47 100644 --- a/static/app.js +++ b/static/app.js @@ -37,7 +37,7 @@ import { UI_VIS_DEFAULT_OFF, resolveVisibility } from './js/ui_visibility.js?v=2 import tasksModule from './js/tasks.js?v=20260914taskmodel1'; import calendarModule from './js/calendar.js?v=20260914emailsource11'; import notesModule from './js/notes.js?v=20260911notesselectioncancel1'; -import adminModule from './js/admin.js?v=20260921chatgptusage1'; +import adminModule from './js/admin.js?v=20260921chatgptusage2'; import settingsModule from './js/settings.js?v=20260912writingstyle3'; // Eagerly bind unified minimize/restore behavior across all tool modals. import './js/modalManager.js'; diff --git a/static/index.html b/static/index.html index 86ef35843..1d117fe60 100644 --- a/static/index.html +++ b/static/index.html @@ -246,8 +246,8 @@ real request is discarded and the font fetched a second time. --> - - + + @@ -2631,7 +2631,7 @@ - + diff --git a/static/sw.js b/static/sw.js index 89a5b1c89..97c35236c 100644 --- a/static/sw.js +++ b/static/sw.js @@ -7,7 +7,7 @@ // - Other static assets (images/fonts/libs): cache-first with bg refresh. // - API / non-GET: never cached. // Bump CACHE_NAME whenever the precache list or SW logic changes. -const CACHE_NAME = 'odysseus-v650-chatgpt-multi-account-usage'; +const CACHE_NAME = 'odysseus-v651-chatgpt-usage-collapse'; // KaTeX resolves these from its own stylesheet, so caching the CSS without them // gives offline math fallback glyphs instead of proper typesetting. @@ -39,8 +39,8 @@ const KATEX_FONTS = [ // exact URL the browser requests, query string included. const PRECACHE = [ '/', - '/static/style.css?v=20260921chatgptusage1', - '/static/app.js?v=20260916autoscroll1', + '/static/style.css?v=20260921chatgptusage2', + '/static/app.js?v=20260921chatgptusage2', '/static/js/storage.js', '/static/js/appConfig.js', '/static/js/ui.js?v=20260916largetoolscroll1', @@ -75,7 +75,7 @@ const PRECACHE = [ '/static/js/theme.js?v=20260911organsrain1', '/static/js/censor.js', '/static/js/settings.js?v=20260912writingstyle3', - '/static/js/admin.js?v=20260921chatgptusage1', + '/static/js/admin.js?v=20260921chatgptusage2', '/static/js/chatgptSubscriptionUsage.js', '/static/js/init.js?v=20260829chatstyle12', '/static/js/slashCommands.js?v=20260921chatgptusage1',