Pretty print pump events by marionbarker · Pull Request #2403 · LoopKit/Loop

Test

Success.

Summary: This modification makes the pump history feature much more readable.

Configuration

Configuration: start with LoopKit/LoopWorkspace branch update_dev_to_3.11.1, commit c615911

  • Modify the commit for both Loop and LoopKit to point to loopandlearn:pretty-print-pump-events branch.
  • Build and install on an SE 3rd gen phone running iOS 26.2.1
  • Attach an MDT 515 pump to the Loop app
  • Dosing Strategy: Automatic Bolus

(Note - examples in Loop Issue #2383 gave Omnipod results. Test this PR pair with MDT results.)

Results using a Medtronic pump

Bolus

Pump history events remain mutable until confirmed with the pump manager.

Graphics below show an isMutable: true automatic bolus (left) and an earlier finalized manual bolus (right).

loop-loopkit-pretty-print-bolus

Temp Basal

  • Modify Dosing Strategy to Temp Basal Only

  • Enter carbs with no bolus to trigger an automatic temp basal event.

Graphics below show an isMutable: true temp basal delivery (left) and after that temp basal is finalized (right).

loop-loopkit-pretty-print-tempbasal