Rebrand entire project from Feels to Reflect

Complete rename across all bundle IDs, App Groups, CloudKit containers,
StoreKit product IDs, data store filenames, URL schemes, logger subsystems,
Swift identifiers, user-facing strings (7 languages), file names, directory
names, Xcode project, schemes, assets, and documentation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-02-26 11:47:16 -06:00
parent b1a54d2844
commit 0442eab1f8
380 changed files with 858 additions and 1077 deletions

View File

@@ -1,6 +1,6 @@
//
// TipModalView.swift
// Feels
// Reflect
//
// Custom tip modal that adapts to the user's chosen theme
//
@@ -250,14 +250,14 @@ struct TipsPreviewView: View {
@Environment(\.dismiss) private var dismiss
@State private var selectedTipIndex: Int?
private let allTips: [(tip: any FeelsTip, colors: [Color], rule: String)] = [
(FeelsTips.customizeLayout, [Color(hex: "667eea"), Color(hex: "764ba2")], "Always eligible"),
(FeelsTips.aiInsights, [.purple, .blue], "moodLogCount >= 7"),
(FeelsTips.siriShortcut, [Color(hex: "f093fb"), Color(hex: "f5576c")], "moodLogCount >= 3"),
(FeelsTips.healthKitSync, [.red, .pink], "hasSeenSettings == true"),
(FeelsTips.widgetVoting, [Color(hex: "11998e"), Color(hex: "38ef7d")], "daysUsingApp >= 2"),
(FeelsTips.timeView, [.blue, .cyan], "Always eligible"),
(FeelsTips.moodStreak, [.orange, .red], "currentStreak >= 3")
private let allTips: [(tip: any ReflectTip, colors: [Color], rule: String)] = [
(ReflectTips.customizeLayout, [Color(hex: "667eea"), Color(hex: "764ba2")], "Always eligible"),
(ReflectTips.aiInsights, [.purple, .blue], "moodLogCount >= 7"),
(ReflectTips.siriShortcut, [Color(hex: "f093fb"), Color(hex: "f5576c")], "moodLogCount >= 3"),
(ReflectTips.healthKitSync, [.red, .pink], "hasSeenSettings == true"),
(ReflectTips.widgetVoting, [Color(hex: "11998e"), Color(hex: "38ef7d")], "daysUsingApp >= 2"),
(ReflectTips.timeView, [.blue, .cyan], "Always eligible"),
(ReflectTips.moodStreak, [.orange, .red], "currentStreak >= 3")
]
var body: some View {
@@ -317,24 +317,24 @@ struct TipsPreviewView: View {
Section {
Button("Reset All Tips") {
FeelsTipsManager.shared.resetAllTips()
ReflectTipsManager.shared.resetAllTips()
}
.foregroundColor(.red)
Toggle("Tips Enabled", isOn: Binding(
get: { FeelsTipsManager.shared.tipsEnabled },
set: { FeelsTipsManager.shared.tipsEnabled = $0 }
get: { ReflectTipsManager.shared.tipsEnabled },
set: { ReflectTipsManager.shared.tipsEnabled = $0 }
))
} header: {
Text("Settings")
}
Section {
LabeledContent("Mood Log Count", value: "\(FeelsTipsManager.shared.moodLogCount)")
LabeledContent("Days Using App", value: "\(FeelsTipsManager.shared.daysUsingApp)")
LabeledContent("Current Streak", value: "\(FeelsTipsManager.shared.currentStreak)")
LabeledContent("Has Seen Settings", value: FeelsTipsManager.shared.hasSeenSettings ? "Yes" : "No")
LabeledContent("Shown This Session", value: FeelsTipsManager.shared.hasShownTipThisSession ? "Yes" : "No")
LabeledContent("Mood Log Count", value: "\(ReflectTipsManager.shared.moodLogCount)")
LabeledContent("Days Using App", value: "\(ReflectTipsManager.shared.daysUsingApp)")
LabeledContent("Current Streak", value: "\(ReflectTipsManager.shared.currentStreak)")
LabeledContent("Has Seen Settings", value: ReflectTipsManager.shared.hasSeenSettings ? "Yes" : "No")
LabeledContent("Shown This Session", value: ReflectTipsManager.shared.hasShownTipThisSession ? "Yes" : "No")
} header: {
Text("Current Parameters")
}