diff --git a/PulseLoop/Coach/Tools/ActionTools.swift b/PulseLoop/Coach/Tools/ActionTools.swift index 29e6362..cfc590b 100644 --- a/PulseLoop/Coach/Tools/ActionTools.swift +++ b/PulseLoop/Coach/Tools/ActionTools.swift @@ -12,7 +12,7 @@ enum ActionTools { } static var measurementTools: [AnyCoachTool] { [triggerMeasurement] } - private static let activityEnum = ["walk", "run", "cycle", "gym", "squash", "sport", "yoga", "hike", "other"] + private static let activityEnum = ["walk", "run", "cycle", "gym", "squash", "sport", "yoga", "dance", "hike", "other"] // MARK: set_goal diff --git a/PulseLoop/DesignSystem/Components.swift b/PulseLoop/DesignSystem/Components.swift index 54802be..dd9df3b 100644 --- a/PulseLoop/DesignSystem/Components.swift +++ b/PulseLoop/DesignSystem/Components.swift @@ -542,7 +542,7 @@ struct ActivityKind: Identifiable { enum ActivityMeta { /// Canonical types in display order (matches web `ACTIVITY_ORDER`). - static let order = ["walk", "run", "cycle", "gym", "squash", "sport", "yoga", "hike", "other"] + static let order = ["walk", "run", "cycle", "gym", "squash", "sport", "yoga", "dance", "hike", "other"] private static let table: [String: ActivityKind] = [ "walk": ActivityKind(type: "walk", label: "Walk", helper: "Outdoor or indoor walk", symbol: "figure.walk", gpsCapable: true), @@ -552,6 +552,7 @@ enum ActivityMeta { "squash": ActivityKind(type: "squash", label: "Squash", helper: "Court session", symbol: "figure.tennis", gpsCapable: false), "sport": ActivityKind(type: "sport", label: "Sport", helper: "General sport", symbol: "figure.soccer", gpsCapable: true), "yoga": ActivityKind(type: "yoga", label: "Yoga", helper: "Mobility or stretching", symbol: "figure.yoga", gpsCapable: false), + "dance": ActivityKind(type: "dance", label: "Dance", helper: "Studio, cardio, or freestyle", symbol: "figure.dance", gpsCapable: false), "hike": ActivityKind(type: "hike", label: "Hike", helper: "Trail or long walk", symbol: "figure.hiking", gpsCapable: true), "other": ActivityKind(type: "other", label: "Other", helper: "Custom activity", symbol: "sparkles", gpsCapable: false) ] diff --git a/PulseLoop/Shared/WorkoutActivityAttributes.swift b/PulseLoop/Shared/WorkoutActivityAttributes.swift index 18335a2..d74f5c6 100644 --- a/PulseLoop/Shared/WorkoutActivityAttributes.swift +++ b/PulseLoop/Shared/WorkoutActivityAttributes.swift @@ -125,6 +125,7 @@ enum WorkoutLAColors { case "gym", "strength", "weights": return "dumbbell.fill" case "hike", "hiking": return "figure.hiking" case "yoga": return "figure.yoga" + case "dance", "dancing": return "figure.dance" case "squash", "tennis": return "figure.tennis" case "sport", "soccer", "football": return "figure.soccer" default: return "sparkles"