diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 3f551e9..af5b350 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -17,6 +17,7 @@ import Profile from "./pages/Profile"; import Repositories from "./pages/Repositories"; import RepositoryDetail from "./pages/RepositoryDetail"; import AlertChannels from "./pages/settings/AlertChannels"; +import Notifications from "./pages/settings/Notifications"; import SettingsAgentConfig from "./pages/settings/SettingsAgentConfig"; import SettingsHostGroups from "./pages/settings/SettingsHostGroups"; import SettingsServerConfig from "./pages/settings/SettingsServerConfig"; @@ -188,7 +189,9 @@ function AppRoutes() { element={ - + + + } diff --git a/frontend/src/pages/settings/Notifications.jsx b/frontend/src/pages/settings/Notifications.jsx new file mode 100644 index 0000000..3d035fe --- /dev/null +++ b/frontend/src/pages/settings/Notifications.jsx @@ -0,0 +1,163 @@ +import { Bell, Plus, Settings } from "lucide-react"; + +const Notifications = () => { + return ( +
+ {/* Header */} +
+
+

+ Notifications +

+

+ Configure notification preferences and alert rules +

+
+ +
+ + {/* Coming Soon Card */} +
+
+
+
+ +
+
+
+

+ Notification Rules Coming Soon +

+

+ We're working on adding comprehensive notification rules including + package updates, security alerts, system events, and custom + triggers. +

+
+ + In Development + +
+
+
+
+ + {/* Notification Settings Preview */} +
+ {/* Package Updates */} +
+
+
+ +
+

+ Package Updates +

+
+

+ Get notified when packages are updated on your hosts +

+
+
+ + Critical Updates + + + Coming Soon + +
+
+ + Security Patches + + + Coming Soon + +
+
+ + Major Updates + + + Coming Soon + +
+
+
+ + {/* System Events */} +
+
+
+ +
+

+ System Events +

+
+

+ Monitor system health and performance events +

+
+
+ + Host Offline + + + Coming Soon + +
+
+ + High CPU Usage + + + Coming Soon + +
+
+ + Disk Space Low + + + Coming Soon + +
+
+
+
+ + {/* Empty State */} +
+
+

+ Notification Rules +

+

+ No notification rules configured yet +

+
+
+ +

+ No rules +

+

+ Get started by creating your first notification rule. +

+
+ +
+
+
+
+ ); +}; + +export default Notifications;