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,13 +1,32 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Kneeling Hip Flexor Stretch</title>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="165.9" y1="108.8" x2="150.2" y2="151.3"><stop offset="0" stop-color="#6ac1b7"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-arm_l-0" gradientUnits="userSpaceOnUse" x1="195.4" y1="30.0" x2="199.8" y2="59.2"><stop offset="0" stop-color="#a2a8b3"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-arm_r-1" gradientUnits="userSpaceOnUse" x1="194.5" y1="61.0" x2="200.3" y2="89.9"><stop offset="0" stop-color="#3a3f4b"/><stop offset="1" stop-color="#414652"/></linearGradient>
</defs>
<path d="M 81.2 160.5 L 238.2 160.5 L 238.2 150.1 L 81.2 150.1 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<path id="leg_l" d="M 165.9 108.8 L 150.2 151.3 L 110.3 148.6 L 100.8 154.2" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 195.4 30.0 L 199.8 59.2 L 203.2 88.6" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 160.0 109.2 L 206.0 111.2 L 206.0 150.6 L 216.9 149.4" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 165.9 108.8 L 150.2 151.3" stroke="url(#grad-leg_l-0)" stroke-width="5.11488" stroke-linecap="round"/>
<path d="M 150.2 151.3 L 110.3 148.6" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 110.3 148.6 L 100.8 154.2" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 195.4 30.0 L 199.8 59.2" stroke="url(#grad-arm_l-0)" stroke-width="5.03096" stroke-linecap="round"/>
<path d="M 199.8 59.2 L 204.9 88.3" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 160.0 109.2 L 206.0 111.2" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 206.0 111.2 L 206.0 150.6" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 206.0 150.6 L 216.9 149.4" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 195.4 30.0 L 189.5 29.9 L 189.5 31.8" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 165.9 108.8 L 160.0 108.0 L 160.0 109.2" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 160.0 108.0 Q 167.5 65.2 189.5 29.9" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 189.5 31.8 L 194.5 61.0 L 198.7 90.2" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 189.5 31.8 L 194.5 61.0" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 194.5 61.0 L 200.3 89.9" stroke="url(#grad-arm_r-1)" stroke-width="5.97013" stroke-linecap="round"/>
</g>
<circle id="head" cx="200.7" cy="13.6" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="210.0" y1="17.3" x2="216.5" y2="19.9" 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: 3.0 KiB

@@ -1,13 +1,32 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Kneeling Hip Flexor Stretch</title>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="167.9" y1="110.8" x2="142.2" y2="148.3"><stop offset="0" stop-color="#6fc4b9"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-arm_l-0" gradientUnits="userSpaceOnUse" x1="208.0" y1="37.1" x2="209.4" y2="66.6"><stop offset="0" stop-color="#a2a8b3"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-arm_r-1" gradientUnits="userSpaceOnUse" x1="204.2" y1="68.4" x2="207.3" y2="97.8"><stop offset="0" stop-color="#3a3f4b"/><stop offset="1" stop-color="#414652"/></linearGradient>
</defs>
<path d="M 81.2 160.5 L 238.2 160.5 L 238.2 150.1 L 81.2 150.1 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<path id="leg_l" d="M 167.9 110.8 L 142.2 148.3 L 102.2 148.3 L 93.2 154.5" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 208.0 37.1 L 209.4 66.6 L 209.8 96.1" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 162.0 111.2 L 208.0 111.3 L 210.0 150.6 L 220.9 148.9" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 167.9 110.8 L 142.2 148.3" stroke="url(#grad-leg_l-0)" stroke-width="5.09451" stroke-linecap="round"/>
<path d="M 142.2 148.3 L 102.2 148.3" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 102.2 148.3 L 93.2 154.5" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 208.0 37.1 L 209.4 66.6" stroke="url(#grad-arm_l-0)" stroke-width="5.0332" stroke-linecap="round"/>
<path d="M 209.4 66.6 L 211.6 96.0" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 162.0 111.2 L 208.0 111.3" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 208.0 111.3 L 210.0 150.6" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 210.0 150.6 L 220.9 148.9" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 208.0 37.1 L 202.1 37.0 L 202.1 38.9" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 167.9 110.8 L 162.0 110.0 L 162.0 111.2" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 162.0 110.0 Q 172.8 67.4 202.1 37.0" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 202.1 38.9 L 204.2 68.4 L 205.4 97.9" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 202.1 38.9 L 204.2 68.4" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 204.2 68.4 L 207.3 97.8" stroke="url(#grad-arm_r-1)" stroke-width="5.96733" stroke-linecap="round"/>
</g>
<circle id="head" cx="216.2" cy="23.1" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="224.8" y1="28.3" x2="230.7" y2="32.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: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 KiB

After

Width:  |  Height:  |  Size: 343 KiB

@@ -1,13 +1,32 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Kneeling Hip Flexor Stretch</title>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="167.9" y1="110.8" x2="142.2" y2="148.3"><stop offset="0" stop-color="#6fc4b9"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-arm_l-0" gradientUnits="userSpaceOnUse" x1="208.0" y1="37.1" x2="209.4" y2="66.6"><stop offset="0" stop-color="#a2a8b3"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-arm_r-1" gradientUnits="userSpaceOnUse" x1="204.2" y1="68.4" x2="207.3" y2="97.8"><stop offset="0" stop-color="#3a3f4b"/><stop offset="1" stop-color="#414652"/></linearGradient>
</defs>
<path d="M 81.2 160.5 L 238.2 160.5 L 238.2 150.1 L 81.2 150.1 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<path id="leg_l" d="M 167.9 110.8 L 142.2 148.3 L 102.2 148.3 L 93.2 154.5" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 208.0 37.1 L 209.4 66.6 L 209.8 96.1" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 162.0 111.2 L 208.0 111.3 L 210.0 150.6 L 220.9 148.9" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 167.9 110.8 L 142.2 148.3" stroke="url(#grad-leg_l-0)" stroke-width="5.09451" stroke-linecap="round"/>
<path d="M 142.2 148.3 L 102.2 148.3" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 102.2 148.3 L 93.2 154.5" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 208.0 37.1 L 209.4 66.6" stroke="url(#grad-arm_l-0)" stroke-width="5.0332" stroke-linecap="round"/>
<path d="M 209.4 66.6 L 211.6 96.0" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 162.0 111.2 L 208.0 111.3" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 208.0 111.3 L 210.0 150.6" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 210.0 150.6 L 220.9 148.9" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 208.0 37.1 L 202.1 37.0 L 202.1 38.9" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 167.9 110.8 L 162.0 110.0 L 162.0 111.2" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 162.0 110.0 Q 172.8 67.4 202.1 37.0" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 202.1 38.9 L 204.2 68.4 L 205.4 97.9" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 202.1 38.9 L 204.2 68.4" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 204.2 68.4 L 207.3 97.8" stroke="url(#grad-arm_r-1)" stroke-width="5.96733" stroke-linecap="round"/>
</g>
<circle id="head" cx="216.2" cy="23.1" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="224.8" y1="28.3" x2="230.7" y2="32.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: 3.0 KiB