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
+23 -4
View File
@@ -1,15 +1,34 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Face Pull</title>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="157.1" y1="92.3" x2="163.7" y2="123.4"><stop offset="0" stop-color="#525763"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-leg_r-1" gradientUnits="userSpaceOnUse" x1="160.4" y1="123.5" x2="150.2" y2="149.2"><stop offset="0" stop-color="#3a3f4b"/><stop offset="1" stop-color="#585d69"/></linearGradient>
<linearGradient id="grad-leg_r-2" gradientUnits="userSpaceOnUse" x1="150.2" y1="149.2" x2="157.4" y2="151.9"><stop offset="0" stop-color="#585d69"/><stop offset="1" stop-color="#616772"/></linearGradient>
</defs>
<path d="M 141.8 157.5 L 209.0 157.5 L 209.0 150.2 L 141.8 150.2 Z" fill="none" stroke="#b9bec9" stroke-width="2.1" stroke-linejoin="round"/>
<circle cx="217.4" cy="24.6" r="2.8" fill="#6b7180"/>
<path d="M 217.4 24.6 L 199.2 30.5" stroke="#c5cad4" stroke-width="2.0999999999999996" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_l" d="M 157.1 92.3 L 163.7 123.4 L 153.0 148.9 L 160.1 151.8" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 153.0 92.7 L 160.4 123.5 L 150.2 149.2 L 157.4 151.9" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 163.3 33.6 L 182.9 41.0 L 200.6 29.8" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 157.1 92.3 L 163.7 123.4" stroke="url(#grad-leg_l-0)" stroke-width="3.77463" stroke-linecap="round"/>
<path d="M 163.7 123.4 L 153.0 148.9" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round"/>
<path d="M 153.0 148.9 L 160.1 151.8" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 153.0 92.7 L 160.4 123.5" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 160.4 123.5 L 150.2 149.2" stroke="url(#grad-leg_r-1)" stroke-width="4.10551" stroke-linecap="round"/>
<path d="M 150.2 149.2 L 157.4 151.9" stroke="url(#grad-leg_r-2)" stroke-width="3.98151" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 163.3 33.6 L 182.9 41.0" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
<path d="M 182.9 41.0 L 200.6 29.8" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 163.3 33.6 L 159.2 33.5 L 159.2 34.9" stroke="#3a3f4b" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 157.1 92.3 L 153.0 91.8 L 153.0 92.7" stroke="#3a3f4b" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 153.0 91.8 Q 155.1 61.9 159.2 33.5" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 159.2 34.9 L 179.3 40.9 L 197.8 31.1" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 159.2 34.9 L 179.3 40.9" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 179.3 40.9 L 197.8 31.1" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round"/>
</g>
<circle id="head" cx="161.9" cy="20.0" r="7.0" fill="white" stroke="#3a3f4b" stroke-width="4.2"/>
<line id="nose" x1="168.9" y1="20.6" x2="173.7" y2="21.0" stroke="#3a3f4b" stroke-width="2.8" stroke-linecap="round"/>
<g font-family="-apple-system, Helvetica, sans-serif" font-size="11" fill="#6b7180">

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB