Replace old settings page with new SettingsLayout for alert-channels route

- Create new AlertChannels component with proper layout
- Update routing to use SettingsLayout instead of old Settings component
- Add placeholder content for alert channels functionality
- Remove dependency on old settings server page
This commit is contained in:
Muhammad Ibrahim
2025-09-30 22:51:15 +01:00
parent af62a466c8
commit d6db557d87
2 changed files with 81 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ import Profile from "./pages/Profile";
import Repositories from "./pages/Repositories";
import RepositoryDetail from "./pages/RepositoryDetail";
import Settings from "./pages/Settings";
import AlertChannels from "./pages/settings/AlertChannels";
import SettingsAgentConfig from "./pages/settings/SettingsAgentConfig";
import SettingsHostGroups from "./pages/settings/SettingsHostGroups";
import SettingsServerConfig from "./pages/settings/SettingsServerConfig";
@@ -238,7 +239,9 @@ function AppRoutes() {
element={
<ProtectedRoute requirePermission="can_manage_settings">
<Layout>
<Settings />
<SettingsLayout>
<AlertChannels />
</SettingsLayout>
</Layout>
</ProtectedRoute>
}