Right-click now offers "Empty cache and reload". Caches only - never cookies or local storage: emptying a cache is what you do when a page is serving something stale, and signing you out while doing it would be a different and much less welcome feature. The reload waits for the removal to finish, or it would refill from what was being thrown away. Google Chat could play its own alert sound and still reach none of this, because some apps never construct a Notification - they hand it to their service worker registration instead. ServiceWorkerRegistration.prototype .showNotification now routes to the same place. A worker calling it from its own context is still out of reach; a page calling it is not. Also shims the badge API, which is the precise form of an unread count - a number an app states outright rather than one scraped from its title. WKWebView does not implement it, so an app calling it was talking to nobody. Chat's title carries no count at all, which is why no counter ever appeared for it. The background-apps probe now reports all three signals per app, so which one an app actually uses is a reading rather than a guess.
35 lines
1.3 KiB
TOML
35 lines
1.3 KiB
TOML
[package]
|
|
name = "work-app"
|
|
version = "0.1.0"
|
|
description = "A browser for the tools you work in"
|
|
authors = ["Vincent"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "work_app_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
# Pinned: multi-webview lives behind `unstable`, whose API can move between minors.
|
|
tauri = { version = "=2.11.5", features = ["unstable"] }
|
|
tauri-plugin-opener = "2"
|
|
tauri-plugin-notification = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["time"] }
|
|
url = "2"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = "0.6"
|
|
objc2-web-kit = { version = "0.3.2", features = ["WKWebView", "WKWebViewConfiguration", "WKPreferences", "WKSnapshotConfiguration", "WKWebsiteDataStore", "WKWebsiteDataRecord", "block2"] }
|
|
objc2-app-kit = { version = "0.3", features = ["NSImage", "NSBitmapImageRep", "NSImageRep", "NSGraphics"] }
|
|
objc2-foundation = { version = "0.3", features = ["NSData", "NSString", "NSDictionary", "NSValue", "NSError", "NSGeometry", "NSSet", "NSDate", "NSArray"] }
|
|
block2 = "0.6"
|
|
# Notifications are raised here rather than through the plugin, which offers no
|
|
# way to learn that one was clicked.
|
|
mac-notification-sys = "0.6"
|