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
@@ -1,15 +1,34 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Triceps Pushdown</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 181.6 157.5 L 181.6 150.2 L 141.8 150.2 Z" fill="none" stroke="#b9bec9" stroke-width="2.1" stroke-linejoin="round"/>
<circle cx="178.2" cy="5.0" r="2.8" fill="#6b7180"/>
<path d="M 178.2 5.0 L 169.8 40.1" 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 166.4 34.0 L 153.1 50.0 L 171.2 39.5" 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 166.4 34.0 L 153.1 50.0" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
<path d="M 153.1 50.0 L 171.2 39.5" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 166.4 34.0 L 162.3 33.9 L 162.3 35.3" 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 156.7 62.0 162.3 33.9" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 162.3 35.3 L 151.5 53.0 L 168.4 40.7" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 162.3 35.3 L 151.5 53.0" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 151.5 53.0 L 168.4 40.7" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round"/>
</g>
<path d="M 169.8 38.9 L 169.8 41.3" stroke="#6b7180" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"/>
<circle id="head" cx="166.2" cy="20.7" r="7.0" fill="white" stroke="#3a3f4b" stroke-width="4.2"/>
<line id="nose" x1="173.1" y1="21.6" x2="177.9" y2="22.3" stroke="#3a3f4b" stroke-width="2.8" stroke-linecap="round"/>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

@@ -1,15 +1,36 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Triceps Pushdown</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>
<linearGradient id="grad-arm_l-0" gradientUnits="userSpaceOnUse" x1="166.4" y1="34.0" x2="162.1" y2="54.2"><stop offset="0" stop-color="#7fccc2"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-arm_r-1" gradientUnits="userSpaceOnUse" x1="158.8" y1="55.7" x2="165.6" y2="75.2"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#13978b"/></linearGradient>
</defs>
<path d="M 141.8 157.5 L 181.6 157.5 L 181.6 150.2 L 141.8 150.2 Z" fill="none" stroke="#b9bec9" stroke-width="2.1" stroke-linejoin="round"/>
<circle cx="178.2" cy="5.0" r="2.8" fill="#6b7180"/>
<path d="M 178.2 5.0 L 167.0 74.6" 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 166.4 34.0 L 162.1 54.2 L 168.4 73.9" 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 166.4 34.0 L 162.1 54.2" stroke="url(#grad-arm_l-0)" stroke-width="3.51958" stroke-linecap="round"/>
<path d="M 162.1 54.2 L 168.4 73.9" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 166.4 34.0 L 162.3 33.9 L 162.3 35.3" 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 156.7 62.0 162.3 33.9" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 162.3 35.3 L 158.8 55.7 L 165.6 75.2" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 162.3 35.3 L 158.8 55.7" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 158.8 55.7 L 165.6 75.2" stroke="url(#grad-arm_r-1)" stroke-width="4.18201" stroke-linecap="round"/>
</g>
<path d="M 167.0 73.4 L 167.0 75.8" stroke="#6b7180" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"/>
<circle id="head" cx="166.2" cy="20.7" r="7.0" fill="white" stroke="#3a3f4b" stroke-width="4.2"/>
<line id="nose" x1="173.1" y1="21.6" x2="177.9" y2="22.3" stroke="#3a3f4b" stroke-width="2.8" stroke-linecap="round"/>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 126 KiB

+25 -4
View File
@@ -1,15 +1,36 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Triceps Pushdown</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>
<linearGradient id="grad-arm_l-0" gradientUnits="userSpaceOnUse" x1="166.4" y1="34.0" x2="162.1" y2="54.2"><stop offset="0" stop-color="#7fccc2"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-arm_r-1" gradientUnits="userSpaceOnUse" x1="158.8" y1="55.7" x2="165.6" y2="75.2"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#13978b"/></linearGradient>
</defs>
<path d="M 141.8 157.5 L 181.6 157.5 L 181.6 150.2 L 141.8 150.2 Z" fill="none" stroke="#b9bec9" stroke-width="2.1" stroke-linejoin="round"/>
<circle cx="178.2" cy="5.0" r="2.8" fill="#6b7180"/>
<path d="M 178.2 5.0 L 167.0 74.6" 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 166.4 34.0 L 162.1 54.2 L 168.4 73.9" 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 166.4 34.0 L 162.1 54.2" stroke="url(#grad-arm_l-0)" stroke-width="3.51958" stroke-linecap="round"/>
<path d="M 162.1 54.2 L 168.4 73.9" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 166.4 34.0 L 162.3 33.9 L 162.3 35.3" 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 156.7 62.0 162.3 33.9" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 162.3 35.3 L 158.8 55.7 L 165.6 75.2" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<g id="arm_r">
<path d="M 162.3 35.3 L 158.8 55.7" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 158.8 55.7 L 165.6 75.2" stroke="url(#grad-arm_r-1)" stroke-width="4.18201" stroke-linecap="round"/>
</g>
<path d="M 167.0 73.4 L 167.0 75.8" stroke="#6b7180" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"/>
<circle id="head" cx="166.2" cy="20.7" r="7.0" fill="white" stroke="#3a3f4b" stroke-width="4.2"/>
<line id="nose" x1="173.1" y1="21.6" x2="177.9" y2="22.3" stroke="#3a3f4b" stroke-width="2.8" stroke-linecap="round"/>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB