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,5 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Leg Press</title>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="145.9" y1="116.8" x2="161.7" y2="74.2"><stop offset="0" stop-color="#86cfc5"/><stop offset="1" stop-color="#72c5bb"/></linearGradient>
<linearGradient id="grad-leg_l-1" gradientUnits="userSpaceOnUse" x1="161.7" y1="74.2" x2="189.0" y2="103.0"><stop offset="0" stop-color="#72c5bb"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-leg_r-0" gradientUnits="userSpaceOnUse" x1="140.0" y1="117.2" x2="157.1" y2="75.2"><stop offset="0" stop-color="#17998d"/><stop offset="1" stop-color="#0d9488"/></linearGradient>
</defs>
<path d="M 88.6 160.6 L 238.5 160.6 L 238.5 150.2 L 88.6 150.2 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<path d="M 134.0 123.0 L 96.0 36.0 L 96.0 36.0 L 134.0 123.0 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="9" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 126.0 127.0 L 156.0 122.0 L 156.0 122.0 L 126.0 127.0 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="9" stroke-linecap="round" stroke-linejoin="round"/>
@@ -7,13 +12,27 @@
<path d="M 118.0 150.0 L 158.0 150.0 L 158.0 150.0 L 118.0 150.0 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 142.0 90.0 L 142.0 78.0" stroke="#c5cad4" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="142.0" cy="77.0" r="3.5" fill="#6b7180"/>
<path id="leg_l" d="M 145.9 116.8 L 161.7 74.2 L 189.0 103.0 L 197.0 95.6" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 111.3 39.6 L 119.1 68.2 L 147.3 78.3" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 145.9 116.8 L 161.7 74.2" stroke="url(#grad-leg_l-0)" stroke-width="5.08081" stroke-linecap="round"/>
<path d="M 161.7 74.2 L 189.0 103.0" stroke="url(#grad-leg_l-1)" stroke-width="5.08081" stroke-linecap="round"/>
<path d="M 189.0 103.0 L 197.0 95.6" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 111.3 39.6 L 119.1 68.2" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
<path d="M 119.1 68.2 L 147.3 78.3" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 111.3 39.6 L 105.4 39.6 L 105.4 41.5" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 145.9 116.8 L 140.0 116.0 L 140.0 117.2" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 140.0 116.0 Q 119.6 78.1 105.4 39.6" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 140.0 117.2 L 157.1 75.2 L 185.0 103.4 L 192.9 95.9" stroke="#0d9488" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 105.4 41.5 L 113.2 70.0 L 141.4 80.1" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_r">
<path d="M 140.0 117.2 L 157.1 75.2" stroke="url(#grad-leg_r-0)" stroke-width="5.96068" stroke-linecap="round"/>
<path d="M 157.1 75.2 L 185.0 103.4" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 185.0 103.4 L 192.9 95.9" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
</g>
<g id="arm_r">
<path d="M 105.4 41.5 L 113.2 70.0" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 113.2 70.0 L 141.4 80.1" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
</g>
<path d="M 186.3 123.2 L 187.7 83.2" stroke="#6b7180" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<circle id="head" cx="110.6" cy="20.6" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="120.3" y1="23.1" x2="127.0" y2="24.9" stroke="#3a3f4b" stroke-width="4" stroke-linecap="round"/>

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

+18 -4
View File
@@ -7,13 +7,27 @@
<path d="M 118.0 150.0 L 158.0 150.0 L 158.0 150.0 L 118.0 150.0 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 142.0 90.0 L 142.0 78.0" stroke="#c5cad4" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="142.0" cy="77.0" r="3.5" fill="#6b7180"/>
<path id="leg_l" d="M 145.9 116.8 L 185.1 93.0 L 224.0 102.0 L 226.5 91.5" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 111.3 39.6 L 119.1 68.2 L 147.3 78.3" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 145.9 116.8 L 185.1 93.0" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 185.1 93.0 L 224.0 102.0" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 224.0 102.0 L 226.5 91.5" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 111.3 39.6 L 119.1 68.2" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
<path d="M 119.1 68.2 L 147.3 78.3" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 111.3 39.6 L 105.4 39.6 L 105.4 41.5" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 145.9 116.8 L 140.0 116.0 L 140.0 117.2" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 140.0 116.0 Q 119.6 78.1 105.4 39.6" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 140.0 117.2 L 180.6 95.9 L 220.0 102.4 L 221.8 91.8" stroke="#0d9488" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 105.4 41.5 L 113.2 70.0 L 141.4 80.1" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_r">
<path d="M 140.0 117.2 L 180.6 95.9" stroke="#0d9488" stroke-width="5.99962" stroke-linecap="round"/>
<path d="M 180.6 95.9 L 220.0 102.4" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 220.0 102.4 L 221.8 91.8" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
</g>
<g id="arm_r">
<path d="M 105.4 41.5 L 113.2 70.0" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 113.2 70.0 L 141.4 80.1" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
</g>
<path d="M 221.3 122.2 L 222.7 82.2" stroke="#6b7180" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<circle id="head" cx="110.6" cy="20.6" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="120.3" y1="23.1" x2="127.0" y2="24.9" stroke="#3a3f4b" stroke-width="4" stroke-linecap="round"/>

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB