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
@@ -1,13 +1,27 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Leg Raises</title>
<path d="M 58.4 161.1 L 288.1 161.1 L 288.1 150.7 L 58.4 150.7 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<path id="arm_l" d="M 105.9 148.1 L 135.9 149.1 L 165.9 150.1" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_l" d="M 190.9 148.8 L 236.5 142.4 L 276.1 137.0 L 274.5 126.2" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_l">
<path d="M 105.9 148.1 L 135.9 149.1" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
<path d="M 135.9 149.1 L 165.9 150.1" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="leg_l">
<path d="M 190.9 148.8 L 236.5 142.4" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 236.5 142.4 L 276.1 137.0" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 276.1 137.0 L 274.5 126.2" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 105.9 148.1 L 100.0 148.0 L 100.0 149.9" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 190.9 148.8 L 185.0 148.0 L 185.0 149.2" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 185.0 148.0 Q 141.5 148.0 100.0 148.0" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 185.0 149.2 L 230.6 142.9 L 270.2 137.4 L 268.6 126.7" stroke="#0d9488" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 100.0 149.9 L 130.0 150.9 L 160.0 152.0" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_r">
<path d="M 185.0 149.2 L 230.6 142.9" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 230.6 142.9 L 270.2 137.4" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 270.2 137.4 L 268.6 126.7" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
</g>
<g id="arm_r">
<path d="M 100.0 149.9 L 130.0 150.9" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 130.0 150.9 L 160.0 152.0" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
</g>
<circle id="head" cx="80.4" cy="143.9" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="80.4" y1="133.9" x2="80.4" y2="127.0" stroke="#3a3f4b" stroke-width="4" stroke-linecap="round"/>
<g font-family="-apple-system, Helvetica, sans-serif" font-size="11" fill="#6b7180">

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB