OS notification body already arrived as a 'maarcadetweet:notification' DOM event (Phase 7b). The toast pill that surfaces the body is now clickable: left-click navigates to the URL the notification was about (at://<did>/<col>/<rkey> opens the thread, unknown URL falls back to the home view); right-click dismisses without navigating. tauri-plugin-notification v2.x does not expose a reliable OS-level notification-click callback (it only shows the notification), so the two-step pattern (OS click focuses the app + in-app toast click navigates) is the standard workaround. lastNotificationUrl is now $state so the toast title updates when a new notification arrives.
31 lines
414 B
Plaintext
31 lines
414 B
Plaintext
# Rust
|
|
/target
|
|
**/*.rs.bk
|
|
Cargo.lock.bak
|
|
|
|
# Editors
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
.DS_Store
|
|
|
|
# Env
|
|
.env
|
|
.env.local
|
|
|
|
# Node / Tauri frontend
|
|
crates/tauri-app/node_modules/
|
|
crates/tauri-app/dist/
|
|
crates/tauri-app/.svelte-kit/
|
|
.vite/
|
|
crates/tauri-app/src-tauri/target/
|
|
crates/tauri-app/src-tauri/gen/
|
|
crates/tauri-app/src/assets/fonts/*.ttf
|
|
!crates/tauri-app/src/assets/fonts/.gitkeep
|
|
|
|
# SQLx
|
|
.sqlx/
|
|
|
|
# Build artifacts
|
|
*.log
|