Skip to content

Add Dance activity category#11

Open
hoveeman wants to merge 2 commits into
saksham2001:mainfrom
hoveeman:feature/dance-activity
Open

Add Dance activity category#11
hoveeman wants to merge 2 commits into
saksham2001:mainfrom
hoveeman:feature/dance-activity

Conversation

@hoveeman

Copy link
Copy Markdown
Contributor

Adds Dance as a first-class activity type, slotted between Yoga and Hike in the activity order.

  • ActivityMeta gains a dance entry (label "Dance", helper "Studio, cardio, or freestyle", figure.dance SF Symbol, non-GPS) and is added to the canonical display order.
  • The AI Coach's set_activity enum (ActionTools) includes dance so the coach can log/recommend it.
  • The Live Activity icon mapping (WorkoutActivityAttributes) maps dance/dancing to figure.dance.

No data-model or migration changes — ActivitySession.type is a free-form string, so this is purely additive metadata.

🤖 Generated with Claude Code

hoveeman and others added 2 commits June 22, 2026 13:26
Adds "dance" as a recordable activity type alongside the existing
walk/run/cycle/gym/squash/sport/yoga/hike/other set.

- ActivityMeta (Components.swift): new "dance" entry in the order list and
  metadata table (figure.dance icon, non-GPS) so it appears in the record picker.
- ActionTools.swift: add "dance" to the coach's activityEnum so the AI coach can
  log/edit dance sessions.
- WorkoutActivityAttributes.swift: add a Live Activity icon case for dance.

Calories follow the existing per-session estimate (flat 8 kcal/min) — unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@saksham2001 saksham2001 self-requested a review as a code owner June 24, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants