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,17 +1,37 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Tricep Press</title>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="123.9" y1="124.8" x2="168.0" y2="111.8"><stop offset="0" stop-color="#a9afba"/><stop offset="1" stop-color="#979da8"/></linearGradient>
<linearGradient id="grad-leg_l-1" gradientUnits="userSpaceOnUse" x1="168.0" y1="111.8" x2="160.0" y2="150.4"><stop offset="0" stop-color="#979da8"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-leg_r-1" gradientUnits="userSpaceOnUse" x1="162.3" y1="112.9" x2="156.0" y2="151.8"><stop offset="0" stop-color="#3a3f4b"/><stop offset="1" stop-color="#3b404c"/></linearGradient>
<linearGradient id="grad-leg_r-2" gradientUnits="userSpaceOnUse" x1="156.0" y1="151.8" x2="166.9" y2="153.5"><stop offset="0" stop-color="#3b404c"/><stop offset="1" stop-color="#3f4450"/></linearGradient>
</defs>
<path d="M 82.7 160.7 L 182.8 160.7 L 182.8 150.3 L 82.7 150.3 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<path d="M 116.0 134.0 L 92.0 42.0 L 92.0 42.0 L 116.0 134.0 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 108.0 135.0 L 146.0 135.0 L 146.0 135.0 L 108.0 135.0 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 124.0 137.0 L 124.0 151.0" stroke="#c5cad4" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 110.0 151.0 L 140.0 151.0 L 140.0 151.0 L 110.0 151.0 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_l" d="M 123.9 124.8 L 168.0 111.8 L 160.0 150.4 L 170.8 152.6" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 110.6 41.4 L 98.5 68.4 L 128.0 63.0" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 123.9 124.8 L 168.0 111.8" stroke="url(#grad-leg_l-0)" stroke-width="5.08211" stroke-linecap="round"/>
<path d="M 168.0 111.8 L 160.0 150.4" stroke="url(#grad-leg_l-1)" stroke-width="5.08211" stroke-linecap="round"/>
<path d="M 160.0 150.4 L 170.8 152.6" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 110.6 41.4 L 98.5 68.4" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
<path d="M 98.5 68.4 L 128.0 63.0" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 110.6 41.4 L 104.7 41.3 L 104.7 43.2" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 123.9 124.8 L 118.0 124.0 L 118.0 125.2" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 118.0 124.0 Q 109.7 81.9 104.7 41.3" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 118.0 125.2 L 162.3 112.9 L 156.0 151.8 L 166.9 153.5" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 104.7 43.2 L 94.7 71.1 L 124.0 64.9" stroke="#0d9488" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_r">
<path d="M 118.0 125.2 L 162.3 112.9" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 162.3 112.9 L 156.0 151.8" stroke="url(#grad-leg_r-1)" stroke-width="5.99389" stroke-linecap="round"/>
<path d="M 156.0 151.8 L 166.9 153.5" stroke="url(#grad-leg_r-2)" stroke-width="5.9697" stroke-linecap="round"/>
</g>
<g id="arm_r">
<path d="M 104.7 43.2 L 94.7 71.1" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 94.7 71.1 L 124.0 64.9" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
</g>
<path d="M 126.0 69.9 L 126.0 57.9" stroke="#6b7180" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
<circle id="head" cx="106.1" cy="21.7" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="116.0" y1="20.7" x2="123.0" y2="19.9" stroke="#3a3f4b" stroke-width="4" stroke-linecap="round"/>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

@@ -1,17 +1,39 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Tricep Press</title>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="123.9" y1="124.8" x2="168.0" y2="111.8"><stop offset="0" stop-color="#a9afba"/><stop offset="1" stop-color="#979da8"/></linearGradient>
<linearGradient id="grad-leg_l-1" gradientUnits="userSpaceOnUse" x1="168.0" y1="111.8" x2="160.0" y2="150.4"><stop offset="0" stop-color="#979da8"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-arm_l-0" gradientUnits="userSpaceOnUse" x1="110.6" y1="41.4" x2="113.2" y2="70.8"><stop offset="0" stop-color="#80ccc2"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-leg_r-1" gradientUnits="userSpaceOnUse" x1="162.3" y1="112.9" x2="156.0" y2="151.8"><stop offset="0" stop-color="#3a3f4b"/><stop offset="1" stop-color="#3b404c"/></linearGradient>
<linearGradient id="grad-leg_r-2" gradientUnits="userSpaceOnUse" x1="156.0" y1="151.8" x2="166.9" y2="153.5"><stop offset="0" stop-color="#3b404c"/><stop offset="1" stop-color="#3f4450"/></linearGradient>
<linearGradient id="grad-arm_r-1" gradientUnits="userSpaceOnUse" x1="109.7" y1="72.4" x2="124.0" y2="98.3"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#11968a"/></linearGradient>
</defs>
<path d="M 82.7 160.7 L 182.8 160.7 L 182.8 150.3 L 82.7 150.3 Z" fill="none" stroke="#b9bec9" stroke-width="3" stroke-linejoin="round"/>
<path d="M 116.0 134.0 L 92.0 42.0 L 92.0 42.0 L 116.0 134.0 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 108.0 135.0 L 146.0 135.0 L 146.0 135.0 L 108.0 135.0 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 124.0 137.0 L 124.0 151.0" stroke="#c5cad4" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 110.0 151.0 L 140.0 151.0 L 140.0 151.0 L 110.0 151.0 Z" fill="#c5cad4" stroke="#c5cad4" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_l" d="M 123.9 124.8 L 168.0 111.8 L 160.0 150.4 L 170.8 152.6" stroke="#a9afba" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 110.6 41.4 L 113.2 70.8 L 128.0 96.5" stroke="#86cfc5" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 123.9 124.8 L 168.0 111.8" stroke="url(#grad-leg_l-0)" stroke-width="5.08211" stroke-linecap="round"/>
<path d="M 168.0 111.8 L 160.0 150.4" stroke="url(#grad-leg_l-1)" stroke-width="5.08211" stroke-linecap="round"/>
<path d="M 160.0 150.4 L 170.8 152.6" stroke="#a9afba" stroke-width="5" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 110.6 41.4 L 113.2 70.8" stroke="url(#grad-arm_l-0)" stroke-width="5.02411" stroke-linecap="round"/>
<path d="M 113.2 70.8 L 128.0 96.5" stroke="#86cfc5" stroke-width="5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 110.6 41.4 L 104.7 41.3 L 104.7 43.2" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 123.9 124.8 L 118.0 124.0 L 118.0 125.2" stroke="#3a3f4b" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 118.0 124.0 Q 109.7 81.9 104.7 41.3" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 118.0 125.2 L 162.3 112.9 L 156.0 151.8 L 166.9 153.5" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 104.7 43.2 L 109.7 72.4 L 124.0 98.3" stroke="#0d9488" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
<g id="leg_r">
<path d="M 118.0 125.2 L 162.3 112.9" stroke="#3a3f4b" stroke-width="6" stroke-linecap="round"/>
<path d="M 162.3 112.9 L 156.0 151.8" stroke="url(#grad-leg_r-1)" stroke-width="5.99389" stroke-linecap="round"/>
<path d="M 156.0 151.8 L 166.9 153.5" stroke="url(#grad-leg_r-2)" stroke-width="5.9697" stroke-linecap="round"/>
</g>
<g id="arm_r">
<path d="M 104.7 43.2 L 109.7 72.4" stroke="#0d9488" stroke-width="6" stroke-linecap="round"/>
<path d="M 109.7 72.4 L 124.0 98.3" stroke="url(#grad-arm_r-1)" stroke-width="5.98383" stroke-linecap="round"/>
</g>
<path d="M 126.0 103.4 L 126.0 91.4" stroke="#6b7180" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
<circle id="head" cx="106.1" cy="21.7" r="10" fill="white" stroke="#3a3f4b" stroke-width="6"/>
<line id="nose" x1="116.0" y1="20.7" x2="123.0" y2="19.9" stroke="#3a3f4b" stroke-width="4" stroke-linecap="round"/>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB