Skip to content

Return to Loop in middle of Priming goes to Insert Cannula #2117

@marionbarker

Description

@marionbarker

Describe the bug
If the flow from Pair Pod to Priming to Continue screens is interrupted, for example by Loop crashing, and user resumes Loop and attempts to Finish Pairing, they are taken to the Insert Cannula screen even if the priming is still in progress.

To Reproduce
Steps to reproduce the behavior:

  1. Use rPi DASH simulator
  2. Pair new pod and then return to main loop screen while priming is in progress
    • Edited to add - this was from a quit Loop app and restart
    • Next comment has more steps with detailed behavior
  3. Tap the Finish Pairing icon
  4. User is taken to the Insert Cannula screen and if priming/initialization has not completed, they are given an error message that may lead them to think there is something wrong with the pod.

Graphic shows screen when priming is in progress (and pod is fine).
IMG_DBF0D3CA0689-1

Solutions

  1. We could add more words to the screen to indicate if pod is still priming (clicking) please wait - takes about a minute for priming to complete.
  2. Modify the .deactivate actions in {DASH/Omnipod}UICoordinator.swift to modify state.

For example, if I add the line:

            self.pumpManager.podAttachmentConfirmed = false

to the DASH controller just before return hostedView in the case .deactivate section, then I return to the Attach Pod screen first (instead of the Insert Cannula screen. But it still doesn't check if pod is still priming.

Is there some other state parameter that could or should be set when deactivating?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions