feat: Phase 5 - Alert Configuration & Log Management#421
Merged
hossain-khan merged 1 commit intomainfrom Dec 11, 2025
Merged
Conversation
- Add Alert Configuration & Logs card with statistics * Display configured alerts count * Show total checks performed * Display triggered alerts count (highlighted in red if > 0) - Navigation to Alerts List screen with 'View All Logs' button - Clear all logs functionality with confirmation dialog - Real-time statistics using Flow collection with produceState - Log info message when no logs exist - Update Coming Soon list (removed Alert/Log items)
Code Coverage Report |
📊 APK Size AnalysisComparing APKDEX |
This was referenced Dec 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Overview
Phase 5 of the Developer Portal implementation adds Alert Configuration & Log Management - a comprehensive overview of configured alerts and health check history with statistics and management actions.
Changes
New Features
✅ Alert Configuration Overview:
✅ Log Statistics Dashboard:
✅ Navigation & Management:
✅ User Feedback:
Technical Implementation
State Management:
configuredAlertsCount: Int- live count via FlowtotalChecks: Int- aggregated from all logstriggeredAlerts: Int- filtered count of sent alertsshowClearLogsDialog: Boolean- dialog visibility controlEvents:
NavigateToAlertsList- routes to logs screenShowClearLogsDialog/DismissClearLogsDialog- dialog managementConfirmClearLogs- executes deletion with loggingData Collection:
UI Components:
AlertLogManagementCardcomposable with statistics gridAlertDialogfor clear logs confirmationTesting
./gradlew compileDebugKotlin- Compilation successful./gradlew lintKotlin- No lint errors (auto-formatted)./gradlew test- All tests passing (89 tasks)./gradlew assembleDebug- Debug APK builds successfullyScreenshots
Alert Configuration & Logs Section:
Clear Logs Dialog:
Benefits
User Flow
Related
Next Steps
Notes
produceStatefor reactive statistics