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 @@
//
// HealthKitManager.swift
// Feels
// Reflect
//
// HealthKit State of Mind API integration for syncing mood data with Apple Health
//
@@ -14,7 +14,7 @@ class HealthKitManager: ObservableObject {
static let shared = HealthKitManager()
private let healthStore = HKHealthStore()
private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.tt.feels", category: "HealthKit")
private let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "com.88oakapps.reflect", category: "HealthKit")
@Published var isAuthorized = false
@Published var authorizationError: Error?
@@ -132,7 +132,7 @@ class HealthKitManager: ObservableObject {
throw HealthKitError.notAuthorized
}
// Convert Feels mood to HealthKit valence (-1 to 1 scale)
// Convert Reflect mood to HealthKit valence (-1 to 1 scale)
let valence = moodToValence(mood)
// Create State of Mind sample
@@ -384,7 +384,7 @@ class HealthKitManager: ObservableObject {
// MARK: - Conversion Helpers
/// Convert Feels Mood to HealthKit valence (-1 to 1)
/// Convert Reflect Mood to HealthKit valence (-1 to 1)
private func moodToValence(_ mood: Mood) -> Double {
switch mood {
case .horrible: return -1.0
@@ -396,7 +396,7 @@ class HealthKitManager: ObservableObject {
}
}
/// Convert HealthKit valence to Feels Mood
/// Convert HealthKit valence to Reflect Mood
func valenceToMood(_ valence: Double) -> Mood {
switch valence {
case ..<(-0.75): return .horrible