feat(pwa): add PWA support and browser notifications for critical events

This commit is contained in:
spinline
2026-02-05 22:25:31 +03:00
parent 480604a97a
commit 3efe60a0f0
8 changed files with 255 additions and 21 deletions

View File

@@ -18,6 +18,7 @@ serde_json = "1"
gloo-net = "0.5"
gloo-timers = { version = "0.3", features = ["futures"] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
uuid = { version = "1", features = ["v4", "js"] }
futures = "0.3"
chrono = { version = "0.4", features = ["serde"] }
@@ -37,7 +38,10 @@ web-sys = { version = "0.3", features = [
"TouchEvent",
"TouchList",
"Touch",
"Navigator"
"Navigator",
"Notification",
"NotificationOptions",
"NotificationPermission"
] }
shared = { path = "../shared" }
tailwind_fuse = "0.3.2"