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
+24 -4
View File
@@ -1,13 +1,33 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Bird Dog</title>
<defs>
<linearGradient id="grad-arm_r-0" gradientUnits="userSpaceOnUse" x1="112.0" y1="93.0" x2="115.9" y2="122.2"><stop offset="0" stop-color="#7ecbc1"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-leg_r-0" gradientUnits="userSpaceOnUse" x1="195.9" y1="106.8" x2="201.5" y2="151.7"><stop offset="0" stop-color="#53b6ab"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-leg_l-2" gradientUnits="userSpaceOnUse" x1="235.6" y1="152.2" x2="244.6" y2="158.4"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#0e9488"/></linearGradient>
<linearGradient id="grad-arm_l-1" gradientUnits="userSpaceOnUse" x1="110.1" y1="124.1" x2="105.0" y2="153.2"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#15988c"/></linearGradient>
</defs>
<path d="M 37.3 160.4 L 298.0 160.4 L 298.0 150.0 L 37.3 150.0 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<path id="arm_r" d="M 112.0 93.0 L 115.9 122.2 L 111.0 151.4" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 195.9 106.8 L 201.5 151.7 L 241.5 151.7 L 250.5 157.9" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_l" d="M 190.0 107.2 L 195.6 152.2 L 235.6 152.2 L 244.6 158.4" stroke="#0d9488" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 112.0 93.0 L 115.9 122.2" stroke="url(#grad-arm_r-0)" stroke-width="5.03158" stroke-linecap="round"/>
<path d="M 115.9 122.2 L 111.0 151.4" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 195.9 106.8 L 201.5 151.7" stroke="url(#grad-leg_r-0)" stroke-width="5.20929" stroke-linecap="round"/>
<path d="M 201.5 151.7 L 241.5 151.7" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 241.5 151.7 L 250.5 157.9" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="leg_l">
<path d="M 190.0 107.2 L 195.6 152.2" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 195.6 152.2 L 235.6 152.2" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 235.6 152.2 L 244.6 158.4" stroke="url(#grad-leg_l-2)" stroke-width="5.9972" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 106.0 94.8 L 106.0 92.9 L 112.0 93.0" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 190.0 107.2 L 190.0 106.0 L 195.9 106.8" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 190.0 106.0 Q 147.0 99.3 106.0 92.9" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 106.0 94.8 L 110.1 124.1 L 105.0 153.2" stroke="#0d9488" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_l">
<path d="M 106.0 94.8 L 110.1 124.1" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 110.1 124.1 L 105.0 153.2" stroke="url(#grad-arm_l-1)" stroke-width="5.96886" stroke-linecap="round"/>
</g>
<circle id="head" cx="86.2" cy="95.3" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="77.1" y1="99.5" x2="70.8" y2="102.4" 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.2 KiB