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>Goblet Squat</title>
<path d="M 142.9 157.6 L 197.4 157.6 L 197.4 150.1 L 142.9 150.1 Z" fill="none" stroke="#b9bec9" stroke-width="2.16" stroke-linejoin="round"/>
<path id="leg_l" d="M 164.3 90.6 L 155.0 121.9 L 164.3 148.8 L 156.8 151.3" stroke="#86cfc5" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 160.0 91.0 L 151.5 122.5 L 161.4 149.1 L 154.0 151.8" stroke="#0d9488" stroke-width="4.32" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 169.6 30.1 L 163.7 50.5 L 180.9 37.7" stroke="#a9afba" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="164.3" y1="90.6" x2="173.6" y2="121.9"><stop offset="0" stop-color="#28a196"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-leg_r-1" gradientUnits="userSpaceOnUse" x1="170.1" y1="122.0" x2="161.4" y2="149.1"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#2fa499"/></linearGradient>
<linearGradient id="grad-leg_r-2" gradientUnits="userSpaceOnUse" x1="161.4" y1="149.1" x2="169.0" y2="151.4"><stop offset="0" stop-color="#2fa499"/><stop offset="1" stop-color="#37a99d"/></linearGradient>
</defs>
<path d="M 144.2 157.6 L 197.4 157.6 L 197.4 150.1 L 144.2 150.1 Z" fill="none" stroke="#b9bec9" stroke-width="2.16" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 164.3 90.6 L 173.6 121.9" stroke="url(#grad-leg_l-0)" stroke-width="3.87943" stroke-linecap="round"/>
<path d="M 173.6 121.9 L 164.3 148.8" stroke="#86cfc5" stroke-width="3.6" stroke-linecap="round"/>
<path d="M 164.3 148.8 L 171.8 151.3" stroke="#86cfc5" stroke-width="3.6" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 160.0 91.0 L 170.1 122.0" stroke="#0d9488" stroke-width="4.32" stroke-linecap="round"/>
<path d="M 170.1 122.0 L 161.4 149.1" stroke="url(#grad-leg_r-1)" stroke-width="4.21977" stroke-linecap="round"/>
<path d="M 161.4 149.1 L 169.0 151.4" stroke="url(#grad-leg_r-2)" stroke-width="4.09468" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 169.6 30.1 L 163.7 50.5" stroke="#a9afba" stroke-width="3.6" stroke-linecap="round"/>
<path d="M 163.7 50.5 L 180.9 37.7" stroke="#a9afba" stroke-width="3.6" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 169.6 30.1 L 165.3 30.0 L 165.3 31.4" stroke="#3a3f4b" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 164.3 90.6 L 160.0 90.1 L 160.0 91.0" stroke="#3a3f4b" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 160.0 90.1 Q 162.7 59.4 165.3 30.0" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 165.3 31.4 L 161.1 52.3 L 178.0 39.0" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 165.3 31.4 L 161.1 52.3" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round"/>
<path d="M 161.1 52.3 L 178.0 39.0" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round"/>
</g>
<path d="M 179.4 44.1 L 179.4 32.6" stroke="#6b7180" stroke-width="2.16" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="179.4" cy="44.1" r="3.5999999999999996" fill="#6b7180"/>
<circle cx="179.4" cy="32.6" r="3.5999999999999996" fill="#6b7180"/>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

@@ -1,13 +1,31 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Goblet Squat</title>
<path d="M 142.9 158.1 L 197.4 158.1 L 197.4 150.6 L 142.9 150.6 Z" fill="none" stroke="#b9bec9" stroke-width="2.16" stroke-linejoin="round"/>
<path id="leg_l" d="M 157.1 118.0 L 187.1 131.8 L 164.3 149.2 L 171.0 153.4" stroke="#86cfc5" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 178.0 60.9 L 170.7 80.9 L 188.8 69.3" stroke="#a9afba" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 152.8 118.3 L 183.3 131.0 L 161.4 149.5 L 168.3 153.3" stroke="#0d9488" stroke-width="4.32" stroke-linecap="round" stroke-linejoin="round"/>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="157.1" y1="118.0" x2="187.1" y2="131.8"><stop offset="0" stop-color="#67c0b5"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-leg_r-2" gradientUnits="userSpaceOnUse" x1="161.4" y1="149.5" x2="168.3" y2="153.3"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#1b9b8f"/></linearGradient>
</defs>
<path d="M 144.2 158.1 L 197.4 158.1 L 197.4 150.6 L 144.2 150.6 Z" fill="none" stroke="#b9bec9" stroke-width="2.16" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 157.1 118.0 L 187.1 131.8" stroke="url(#grad-leg_l-0)" stroke-width="3.69229" stroke-linecap="round"/>
<path d="M 187.1 131.8 L 164.3 149.2" stroke="#86cfc5" stroke-width="3.6" stroke-linecap="round"/>
<path d="M 164.3 149.2 L 171.0 153.4" stroke="#86cfc5" stroke-width="3.6" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 178.0 60.9 L 170.7 80.9" stroke="#a9afba" stroke-width="3.6" stroke-linecap="round"/>
<path d="M 170.7 80.9 L 188.8 69.3" stroke="#a9afba" stroke-width="3.6" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 152.8 118.3 L 183.3 131.0" stroke="#0d9488" stroke-width="4.32" stroke-linecap="round"/>
<path d="M 183.3 131.0 L 161.4 149.5" stroke="#0d9488" stroke-width="4.31979" stroke-linecap="round"/>
<path d="M 161.4 149.5 L 168.3 153.3" stroke="url(#grad-leg_r-2)" stroke-width="4.27881" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 178.0 60.9 L 173.7 60.8 L 173.7 62.2" stroke="#3a3f4b" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 157.1 118.0 L 152.8 117.4 L 152.8 118.3" stroke="#3a3f4b" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 152.8 117.4 Q 165.5 89.2 173.7 60.8" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 173.7 62.2 L 168.2 82.8 L 185.9 70.6" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 173.7 62.2 L 168.2 82.8" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round"/>
<path d="M 168.2 82.8 L 185.9 70.6" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round"/>
</g>
<path d="M 187.4 75.7 L 187.4 64.2" stroke="#6b7180" stroke-width="2.16" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="187.4" cy="75.7" r="3.5999999999999996" fill="#6b7180"/>
<circle cx="187.4" cy="64.2" r="3.5999999999999996" fill="#6b7180"/>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

After

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 146 KiB

+23 -5
View File
@@ -1,13 +1,31 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Goblet Squat</title>
<path d="M 142.9 158.1 L 197.4 158.1 L 197.4 150.6 L 142.9 150.6 Z" fill="none" stroke="#b9bec9" stroke-width="2.16" stroke-linejoin="round"/>
<path id="leg_l" d="M 157.1 118.0 L 187.1 131.8 L 164.3 149.2 L 171.0 153.4" stroke="#86cfc5" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 178.0 60.9 L 170.7 80.9 L 188.8 69.3" stroke="#a9afba" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 152.8 118.3 L 183.3 131.0 L 161.4 149.5 L 168.3 153.3" stroke="#0d9488" stroke-width="4.32" stroke-linecap="round" stroke-linejoin="round"/>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="157.1" y1="118.0" x2="187.1" y2="131.8"><stop offset="0" stop-color="#67c0b5"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-leg_r-2" gradientUnits="userSpaceOnUse" x1="161.4" y1="149.5" x2="168.3" y2="153.3"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#1b9b8f"/></linearGradient>
</defs>
<path d="M 144.2 158.1 L 197.4 158.1 L 197.4 150.6 L 144.2 150.6 Z" fill="none" stroke="#b9bec9" stroke-width="2.16" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 157.1 118.0 L 187.1 131.8" stroke="url(#grad-leg_l-0)" stroke-width="3.69229" stroke-linecap="round"/>
<path d="M 187.1 131.8 L 164.3 149.2" stroke="#86cfc5" stroke-width="3.6" stroke-linecap="round"/>
<path d="M 164.3 149.2 L 171.0 153.4" stroke="#86cfc5" stroke-width="3.6" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 178.0 60.9 L 170.7 80.9" stroke="#a9afba" stroke-width="3.6" stroke-linecap="round"/>
<path d="M 170.7 80.9 L 188.8 69.3" stroke="#a9afba" stroke-width="3.6" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 152.8 118.3 L 183.3 131.0" stroke="#0d9488" stroke-width="4.32" stroke-linecap="round"/>
<path d="M 183.3 131.0 L 161.4 149.5" stroke="#0d9488" stroke-width="4.31979" stroke-linecap="round"/>
<path d="M 161.4 149.5 L 168.3 153.3" stroke="url(#grad-leg_r-2)" stroke-width="4.27881" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 178.0 60.9 L 173.7 60.8 L 173.7 62.2" stroke="#3a3f4b" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 157.1 118.0 L 152.8 117.4 L 152.8 118.3" stroke="#3a3f4b" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 152.8 117.4 Q 165.5 89.2 173.7 60.8" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 173.7 62.2 L 168.2 82.8 L 185.9 70.6" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 173.7 62.2 L 168.2 82.8" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round"/>
<path d="M 168.2 82.8 L 185.9 70.6" stroke="#3a3f4b" stroke-width="4.32" stroke-linecap="round"/>
</g>
<path d="M 187.4 75.7 L 187.4 64.2" stroke="#6b7180" stroke-width="2.16" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="187.4" cy="75.7" r="3.5999999999999996" fill="#6b7180"/>
<circle cx="187.4" cy="64.2" r="3.5999999999999996" fill="#6b7180"/>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB