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
+25 -5
View File
@@ -1,14 +1,34 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Pull-Up</title>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="161.3" y1="115.4" x2="179.8" y2="141.4"><stop offset="0" stop-color="#828893"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-leg_r-2" gradientUnits="userSpaceOnUse" x1="147.8" y1="144.1" x2="144.5" y2="151.0"><stop offset="0" stop-color="#3a3f4b"/><stop offset="1" stop-color="#404551"/></linearGradient>
<linearGradient id="grad-arm_l-1" gradientUnits="userSpaceOnUse" x1="160.4" y1="35.7" x2="158.6" y2="15.1"><stop offset="0" stop-color="#86cfc5"/><stop offset="1" stop-color="#7ecbc1"/></linearGradient>
<linearGradient id="grad-arm_r-0" gradientUnits="userSpaceOnUse" x1="157.2" y1="57.6" x2="156.1" y2="37.0"><stop offset="0" stop-color="#15988c"/><stop offset="1" stop-color="#0d9488"/></linearGradient>
</defs>
<path d="M 136.1 157.8 L 188.2 157.8 L 188.2 150.5 L 136.1 150.5 Z" fill="none" stroke="#b9bec9" stroke-width="2.1" stroke-linejoin="round"/>
<path id="leg_l" d="M 161.3 115.4 L 179.8 141.4 L 151.9 143.8 L 148.7 150.7" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 157.2 115.8 L 175.7 141.7 L 147.8 144.1 L 144.5 151.0" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 161.3 115.4 L 179.8 141.4" stroke="url(#grad-leg_l-0)" stroke-width="3.62208" stroke-linecap="round"/>
<path d="M 179.8 141.4 L 151.9 143.8" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round"/>
<path d="M 151.9 143.8 L 148.7 150.7" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 157.2 115.8 L 175.7 141.7" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 175.7 141.7 L 147.8 144.1" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 147.8 144.1 L 144.5 151.0" stroke="url(#grad-leg_r-2)" stroke-width="4.17972" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 161.3 56.3 L 157.2 56.3 L 157.2 57.6" stroke="#3a3f4b" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 161.3 115.4 L 157.2 114.9 L 157.2 115.8" stroke="#3a3f4b" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 157.2 114.9 Q 157.2 84.9 157.2 56.3" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 161.3 56.3 L 160.4 35.7 L 158.6 15.1" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 157.2 57.6 L 156.1 37.0 L 155.8 16.3" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 157.2 12.8 L 157.2 18.6" stroke="#6b7180" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_l">
<path d="M 161.3 56.3 L 160.4 35.7" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
<path d="M 160.4 35.7 L 158.6 15.1" stroke="url(#grad-arm_l-1)" stroke-width="3.52324" stroke-linecap="round"/>
</g>
<g id="arm_r">
<path d="M 157.2 57.6 L 156.1 37.0" stroke="url(#grad-arm_r-0)" stroke-width="4.17669" stroke-linecap="round"/>
<path d="M 156.1 37.0 L 154.3 16.4" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round"/>
</g>
<path d="M 156.4 12.8 L 156.4 18.6" stroke="#6b7180" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"/>
<circle id="head" cx="157.7" cy="42.5" r="7.0" fill="white" stroke="#3a3f4b" stroke-width="4.2"/>
<line id="nose" x1="164.7" y1="42.0" x2="169.6" y2="41.7" 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.0 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB