Repository navigation
Route plugin support menu items to Therapy Settings - #693
Open
damonbayer wants to merge 4 commits into
Open
damonbayer wants to merge 4 commits into
damonbayer wants to merge 4 commits into
Conversation
Collaborator
|
This is a good missing feature to fill; it needs to be done in a app neutral way, though. The LoopSupport plugin is probably the right place. And we might need protocol updates in LoopKit and changes to Loop as well to do that; that's ok and expected. |
damonbayer
marked this pull request as draft
November 26, 2026 17:13
This was referenced Nov 26, 2026
Contributor
Author
|
Updated to reuse the existing plugin menu API. Plugins contribute The LoopDocs row and its 23 existing translations now live in LoopSupport #50, with the app wiring in Loop #2705. Built all three changes together successfully for iOS Simulator. |
damonbayer
marked this pull request as ready for review
November 26, 2026 17:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Therapy Settings help row currently opens a demo placeholder. Replace it with support items contributed through the existing
CustomMenuItem/configurationMenuItems()API.Add
SettingsMenuSection.therapySettingsSupportas their destination and asupportMenuItemsparameter toTherapySettingsView, defaulting to an empty array. The view displays every supplied row and hides the Support section when there are no items. Each row can open external documentation or navigate to an in-app help screen.The companion changes are required to show the LoopDocs help row in Loop.
therapySettingsSupportand passes their views into Therapy Settings.configurationMenuItems(). The label and its 23 existing localizations move from LoopKit to LoopSupport.Validated by building the Loop scheme for iOS Simulator with all three PRs together.