Add guided reflection flow with mood-adaptive CBT/ACT questions
Walks users through 3-4 guided questions based on mood category: positive (great/good) gets gratitude-oriented questions, neutral (average) gets exploratory questions, and negative (bad/horrible) gets empathetic questions. Stored as JSON in MoodEntryModel, integrated into PDF reports, AI summaries, and CSV export. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -58,6 +58,20 @@ enum AccessibilityID {
|
||||
static let cancelButton = "note_editor_cancel"
|
||||
}
|
||||
|
||||
// MARK: - Guided Reflection
|
||||
enum GuidedReflection {
|
||||
static let sheet = "guided_reflection_sheet"
|
||||
static let progressDots = "guided_reflection_progress"
|
||||
static let textEditor = "guided_reflection_text_editor"
|
||||
static let nextButton = "guided_reflection_next"
|
||||
static let backButton = "guided_reflection_back"
|
||||
static let saveButton = "guided_reflection_save"
|
||||
static let cancelButton = "guided_reflection_cancel"
|
||||
static func questionLabel(step: Int) -> String {
|
||||
"guided_reflection_question_\(step)"
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Settings
|
||||
enum Settings {
|
||||
static let header = "settings_header"
|
||||
|
||||
Reference in New Issue
Block a user