Redux Actions
Redux action creators, thunks, and action flow diagrams for notification management
👤 Development Team📅 Updated: Mar 13, 2026📁 Services🏷️ notifications🏷️ frontend🏷️ redux🏷️ actions🏷️ async-thunks
Redux Actions
Action Types
Create src/store/actions/notificationActions.ts:
GitHub: View on GitHub
Action Flow Diagrams
Fetch Initial Data Flow
Mark as Read Flow
Push Notification Received Flow
Action Constants Reference
| Action | Type | Payload | Description |
|---|---|---|---|
startLoading | Sync | - | Set loader to true |
stopLoading | Sync | - | Set loader to false |
getInitialData | Async | - | Fetch initial notifications & types |
fetchNotifications | Async | params | Fetch with filters/pagination |
updateNotification | Async | id | Mark single notification as read |
updateMultipleNotifications | Async | ids[] | Mark multiple as read |
setFcmToken | Sync | token | Store FCM token |
setPushNotificationData | Sync | data | Show push alert |
incrementUnreadCount | Sync | - | Increment counter |
decrementUnreadCount | Sync | - | Decrement counter |
filterNotifications | Sync | filters | Apply filters |
setError | Sync | message | Set error message |
resetNotificationState | Sync | - | Reset to initial state |
Next Steps: Refer back to Components or Configuration as needed for implementation details.