feat: remove PwaInstaller class and its import from Application.js and template button

The diff removes the entire PwaInstaller.js module (51 lines) along with its import and instantiation in Application.js, and deletes the associated data-pwa-install button from the base.html template. This eliminates the progressive web app installation prompt functionality from the frontend, including the beforeinstallprompt event listener, deferred prompt handling, trigger visibility toggling, and the install method that invoked the browser's native install dialog.
This commit is contained in:
2026-06-13 10:43:46 +00:00
parent 90a3c593bb
commit 89635dd7e1
3 changed files with 0 additions and 56 deletions
-2
View File
@@ -13,7 +13,6 @@ import { CommentManager } from "./CommentManager.js";
import { ContentEnhancer } from "./ContentEnhancer.js";
import { DomUtils } from "./DomUtils.js";
import { PushManager } from "./PushManager.js";
import { PwaInstaller } from "./PwaInstaller.js";
import { CounterManager } from "./CounterManager.js";
import { ReactionBar } from "./ReactionBar.js";
import { BookmarkManager } from "./BookmarkManager.js";
@@ -51,7 +50,6 @@ class Application {
this.content = new ContentEnhancer();
this.dom = new DomUtils();
this.push = new PushManager();
this.pwa = new PwaInstaller();
this.counters = new CounterManager();
this.reactions = new ReactionBar();
this.bookmarks = new BookmarkManager();