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
@@ -1,16 +1,38 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Incline Bench Press</title>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="154.8" y1="127.1" x2="192.1" y2="115.6"><stop offset="0" stop-color="#a9afba"/><stop offset="1" stop-color="#999faa"/></linearGradient>
<linearGradient id="grad-leg_l-1" gradientUnits="userSpaceOnUse" x1="192.1" y1="115.6" x2="195.7" y2="148.9"><stop offset="0" stop-color="#999faa"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-arm_l-1" gradientUnits="userSpaceOnUse" x1="117.1" y1="46.3" x2="110.7" y2="21.9"><stop offset="0" stop-color="#86cfc5"/><stop offset="1" stop-color="#7fccc2"/></linearGradient>
<linearGradient id="grad-leg_r-1" gradientUnits="userSpaceOnUse" x1="187.2" y1="116.2" x2="192.3" y2="149.3"><stop offset="0" stop-color="#3a3f4b"/><stop offset="1" stop-color="#3d424e"/></linearGradient>
<linearGradient id="grad-leg_r-2" gradientUnits="userSpaceOnUse" x1="192.3" y1="149.3" x2="201.4" y2="147.1"><stop offset="0" stop-color="#3d424e"/><stop offset="1" stop-color="#3a3f4b"/></linearGradient>
<linearGradient id="grad-arm_r-0" gradientUnits="userSpaceOnUse" x1="105.3" y1="72.1" x2="112.7" y2="48.0"><stop offset="0" stop-color="#13978b"/><stop offset="1" stop-color="#0d9488"/></linearGradient>
</defs>
<path d="M 80.8 159.4 L 215.1 159.4 L 215.1 150.5 L 80.8 150.5 Z" fill="none" stroke="#b9bec9" stroke-width="2.55" stroke-linejoin="round"/>
<path d="M 144.7 130.8 L 97.1 73.8 L 97.1 73.8 L 144.7 130.8 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="7.6499999999999995" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 143.0 133.3 L 165.1 130.8 L 165.1 130.8 L 143.0 133.3 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="6.8" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 153.2 135.8 L 153.2 150.3" stroke="#c5cad4" stroke-width="4.25" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_l" d="M 154.8 127.1 L 192.1 115.6 L 195.7 148.9 L 204.9 147.2" stroke="#a9afba" stroke-width="4.25" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 110.3 70.5 L 117.1 46.3 L 110.7 21.9" stroke="#86cfc5" stroke-width="4.25" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 154.8 127.1 L 192.1 115.6" stroke="url(#grad-leg_l-0)" stroke-width="4.31136" stroke-linecap="round"/>
<path d="M 192.1 115.6 L 195.7 148.9" stroke="url(#grad-leg_l-1)" stroke-width="4.31136" stroke-linecap="round"/>
<path d="M 195.7 148.9 L 204.9 147.2" stroke="#a9afba" stroke-width="4.25" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 110.3 70.5 L 117.1 46.3" stroke="#86cfc5" stroke-width="4.25" stroke-linecap="round"/>
<path d="M 117.1 46.3 L 110.7 21.9" stroke="url(#grad-arm_l-1)" stroke-width="4.27324" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 110.3 70.5 L 105.3 70.4 L 105.3 72.1" stroke="#3a3f4b" stroke-width="4.25" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 154.8 127.1 L 149.8 126.5 L 149.8 127.5" stroke="#3a3f4b" stroke-width="4.25" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 149.8 126.5 Q 127.0 97.8 105.3 70.4" stroke="#3a3f4b" stroke-width="5.1" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 149.8 127.5 L 187.2 116.2 L 192.3 149.3 L 201.4 147.1" stroke="#3a3f4b" stroke-width="5.1" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 105.3 72.1 L 112.7 48.0 L 107.3 23.5" stroke="#0d9488" stroke-width="5.1" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_r">
<path d="M 149.8 127.5 L 187.2 116.2" stroke="#3a3f4b" stroke-width="5.1" stroke-linecap="round"/>
<path d="M 187.2 116.2 L 192.3 149.3" stroke="url(#grad-leg_r-1)" stroke-width="5.09008" stroke-linecap="round"/>
<path d="M 192.3 149.3 L 201.4 147.1" stroke="url(#grad-leg_r-2)" stroke-width="5.09008" stroke-linecap="round"/>
</g>
<g id="arm_r">
<path d="M 105.3 72.1 L 112.7 48.0" stroke="url(#grad-arm_r-0)" stroke-width="5.07736" stroke-linecap="round"/>
<path d="M 112.7 48.0 L 107.3 23.5" stroke="#0d9488" stroke-width="5.1" stroke-linecap="round"/>
</g>
<path d="M 109.0 18.9 L 109.0 26.6" stroke="#6b7180" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="109.0" cy="18.9" r="10.2" fill="#6b7180"/>
<circle cx="109.0" cy="26.6" r="10.2" fill="#6b7180"/>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB