Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(notifications): implement dispatch, check & request commands for notification #12

Merged
merged 6 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/six-news-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"zaku": patch
---

Implement dispatch, check & request commands for notification
184 changes: 177 additions & 7 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ tauri = { version = "=2.0.0-rc.3", features = ["devtools"] }
tauri-plugin-dialog = { version = "=2.0.0-rc.1" }
tauri-plugin-global-shortcut = { version = "=2.0.0-rc.1" }
tauri-plugin-http = { version = "=2.0.0-rc.0" }
tauri-plugin-notification = { version = "=2.0.0-rc.1" }
tauri-plugin-store = { version = "=2.0.0-rc.1" }
toml = { version = "=0.8.17" }
8 changes: 7 additions & 1 deletion src-tauri/capabilities/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
"dialog:default",
"global-shortcut:allow-is-registered",
"global-shortcut:allow-register",
"global-shortcut:allow-unregister"
"global-shortcut:allow-unregister",
"notification:allow-is-permission-granted",
"notification:allow-check-permissions",
"notification:allow-request-permission",
"notification:allow-notify",
"notification:allow-show",
"notification:allow-batch"
]
}
1 change: 1 addition & 0 deletions src-tauri/src/core/commands/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pub mod dialog;
pub mod notification;
pub mod space;
pub mod window;
Loading