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 -5
View File
@@ -1,13 +1,32 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Push-Up</title>
<path d="M 53.4 160.6 L 272.0 160.6 L 272.0 150.2 L 53.4 150.2 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<path id="arm_r" d="M 104.6 90.6 L 90.7 116.7 L 97.0 145.6" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 185.9 115.8 L 216.8 149.3 L 256.0 141.4 L 253.4 151.9" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_l" d="M 180.0 116.2 L 221.1 136.5 L 260.0 145.8 L 253.1 154.2" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<defs>
<linearGradient id="grad-leg_r-0" gradientUnits="userSpaceOnUse" x1="185.9" y1="115.8" x2="216.8" y2="149.3"><stop offset="0" stop-color="#989ea9"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-arm_r-0" gradientUnits="userSpaceOnUse" x1="104.6" y1="90.6" x2="90.7" y2="116.7"><stop offset="0" stop-color="#85cec4"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-arm_l-1" gradientUnits="userSpaceOnUse" x1="98.1" y1="122.0" x2="93.9" y2="151.2"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#1c9b8f"/></linearGradient>
</defs>
<path d="M 50.9 160.6 L 272.0 160.6 L 272.0 150.2 L 50.9 150.2 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<g id="leg_r">
<path d="M 185.9 115.8 L 216.8 149.3" stroke="url(#grad-leg_r-0)" stroke-width="5.07745" stroke-linecap="round"/>
<path d="M 216.8 149.3 L 256.0 141.4" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
<path d="M 256.0 141.4 L 253.4 151.9" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="arm_r">
<path d="M 104.6 90.6 L 90.7 116.7" stroke="url(#grad-arm_r-0)" stroke-width="5.00502" stroke-linecap="round"/>
<path d="M 90.7 116.7 L 62.9 128.0" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="leg_l">
<path d="M 180.0 116.2 L 221.1 136.5" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 221.1 136.5 L 260.0 145.8" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 260.0 145.8 L 253.1 154.2" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 98.7 92.4 L 98.7 90.5 L 104.6 90.6" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 180.0 116.2 L 180.0 115.0 L 185.9 115.8" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 180.0 115.0 Q 138.4 102.5 98.7 90.5" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 98.7 92.4 L 98.1 122.0 L 101.0 151.4" stroke="#0d9488" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_l">
<path d="M 98.7 92.4 L 98.1 122.0" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 98.1 122.0 L 93.9 151.2" stroke="url(#grad-arm_l-1)" stroke-width="5.9396" stroke-linecap="round"/>
</g>
<circle id="head" cx="79.6" cy="84.8" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="69.8" y1="87.0" x2="63.0" y2="88.5" 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.8 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

+19 -5
View File
@@ -1,13 +1,27 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Push-Up</title>
<path d="M 53.4 160.8 L 272.0 160.8 L 272.0 150.4 L 53.4 150.4 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<path id="arm_r" d="M 101.2 124.8 L 126.5 140.6 L 97.0 145.9" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 185.9 132.8 L 221.5 161.5 L 256.0 141.6 L 257.0 152.4" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 50.9 160.8 L 272.0 160.8 L 272.0 150.4 L 50.9 150.4 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 101.2 124.8 L 126.5 140.6" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 126.5 140.6 L 97.0 145.9" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 185.9 132.8 L 221.5 161.5" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
<path d="M 221.5 161.5 L 256.0 141.6" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
<path d="M 256.0 141.6 L 257.0 152.4" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 95.3 126.6 L 95.3 124.7 L 101.2 124.8" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 180.0 133.2 L 180.0 132.0 L 185.9 132.8" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 180.0 132.0 Q 136.7 128.3 95.3 124.7" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_l" d="M 180.0 133.2 L 220.8 154.1 L 260.0 146.0 L 257.5 156.6" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 95.3 126.6 L 124.5 133.3 L 101.0 151.6" stroke="#0d9488" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 180.0 133.2 L 220.8 154.1" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 220.8 154.1 L 260.0 146.0" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 260.0 146.0 L 257.5 156.6" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 95.3 126.6 L 124.5 133.3" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 124.5 133.3 L 101.0 151.6" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
</g>
<circle id="head" cx="75.4" cy="123.0" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="66.7" y1="127.9" x2="60.6" y2="131.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: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 KiB

After

Width:  |  Height:  |  Size: 184 KiB

+24 -5
View File
@@ -1,13 +1,32 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Push-Up</title>
<path d="M 53.4 160.6 L 272.0 160.6 L 272.0 150.2 L 53.4 150.2 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<path id="arm_r" d="M 104.6 90.6 L 90.7 116.7 L 97.0 145.6" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 185.9 115.8 L 216.8 149.3 L 256.0 141.4 L 253.4 151.9" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_l" d="M 180.0 116.2 L 221.1 136.5 L 260.0 145.8 L 253.1 154.2" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<defs>
<linearGradient id="grad-leg_r-0" gradientUnits="userSpaceOnUse" x1="185.9" y1="115.8" x2="216.8" y2="149.3"><stop offset="0" stop-color="#989ea9"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-arm_r-0" gradientUnits="userSpaceOnUse" x1="104.6" y1="90.6" x2="90.7" y2="116.7"><stop offset="0" stop-color="#85cec4"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-arm_l-1" gradientUnits="userSpaceOnUse" x1="98.1" y1="122.0" x2="93.9" y2="151.2"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#1c9b8f"/></linearGradient>
</defs>
<path d="M 50.9 160.6 L 272.0 160.6 L 272.0 150.2 L 50.9 150.2 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<g id="leg_r">
<path d="M 185.9 115.8 L 216.8 149.3" stroke="url(#grad-leg_r-0)" stroke-width="5.07745" stroke-linecap="round"/>
<path d="M 216.8 149.3 L 256.0 141.4" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
<path d="M 256.0 141.4 L 253.4 151.9" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="arm_r">
<path d="M 104.6 90.6 L 90.7 116.7" stroke="url(#grad-arm_r-0)" stroke-width="5.00502" stroke-linecap="round"/>
<path d="M 90.7 116.7 L 62.9 128.0" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="leg_l">
<path d="M 180.0 116.2 L 221.1 136.5" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 221.1 136.5 L 260.0 145.8" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 260.0 145.8 L 253.1 154.2" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 98.7 92.4 L 98.7 90.5 L 104.6 90.6" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 180.0 116.2 L 180.0 115.0 L 185.9 115.8" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 180.0 115.0 Q 138.4 102.5 98.7 90.5" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 98.7 92.4 L 98.1 122.0 L 101.0 151.4" stroke="#0d9488" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_l">
<path d="M 98.7 92.4 L 98.1 122.0" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 98.1 122.0 L 93.9 151.2" stroke="url(#grad-arm_l-1)" stroke-width="5.9396" stroke-linecap="round"/>
</g>
<circle id="head" cx="79.6" cy="84.8" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="69.8" y1="87.0" x2="63.0" y2="88.5" 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.8 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB