Skip to content

Switch, edit and schedule therapy profiles, and show the active profile - #2680

Open
bjorkert wants to merge 12 commits into
LoopKit:next-devfrom
bjorkert:therapy-profiles
Open

bjorkert wants to merge 12 commits into
LoopKit:next-devfrom
bjorkert:therapy-profiles

Conversation

@bjorkert

@bjorkert bjorkert commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

SettingsManager carries the profiles. A switch writes the basal schedule to the pump before the one settings change, as the basal editor does, and is refused while delivery is suspended. A scheduled start runs on the next loop after its time through the same switch. While a profile other than Default is active, the status screen shows its name in a compact row that opens Profiles. When a new pump rules out stored profiles, the user is alerted with the profiles that cannot be activated.

Remote profile commands are in #2699. Depends on LoopKit/LoopKit#698. The description of the whole feature is in LoopKit/LoopWorkspace#583.

Closes #331.

…files, only while a profile other than Default is active
@bjorkert

bjorkert commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

The profile row on the status screen is now the compact one from the Loop and Learn customization (35e8314): the active profile's name in a 24 pt row, a pause icon when a scheduled start is paused, and a tap opens Profiles. The row is hidden while Default is active, so the status screen looks as it does without profiles, and someone who tried profiles and went back to Default has nothing left on screen. VoiceOver reads the full text, including until when the profile stays active.

From left: Weekend active, Weekend with a paused scheduled start, Default active (simulator, iOS 27).

pr-row

@bjorkert

bjorkert commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

The status row shows only the name of the active profile. Here Weekend is active and every scheduled start is paused.

pr-weekend pr-profiles

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.

1 participant