Fix guided reflection chip suggestions to align with questions

Negative Q4 (Reframe): Moved cognitive reframes to top row (challenge
worst-case, separate facts from feelings, etc.) and demoted action
chips (take a walk, get rest) to expanded. Added two new reframe chips.

Positive Q2 (Awareness): Replaced single emotion words (Joy, Gratitude)
with moment-oriented suggestions (A conversation that made me smile,
Something I accomplished) to match "what moment stands out?" question.

Added translations for 14 new localization keys across all 7 languages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-04-02 17:17:42 -05:00
parent 4d9e906c4d
commit 43ff239781
2 changed files with 4647 additions and 3976 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -80,24 +80,24 @@ struct QuestionChips {
// MARK: Positive (Great/Good) Behavioral Activation
// Q1: "What did you do today?" no chips (situational)
// Q2: "What thought or moment stands out?" positive feelings to savor
// Q2: "What thought or moment stands out?" memorable moments to savor
case (.positive, 1):
return QuestionChips(
topRow: [
String(localized: "guided_chip_pos_joy"),
String(localized: "guided_chip_pos_gratitude"),
String(localized: "guided_chip_pos_pride"),
String(localized: "guided_chip_pos_contentment"),
String(localized: "guided_chip_pos_love"),
String(localized: "guided_chip_pos_excitement"),
String(localized: "guided_chip_pos_moment_conversation"),
String(localized: "guided_chip_pos_moment_accomplished"),
String(localized: "guided_chip_pos_moment_calm"),
String(localized: "guided_chip_pos_moment_laugh"),
String(localized: "guided_chip_pos_moment_grateful_person"),
String(localized: "guided_chip_pos_moment_small_win"),
],
expanded: [
String(localized: "guided_chip_pos_inspiration"),
String(localized: "guided_chip_pos_amusement"),
String(localized: "guided_chip_pos_serenity"),
String(localized: "guided_chip_pos_relief"),
String(localized: "guided_chip_pos_connection"),
String(localized: "guided_chip_pos_hope"),
String(localized: "guided_chip_pos_moment_beauty"),
String(localized: "guided_chip_pos_moment_connected"),
String(localized: "guided_chip_pos_moment_progress"),
String(localized: "guided_chip_pos_moment_like_myself"),
String(localized: "guided_chip_pos_moment_kindness"),
String(localized: "guided_chip_pos_moment_time_well_spent"),
]
)
@@ -221,22 +221,24 @@ struct QuestionChips {
expanded: []
)
// Q4: "More balanced way to see it?" grounding actions + cognitive shifts
// Q4: "More balanced way to see it?" cognitive reframes first, grounding actions expanded
case (.negative, 3):
return QuestionChips(
topRow: [
String(localized: "guided_chip_neg_act_worst_case"),
String(localized: "guided_chip_neg_act_facts_feelings"),
String(localized: "guided_chip_neg_act_matter_in_week"),
String(localized: "guided_chip_neg_act_got_through"),
String(localized: "guided_chip_neg_ref_one_chapter"),
String(localized: "guided_chip_neg_ref_doing_my_best"),
],
expanded: [
String(localized: "guided_chip_neg_act_talk_someone"),
String(localized: "guided_chip_neg_act_write_it_out"),
String(localized: "guided_chip_neg_act_take_walk"),
String(localized: "guided_chip_neg_act_step_away"),
String(localized: "guided_chip_neg_act_get_rest"),
String(localized: "guided_chip_neg_act_one_small_thing"),
],
expanded: [
String(localized: "guided_chip_neg_act_worst_case"),
String(localized: "guided_chip_neg_act_got_through"),
String(localized: "guided_chip_neg_act_facts_feelings"),
String(localized: "guided_chip_neg_act_matter_in_week"),
]
)