Skip to content

[codex] Centralize pain intensity buckets#244

Merged
mpwg merged 1 commit into
mainfrom
codex/pain-intensity-levels
Apr 28, 2026
Merged

[codex] Centralize pain intensity buckets#244
mpwg merged 1 commit into
mainfrom
codex/pain-intensity-levels

Conversation

@mpwg

@mpwg mpwg commented Apr 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a central PainIntensityLevel domain enum with buckets none, low, medium, high, and veryHigh.
  • Route input, review, history, detail, home calendar, color token, and HealthKit severity mappings through the central bucket source.
  • Split history filtering into Stark for 7...8 and Sehr stark for 9...10.

Validation

  • swiftlint
  • xcodebuild test -project Symi.xcodeproj -scheme SymiTests -destination 'platform=iOS Simulator,name=iPhone 17'\n- UI test attempt: xcodebuild test -project Symi.xcodeproj -scheme SymiScreenshots -destination 'platform=iOS Simulator,name=iPhone 17' built but simulator launch failed with Busy (Application failed preflight checks); user approved proceeding.

Closes #234

@mpwg mpwg enabled auto-merge (squash) April 28, 2026 17:14
@mpwg mpwg merged commit bc38528 into main Apr 28, 2026
4 of 6 checks passed
@mpwg mpwg deleted the codex/pain-intensity-levels branch April 28, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pain-Intensity-Logik zentralisieren und inkonsistente Schmerz-Buckets beheben

1 participant