Suggestion: Split HeartbeatSection.kt into separate section files
Category: Large functions/files
File: composeApp/src/commonMain/kotlin/com/oak/app/ui/settings/HeartbeatSection.kt:1
HeartbeatSection.kt is 889 lines and contains four distinct composable sections: HeartbeatSection, EmailSection, SmsSection, and NotificationsSection, along with several private helper functions. Each section manages a different domain (heartbeat polling, email polling, SMS polling, and app notifications) with its own state and UI logic.
Suggested action: Split the file into separate files such as HeartbeatSection.kt, EmailSection.kt, SmsSection.kt, and NotificationsSection.kt, each containing only its respective composable and helpers.
Suggestion: Split HeartbeatSection.kt into separate section files
Category: Large functions/files
File:
composeApp/src/commonMain/kotlin/com/oak/app/ui/settings/HeartbeatSection.kt:1HeartbeatSection.ktis 889 lines and contains four distinct composable sections:HeartbeatSection,EmailSection,SmsSection, andNotificationsSection, along with several private helper functions. Each section manages a different domain (heartbeat polling, email polling, SMS polling, and app notifications) with its own state and UI logic.Suggested action: Split the file into separate files such as
HeartbeatSection.kt,EmailSection.kt,SmsSection.kt, andNotificationsSection.kt, each containing only its respective composable and helpers.