refactor: reorganize admin sidebar sections

- Move Background Tasks from Platform Health to Platform Monitoring
- Move Notifications from Settings to Platform Monitoring
- Rename Settings section to Platform Settings
- Update init-alpine.js page-to-section mappings

Platform Monitoring now contains: Import Jobs, Background Tasks,
Application Logs, and Notifications for centralized operational monitoring.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-14 21:56:37 +01:00
parent dc9aa0f769
commit c5ed09ac4f
2 changed files with 8 additions and 8 deletions

View File

@@ -113,23 +113,23 @@
{% call section_content('platformHealth') %}
{{ menu_item('testing', '/admin/testing', 'beaker', 'Testing Hub') }}
{{ menu_item('code-quality', '/admin/code-quality', 'shield-check', 'Code Quality') }}
{{ menu_item('background-tasks', '/admin/background-tasks', 'collection', 'Background Tasks') }}
{% endcall %}
<!-- Platform Monitoring Section -->
{{ section_header('Platform Monitoring', 'monitoring') }}
{% call section_content('monitoring') %}
{{ menu_item('imports', '/admin/imports', 'cube', 'Import Jobs') }}
{{ menu_item('background-tasks', '/admin/background-tasks', 'collection', 'Background Tasks') }}
{{ menu_item('logs', '/admin/logs', 'document-text', 'Application Logs') }}
{{ menu_item('notifications-settings', '/admin/notifications-settings', 'bell', 'Notifications') }}
{% endcall %}
<!-- Settings Section -->
{{ section_header('Settings', 'settingsSection') }}
<!-- Platform Settings Section -->
{{ section_header('Platform Settings', 'settingsSection') }}
{% call section_content('settingsSection') %}
{{ menu_item('settings', '/admin/settings', 'cog', 'General') }}
{{ menu_item('profile', '/admin/profile', 'user-circle', 'Profile') }}
{{ menu_item('api-keys', '/admin/api-keys', 'key', 'API Keys') }}
{{ menu_item('notifications-settings', '/admin/notifications-settings', 'bell', 'Notifications') }}
{% endcall %}
</div>
{% endmacro %}

View File

@@ -80,15 +80,15 @@ function data() {
// Platform Health
testing: 'platformHealth',
'code-quality': 'platformHealth',
'background-tasks': 'platformHealth',
// Platform Monitoring
imports: 'monitoring',
'background-tasks': 'monitoring',
logs: 'monitoring',
// Settings
'notifications-settings': 'monitoring',
// Platform Settings
settings: 'settingsSection',
profile: 'settingsSection',
'api-keys': 'settingsSection',
'notifications-settings': 'settingsSection'
'api-keys': 'settingsSection'
};
return {