Add Warm-Up and Stretching activity types

Adds WorkoutActivityType.warmUp (HealthKit .preparationAndRecovery) and
.stretching (.flexibility), and retags the six starter splits that were all
mislabeled as Functional Strength:

- Warm-Up:    Upper Body Warm-Up, Lower Body Warm-Up, Morning Wake-Up
- Stretching: Morning Mobility, Full Body Stretch, Evening Stretch

The split editor's activity picker surfaces them automatically (CaseIterable).
Older app versions decode the new raw values as the default type — additive and
not schema-gated, so no quarantine.
This commit is contained in:
2026-07-09 15:45:31 -04:00
parent f01e149269
commit e12fe31152
308 changed files with 5594 additions and 990 deletions
+18 -4
View File
@@ -7,13 +7,27 @@
<path d="M 118.0 150.0 L 158.0 150.0 L 158.0 150.0 L 118.0 150.0 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 142.0 90.0 L 142.0 78.0" stroke="#c5cad4" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="142.0" cy="77.0" r="3.5" fill="#6b7180"/>
<path id="leg_l" d="M 145.9 116.8 L 185.1 93.0 L 224.0 102.0 L 226.5 91.5" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 111.3 39.6 L 119.1 68.2 L 147.3 78.3" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 145.9 116.8 L 185.1 93.0" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 185.1 93.0 L 224.0 102.0" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 224.0 102.0 L 226.5 91.5" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 111.3 39.6 L 119.1 68.2" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
<path d="M 119.1 68.2 L 147.3 78.3" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 111.3 39.6 L 105.4 39.6 L 105.4 41.5" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 145.9 116.8 L 140.0 116.0 L 140.0 117.2" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 140.0 116.0 Q 119.6 78.1 105.4 39.6" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 140.0 117.2 L 180.6 95.9 L 220.0 102.4 L 221.8 91.8" stroke="#0d9488" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 105.4 41.5 L 113.2 70.0 L 141.4 80.1" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_r">
<path d="M 140.0 117.2 L 180.6 95.9" stroke="#0d9488" stroke-width="5.99962" stroke-linecap="round"/>
<path d="M 180.6 95.9 L 220.0 102.4" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 220.0 102.4 L 221.8 91.8" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
</g>
<g id="arm_r">
<path d="M 105.4 41.5 L 113.2 70.0" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 113.2 70.0 L 141.4 80.1" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
</g>
<path d="M 221.3 122.2 L 222.7 82.2" stroke="#6b7180" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<circle id="head" cx="110.6" cy="20.6" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="120.3" y1="23.1" x2="127.0" y2="24.9" stroke="#3a3f4b" stroke-width="4" stroke-linecap="round"/>

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB