feat: Added support for a system-wide notification popup mechanism that works across Servarrs

This commit is contained in:
Dark-Alex-17 committed 2026-02-03 17:03:12 -07:00
1 parent 447cf6a2b4
commit af573cac2a
16 files changed
+587 -21

No files matched your search

+17
View File
@@ -10,6 +10,23 @@ pub(in crate::models::servarr_data) mod data_test_utils;
#[cfg(test)]
mod servarr_data_tests;
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Notification {
pub title: String,
pub message: String,
pub success: bool,
}
impl Notification {
pub fn new(title: String, message: String, success: bool) -> Self {
Self {
title,
message,
success,
}
}
}
#[derive(Clone, Copy, PartialEq, Eq, Debug, Default)]
pub enum ActiveKeybindingBlock {
#[default]