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,16 +1,37 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Romanian Deadlift</title>
<path d="M 102.6 157.8 L 193.2 157.8 L 193.2 150.5 L 102.6 150.5 Z" fill="none" stroke="#b9bec9" stroke-width="2.1" stroke-linejoin="round"/>
<path id="leg_l" d="M 115.1 110.5 L 139.6 131.2 L 161.4 148.5 L 155.4 153.2" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 169.0 85.3 L 168.8 106.0 L 167.8 126.7" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 111.0 110.9 L 135.7 131.1 L 157.8 148.1 L 151.9 153.0" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="115.1" y1="110.5" x2="139.6" y2="131.2"><stop offset="0" stop-color="#5ab9af"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-arm_l-0" gradientUnits="userSpaceOnUse" x1="169.0" y1="85.3" x2="168.8" y2="106.0"><stop offset="0" stop-color="#a2a7b3"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-leg_r-1" gradientUnits="userSpaceOnUse" x1="135.7" y1="131.1" x2="156.7" y2="149.4"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#1e9c91"/></linearGradient>
<linearGradient id="grad-leg_r-2" gradientUnits="userSpaceOnUse" x1="156.7" y1="149.4" x2="160.5" y2="142.8"><stop offset="0" stop-color="#1e9c91"/><stop offset="1" stop-color="#0d9488"/></linearGradient>
<linearGradient id="grad-arm_r-1" gradientUnits="userSpaceOnUse" x1="165.3" y1="107.3" x2="166.4" y2="128.0"><stop offset="0" stop-color="#3a3f4b"/><stop offset="1" stop-color="#414652"/></linearGradient>
</defs>
<path d="M 102.6 157.8 L 197.9 157.8 L 197.9 150.5 L 102.6 150.5 Z" fill="none" stroke="#b9bec9" stroke-width="2.1" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 115.1 110.5 L 139.6 131.2" stroke="url(#grad-leg_l-0)" stroke-width="3.62756" stroke-linecap="round"/>
<path d="M 139.6 131.2 L 160.3 149.7" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
<path d="M 160.3 149.7 L 164.2 143.2" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 169.0 85.3 L 168.8 106.0" stroke="url(#grad-arm_l-0)" stroke-width="3.52354" stroke-linecap="round"/>
<path d="M 168.8 106.0 L 169.3 126.7" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 111.0 110.9 L 135.7 131.1" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 135.7 131.1 L 156.7 149.4" stroke="url(#grad-leg_r-1)" stroke-width="4.14992" stroke-linecap="round"/>
<path d="M 156.7 149.4 L 160.5 142.8" stroke="url(#grad-leg_r-2)" stroke-width="4.14992" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 169.0 85.3 L 164.9 85.3 L 164.9 86.6" stroke="#0d9488" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 115.1 110.5 L 111.0 110.0 L 111.0 110.9" stroke="#0d9488" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 111.0 110.0 Q 139.9 100.1 164.9 85.3" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 164.9 86.6 L 165.3 107.3 L 164.9 128.0" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 166.4 124.2 L 166.4 130.5" stroke="#6b7180" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="166.4" cy="124.2" r="9.1" fill="#6b7180"/>
<circle cx="166.4" cy="130.5" r="9.1" fill="#6b7180"/>
<g id="arm_r">
<path d="M 164.9 86.6 L 165.3 107.3" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 165.3 107.3 L 166.4 128.0" stroke="url(#grad-arm_r-1)" stroke-width="4.17658" stroke-linecap="round"/>
</g>
<path d="M 167.8 124.2 L 167.8 130.5" stroke="#6b7180" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="167.8" cy="124.2" r="9.1" fill="#6b7180"/>
<circle cx="167.8" cy="130.5" r="9.1" fill="#6b7180"/>
<circle id="head" cx="177.8" cy="79.9" r="7.0" fill="white" stroke="#3a3f4b" stroke-width="4.2"/>
<line id="nose" x1="184.7" y1="80.5" x2="189.6" y2="80.9" 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.1 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

@@ -1,16 +1,36 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Romanian Deadlift</title>
<path d="M 102.6 157.5 L 193.2 157.5 L 193.2 150.2 L 102.6 150.2 Z" fill="none" stroke="#b9bec9" stroke-width="2.1" stroke-linejoin="round"/>
<path id="leg_l" d="M 162.7 90.9 L 154.2 121.5 L 161.4 148.2 L 154.0 150.1" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 158.6 91.3 L 150.7 122.0 L 158.6 148.5 L 151.2 150.6" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 173.1 32.7 L 176.4 53.2 L 169.1 72.5" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="162.7" y1="90.9" x2="169.8" y2="121.9"><stop offset="0" stop-color="#26a095"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-leg_r-1" gradientUnits="userSpaceOnUse" x1="166.5" y1="122.0" x2="158.6" y2="148.5"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#30a599"/></linearGradient>
<linearGradient id="grad-leg_r-2" gradientUnits="userSpaceOnUse" x1="158.6" y1="148.5" x2="166.0" y2="150.6"><stop offset="0" stop-color="#30a599"/><stop offset="1" stop-color="#37a99d"/></linearGradient>
<linearGradient id="grad-arm_l-0" gradientUnits="userSpaceOnUse" x1="173.1" y1="32.7" x2="176.4" y2="53.2"><stop offset="0" stop-color="#a6acb7"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
</defs>
<path d="M 102.6 157.5 L 197.9 157.5 L 197.9 150.2 L 102.6 150.2 Z" fill="none" stroke="#b9bec9" stroke-width="2.1" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 162.7 90.9 L 169.8 121.9" stroke="url(#grad-leg_l-0)" stroke-width="3.77634" stroke-linecap="round"/>
<path d="M 169.8 121.9 L 161.4 148.2" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
<path d="M 161.4 148.2 L 168.7 150.4" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 158.6 91.3 L 166.5 122.0" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 166.5 122.0 L 158.6 148.5" stroke="url(#grad-leg_r-1)" stroke-width="4.09987" stroke-linecap="round"/>
<path d="M 158.6 148.5 L 166.0 150.6" stroke="url(#grad-leg_r-2)" stroke-width="3.97706" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 173.1 32.7 L 176.4 53.2" stroke="url(#grad-arm_l-0)" stroke-width="3.51071" stroke-linecap="round"/>
<path d="M 176.4 53.2 L 189.5 69.3" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 173.1 32.7 L 168.9 32.7 L 168.9 34.0" stroke="#0d9488" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 162.7 90.9 L 158.6 90.4 L 158.6 91.3" stroke="#0d9488" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 158.6 90.4 Q 163.9 60.9 168.9 32.7" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 168.9 34.0 L 173.2 54.3 L 166.3 73.8" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 167.7 70.0 L 167.7 76.3" stroke="#6b7180" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="167.7" cy="70.0" r="9.1" fill="#6b7180"/>
<circle cx="167.7" cy="76.3" r="9.1" fill="#6b7180"/>
<g id="arm_r">
<path d="M 168.9 34.0 L 173.2 54.3" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 173.2 54.3 L 187.4 69.5" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round"/>
</g>
<path d="M 188.5 66.2 L 188.5 72.6" stroke="#6b7180" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="188.5" cy="66.2" r="9.1" fill="#6b7180"/>
<circle cx="188.5" cy="72.6" r="9.1" fill="#6b7180"/>
<circle id="head" cx="171.8" cy="19.2" r="7.0" fill="white" stroke="#3a3f4b" stroke-width="4.2"/>
<line id="nose" x1="178.8" y1="19.7" x2="183.7" y2="20.0" 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.1 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB

After

Width:  |  Height:  |  Size: 187 KiB

+29 -8
View File
@@ -1,16 +1,37 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 180" fill="none">
<title>Romanian Deadlift</title>
<path d="M 102.6 157.8 L 193.2 157.8 L 193.2 150.5 L 102.6 150.5 Z" fill="none" stroke="#b9bec9" stroke-width="2.1" stroke-linejoin="round"/>
<path id="leg_l" d="M 115.1 110.5 L 139.6 131.2 L 161.4 148.5 L 155.4 153.2" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_l" d="M 169.0 85.3 L 168.8 106.0 L 167.8 126.7" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="leg_r" d="M 111.0 110.9 L 135.7 131.1 L 157.8 148.1 L 151.9 153.0" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<defs>
<linearGradient id="grad-leg_l-0" gradientUnits="userSpaceOnUse" x1="115.1" y1="110.5" x2="139.6" y2="131.2"><stop offset="0" stop-color="#5ab9af"/><stop offset="1" stop-color="#86cfc5"/></linearGradient>
<linearGradient id="grad-arm_l-0" gradientUnits="userSpaceOnUse" x1="169.0" y1="85.3" x2="168.8" y2="106.0"><stop offset="0" stop-color="#a2a7b3"/><stop offset="1" stop-color="#a9afba"/></linearGradient>
<linearGradient id="grad-leg_r-1" gradientUnits="userSpaceOnUse" x1="135.7" y1="131.1" x2="156.7" y2="149.4"><stop offset="0" stop-color="#0d9488"/><stop offset="1" stop-color="#1e9c91"/></linearGradient>
<linearGradient id="grad-leg_r-2" gradientUnits="userSpaceOnUse" x1="156.7" y1="149.4" x2="160.5" y2="142.8"><stop offset="0" stop-color="#1e9c91"/><stop offset="1" stop-color="#0d9488"/></linearGradient>
<linearGradient id="grad-arm_r-1" gradientUnits="userSpaceOnUse" x1="165.3" y1="107.3" x2="166.4" y2="128.0"><stop offset="0" stop-color="#3a3f4b"/><stop offset="1" stop-color="#414652"/></linearGradient>
</defs>
<path d="M 102.6 157.8 L 197.9 157.8 L 197.9 150.5 L 102.6 150.5 Z" fill="none" stroke="#b9bec9" stroke-width="2.1" stroke-linejoin="round"/>
<g id="leg_l">
<path d="M 115.1 110.5 L 139.6 131.2" stroke="url(#grad-leg_l-0)" stroke-width="3.62756" stroke-linecap="round"/>
<path d="M 139.6 131.2 L 160.3 149.7" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
<path d="M 160.3 149.7 L 164.2 143.2" stroke="#86cfc5" stroke-width="3.5" stroke-linecap="round"/>
</g>
<g id="arm_l">
<path d="M 169.0 85.3 L 168.8 106.0" stroke="url(#grad-arm_l-0)" stroke-width="3.52354" stroke-linecap="round"/>
<path d="M 168.8 106.0 L 169.3 126.7" stroke="#a9afba" stroke-width="3.5" stroke-linecap="round"/>
</g>
<g id="leg_r">
<path d="M 111.0 110.9 L 135.7 131.1" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 135.7 131.1 L 156.7 149.4" stroke="url(#grad-leg_r-1)" stroke-width="4.14992" stroke-linecap="round"/>
<path d="M 156.7 149.4 L 160.5 142.8" stroke="url(#grad-leg_r-2)" stroke-width="4.14992" stroke-linecap="round"/>
</g>
<path id="girdle" d="M 169.0 85.3 L 164.9 85.3 L 164.9 86.6" stroke="#0d9488" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="pelvisBar" d="M 115.1 110.5 L 111.0 110.0 L 111.0 110.9" stroke="#0d9488" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/>
<path id="spine" d="M 111.0 110.0 Q 139.9 100.1 164.9 85.3" stroke="#0d9488" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path id="arm_r" d="M 164.9 86.6 L 165.3 107.3 L 164.9 128.0" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M 166.4 124.2 L 166.4 130.5" stroke="#6b7180" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="166.4" cy="124.2" r="9.1" fill="#6b7180"/>
<circle cx="166.4" cy="130.5" r="9.1" fill="#6b7180"/>
<g id="arm_r">
<path d="M 164.9 86.6 L 165.3 107.3" stroke="#3a3f4b" stroke-width="4.2" stroke-linecap="round"/>
<path d="M 165.3 107.3 L 166.4 128.0" stroke="url(#grad-arm_r-1)" stroke-width="4.17658" stroke-linecap="round"/>
</g>
<path d="M 167.8 124.2 L 167.8 130.5" stroke="#6b7180" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="167.8" cy="124.2" r="9.1" fill="#6b7180"/>
<circle cx="167.8" cy="130.5" r="9.1" fill="#6b7180"/>
<circle id="head" cx="177.8" cy="79.9" r="7.0" fill="white" stroke="#3a3f4b" stroke-width="4.2"/>
<line id="nose" x1="184.7" y1="80.5" x2="189.6" y2="80.9" 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.1 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB