Feature/push notification panel integration #69
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request: Add Push Notification Settings Panel
Description
This PR implements a comprehensive push notification settings panel for the HORNETS Relay admin interface, enabling administrators to configure push notification services including APNs (Apple Push Notification service) and FCM (Firebase Cloud Messaging) directly from the web UI.
Changes Made
Core Implementation
Added TypeScript types (
src/types/settings.types.ts):PushNotificationSettingsinterface with nested structures for service configuration, APNs, and FCM settingsSettingsGroupNameandSettingsGroupTypemappings to include push notificationsExtended settings hook (
src/hooks/useGenericSettings.ts):push_notificationssettings groupUI Components
Created settings components:
PushNotificationSettings.tsx- Standalone settings page componentPushNotificationPanel.tsx- Panel component for Advanced Settings integrationIntegrated into Advanced Settings Layout (
src/components/settings/layouts/AdvancedSettingsLayout.tsx):Features Implemented
General Configuration:
Service Configuration:
APNs Configuration:
FCM Configuration:
Validation & UX
Testing
Screenshots
[Add screenshots of the push notification panel UI if available]
Related Backend Configuration
This UI implementation corresponds to the push notification configuration structure added to the backend at
settings.push_notifications.Checklist