Skip to content

Commit 8ee7a1b

Browse files
authored
Merge pull request #874 from marionbarker/working-docs
Incorporate Reviewer Comments - post 3.4.x release
2 parents 385f300 + 36e4f75 commit 8ee7a1b

20 files changed

+2309
-2509
lines changed

docs/browser/build-yml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Add them in [Users and Access](https://appstoreconnect.apple.com/access/users){: target="_blank" } on App Store Connect.
1515
* Add them to your *TestFlight* Internal Testing group.
1616

17-
[<span class="loop-bigger">:material-skip-forward:</span>](tf-users.md#set-up-users-and-access-testflight) To skip the detailed instructions, click on [Set Up Users and Access (TestFlight)](tf-users.md#set-up-users-and-access-testflight).
17+
[<span class="loop-bigger">:material-skip-forward:</span>](tf-users.md#testflight-users-overview) To skip the detailed instructions, click on [*TestFlight* Users Overview](tf-users.md#testflight-users-overview).
1818

1919
Refer to the graphic below for the first four steps:
2020

docs/browser/img/gh-fork-loopworkspace.svg

Lines changed: 28 additions & 2244 deletions
Loading

docs/browser/intro-summary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* *GitHub*:
4242
* [`Action: 3. Create Certificates`](certs.md#create-certificates){: target="_blank" }
4343
* [`Action: 4. Build Loop`](build-yml.md#build-the-loop-app){: target="_blank" }
44-
* _<span translate="no">Apple</span>_: [Set up `Internal TestFlight Group`](tf-users.md#set-up-users-and-access-testflight){: target="_blank" }
44+
* _<span translate="no">Apple</span>_: [Set up `Internal TestFlight Group`](tf-users.md#testflight-users-overview){: target="_blank" }
4545
* Phone: [Install the *Loop* app using the *TestFlight* app](phone-install.md){: target="_blank" }
4646

4747
???+ question "FAQs (click to open/close)"

docs/browser/other-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ Please do not remove an existing app if you have trouble building a new one. You
397397

398398
## Add Users to *TestFlight* for App
399399

400-
Once the first build completes, you will be able to configure *TestFlight* for the app - follow the template for setting up *TestFlight* for Loop found in [Configure to Use Browser: Set Up Users and Access (TestFlight)](../browser/tf-users.md#set-up-users-and-access-testflight).
400+
Once the first build completes, you will be able to configure *TestFlight* for the app - follow the template for setting up *TestFlight* for Loop found in [Configure to Use Browser: *TestFlight* Users Overview](../browser/tf-users.md#testflight-users-overview).
401401

402402
## Install on Phone
403403

docs/browser/phone-install.md

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
## General Installation Information
22

3-
This is only available with&nbsp;_<span translate="no">Loop 3</span>_.
3+
**The *Loop* app must be built at least every 90 days when using a browser to build.** With version 3.4.0 and later, the build is automatic (once a month or with a new release). It is recommended you manually install the new build using *TestFlight* at your convenience.
44

5-
**The *Loop* app must be built at least every 90 days when using a browser to build.** With version 3.4.0 and later, the build is automatic. It is recommended you manually install the new build using *TestFlight* at your convenience.
5+
After you [Build the *Loop* App](../browser/build-yml.md#build-the-loop-app) with a browser and you get the email that it is availble in *TestFlight*, you are ready to install on as many phones as you and your family members need.
66

7-
After you [Build the *Loop* App](../browser/build-yml.md#build-the-loop-app) with a browser and it has automatically uploaded to the *TestFlight* app, you are ready to install on as many phones as you and your family members need.
8-
9-
* If you later need to add an adult family member to your list, refer to [Set Up Users and Access (TestFlight)](../browser/tf-users.md#set-up-users-and-access-testflight).
7+
* If you later need to add an adult family member to your list, refer to [*TestFlight* Users Overview](../browser/tf-users.md#testflight-users-overview).
108

119
* Children (under 13 in US, varies by country) cannot use *TestFlight* with their ID. When you use [*TestFlight* for a Child](#testflight-for-a-child), you will need to use your ID on their phone (not the whole phone - just the Media & Purchase portion), so send the *TestFlight* invitation to the email associated with your ID.
1210

@@ -26,7 +24,11 @@ To install *TestFlight*, refer to the GIF below:
2624

2725
## Install App with *TestFlight*
2826

29-
Once you get an email that the *TestFlight* processing completed, you can install the app on your phone. Note this can be half-hour to an hour after the build displays the green check mark on your browser.
27+
Once you get an email that your app is available to test on iOS and watchOS, you can install the app on your phone from *TestFlight*.
28+
29+
* Note this can be half-hour to an hour after the build displays the green check mark on your browser
30+
* Once the app is on your phone, you can choose to install the watch version using your phone *Watch* app
31+
* If you did not already add your email to your *TestFLight* group for your app, go and do it now using these [instructions](tf-users.md#configure-testflight-group-for-the-app){: target="_blank" }
3032

3133
The first time you use *TestFlight* on any phone associated with a given email, you must `Redeem` the code sent to that email inviting you to test the app. The GIF below is for someone who has never used *TestFlight*.
3234

@@ -40,11 +42,12 @@ The first time you use *TestFlight* on any phone associated with a given email,
4042

4143
If you already have the&nbsp;_<span translate="no">Loop</span>_&nbsp;app on the phone, you'll see the warning about possible loss of data. Don't worry, all your settings remain. Go ahead with the installation.
4244

43-
* If you are building&nbsp;_<span translate="no">Loop</span>_&nbsp;3.x over&nbsp;_<span translate="no">Loop</span>_&nbsp;2.x, you will be required to go through [Onboarding](../loop-3/onboarding.md)
44-
4545
### Subsequent Times on Phone
4646

4747
* Open the *TestFlight* app and find the name you used for your *Loop* app in the [Create *Loop* App in App Store Connect](../browser/prepare-app.md#create-loop-app-in-app-store-connect) step
48+
* If you have previously used *TestFlight* on this phone and don't see the latest build, sometimes quitting and restarting *TestFlight* will bring that new build into the list of available apps
49+
* Most people will just tap install to get the most recent build
50+
* If you have more than one version number available in *TestFlight* you can choose which version to install by tapping on the `Previous Builds` row and then selecting the desired version
4851
* Tap on Install
4952
* If you already have the *Loop* app installed on this phone, you will be warned that the app already exists on your phone and that you might lose data
5053
* Click Install again (your pump connection and all your data will be fine)
@@ -56,15 +59,17 @@ If you already have the&nbsp;_<span translate="no">Loop</span>_&nbsp;app on the
5659

5760
## Automatic Update, Build, Install
5861

59-
The instructions on the [Configure to Use Browser](intro-summary.md) page will, unless you make a change, automatically take the following actions for released versions 3.4.0 and later:
62+
The instructions on the [Configure to Use Browser](intro-summary.md){: target="_blank" } pages will automatically take the following actions for released versions 3.4.0 and later:
6063

61-
* Update the version of your&nbsp;<span translate="no">fork</span>&nbsp;within a week of the change
62-
* When an update to the default `branch`, typically `main`, is detected, a new build is created automatically and uploaded to *TestFlight*
63-
* Build the app at least once a month and upload to *TestFlight*
64+
* Update the version of your&nbsp;<span translate="no">fork</span>&nbsp;within a week of a new release release
65+
* Automatically create a new build and upload it to *TestFlight*
66+
* This is only for the `default` branch, typically `main`
67+
* Build the app at least once a month and upload it to *TestFlight*
6468

65-
It is already true that, unless you make a change, the default setting will:
69+
Unless you make the recommended one-time change to [Disable Automatic Install from *TestFlight*](#disable-automatic-install-from-testflight), the default setting for each app found in *TestFlight* is to:
6670

6771
* Install each new build from *TestFlight* on the phone as soon as it is detected
72+
* That's fine for some apps, like *LoopFollow*, but you do not want an app that controls your insulin delivery to install when you are not paying attention
6873

6974
### Recommendation
7075

@@ -92,10 +97,10 @@ When you are ready to install, just open the *TestFlight* app and click Install
9297

9398
### Previous Builds
9499

95-
If you tap on the bottom row that says `Previous Builds`, highlighted by the dashed-green rectangle, you can view and choose an older (or lower version number) build (as long as it has not expired).
100+
If you tap on the row that says `Previous Builds`, highlighted by the dashed-green rectangle in the graphic above, you can view and choose an older (or lower version number) build (as long as it has not expired).
96101

97102
* In some cases, you need to do this to see the newest build
98-
* For example, it you build version 3.5.0 (`dev` branch) accidentally and then switched to 3.4.x (`main` branch), *TestFlight* shows you the 3.5.0 version on the screen and you need to go to previous builds to find your newer 3.4.x build
103+
* For example, if you built version 3.5.0 (`dev` branch) and then switched to 3.4.x (`main` branch), *TestFlight* shows you the most recent 3.5.0 version as the default build to install and you need to go to previous builds to find your newer 3.4.x build
99104

100105
### Unexpected *TestFlight* Beta Expiration
101106

@@ -122,7 +127,9 @@ If you tap on the bottom row that says `Previous Builds`, highlighted by the das
122127

123128
## *TestFlight* for a Child
124129

125-
The adult (*Apple Developer Account* owner) can log into Media & Purchase (see steps below) without affecting the child *Apple* ID associated with a phone (and thus their health records used by the *Loop* app). After the adult installs or updates the app using *TestFlight*, they probably should reverse those steps to remove their credentials from Media & Purchase.
130+
Minor children are not allowed to install or use the *TestFlight* app.
131+
132+
An adult, who is a member of the [Internal *TestFlight* Group](tf-users.md#configure-testflight-group-for-the-app){: target="_blank" :} can log into Media & Purchase (see steps below) without affecting the *Apple* ID associated with a phone (and thus the health records used by the *Loop* app for the minor child). After the adult installs or updates the app using *TestFlight*, they probably should reverse those steps to remove their credentials from Media & Purchase.
126133

127134
Media & Purchase affects access to the App Store, Books, Music and Podcasts.
128135

@@ -134,7 +141,7 @@ On the Child phone:
134141
* Tap on Media & Purchases
135142
* Tap on Sign Out, and confirm
136143
* Sometimes the phone requires a reboot before you can sign in with a different ID
137-
* Sign in with the adult (*Apple Developer* Account owner) *Apple* ID and password
144+
* Sign in with the adult *Apple* ID email and password
138145
* Install or Update the app from *TestFlight* on child phone
139146
* Repeat the process to sign out the adult and (if needed) sign back in the child
140147

docs/browser/prepare-fork.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
* If you already have a fork, you cannot proceed, see [Already Have a LoopWorkspace](#already-have-loopworkspace)
2222
1. Now your screen should look like the graphic below
2323
* Your username will be automatically filled in as the owner (`Owner`)
24-
* <code>LoopWorkspace</code> is the repository name (`Repository Name`)
24+
* <code>LoopWorkspace</code> is the repository name (`Repository Name`) highlighted with the blue rectangle
25+
* Do not rename the repository to something else
26+
* It needs to match the original repository name or automatic building will not work
2527
* Leave the selection that says "`Copy the main branch only`" checked
2628
* Click on the green `Create fork` button
2729

docs/browser/tf-users.md

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,58 @@
1-
## Set Up Users and Access (TestFlight)
1+
## *TestFlight* Users Overview
22

3-
> You repeat this step if you need to add a User to your account. For example, you want to add another adult who can install the app on your child's phone or you want a spouse or friend to have a copy of the app on their phone as backup for a trip.
3+
There are two parts to this.
44

5-
> As a developer, you are already included as a user with the Role of Account Holder, Admin. But you will need to add yourself to the TestFlight group for your App.
5+
* A user must be registered under your [Your App Store Connect User List](#your-app-store-connect-user-list) before they can be added to a *TestFlight* internal test group for any app
6+
* As a developer, you are already included as a user with the Role of Account Holder, Admin
7+
* Once the first build for a given app completes, you will be able to configure the [*TestFlight* Internal Testing Group](#configure-testflight-group-for-the-app) for that app
8+
* You must add yourself to the *TestFlight* Internal Testing Group for each app
69

7-
Once the first build completes, you will be able to configure *TestFlight* for the app.
10+
## Your App Store Connect User List
811

9-
!!! tip "Add Each Users One Time"
10-
Once you add a user to have access to your TestFlight for this app, you don't need to do it again - it remains available to them across rebuilds and different versions for that app.
12+
!!! tip "Step 1: add user for access for any of your apps"
13+
Before you can select someone for the *TestFlight* Internal Testing group for any app, you must first add them to your App Store Connect User list.
1114

12-
You are configuring a private capability for your family using an Internal Testing group. You need the *Apple ID* email address for each adult installing from your build. When building for a child, you will use your own *Apple ID*, not theirs. See [*TestFlight* for a Child](phone-install.md#testflight-for-a-child).
15+
As a developer, you are already included as a user with the Role of Account Holder, Admin.
1316

14-
1. First you need to add the email address(es) to your *App Store Connect* Access Users list:
17+
You are configuring a private capability for your family using an Internal Testing group. You need the *Apple ID* email address for each adult installing from your build. When building for a child, you will use an adult's *Apple ID*, not theirs. See [*TestFlight* for a Child](phone-install.md#testflight-for-a-child).
1518

16-
* Open this link: [Users and Access](https://appstoreconnect.apple.com/access/users){: target="_blank" }
17-
* You must provide a role for each person - `Customer Support` is a good choice
18-
* Once you have added them here, you'll be able to select them in the `TestFlight` group for your app
19+
First you need to add the email address(es) to your *App Store Connect* Access Users list:
1920

20-
![add email and role for your users](img/add-users.png){width="700"}
21-
{align="center"}
21+
* Open this link: [Users and Access](https://appstoreconnect.apple.com/access/users){: target="_blank" }
22+
* You must provide a role for each person - `Customer Support` is a good choice
23+
* Once you have added them here, you'll be able to select them in the `TestFlight` internal test group for each of your apps
24+
25+
![add email and role for your users](img/add-users.png){width="700"}
26+
{align="center"}
27+
28+
## Configure *TestFlight* Group for the App
29+
30+
!!! tip "Add user for each app"
31+
Once you add a user to have access to your TestFlight internal test group for an app, you don't need to do it again - it remains available to them across rebuilds and different versions for that app.
32+
33+
1. Open this link: [App Store Connect / Apps](https://appstoreconnect.apple.com/apps){: target="_blank" } to view your apps; log in if needed.
2234

23-
1. Open this link: [App Store Connect / Apps](https://appstoreconnect.apple.com/apps){: target="_blank" } to view your apps; log in if needed. Then select your *Loop* app. Click on the `TestFlight` tab then click the blue plus button (<font color="#2997FF">:material-plus-circle:</font>) next to `Internal Testing` to add a group.
35+
* Select your *Loop* app
36+
* Click on the `TestFlight` tab
37+
* **If you already have an Internal Testing Group for this app, skip to Step 4**
38+
39+
1. Click the blue plus button (<font color="#2997FF">:material-plus-circle:</font>) next to `Internal Testing` to add a group.
2440

2541
![open TestFlight tab for your app](img/setup-testflight-01.png){width="700"}
2642
{align="center"}
2743

2844
1. Fill out the name you want for the `Internal Testing` group
2945
* Be sure to check the box `Enable automatic distribution`
30-
* Click `Create` when done (this can always be modified later)
46+
* Click `Create` when done
3147

3248
![add email and role for your users](img/setup-testflight-02.png){width="700"}
3349
{align="center"}
3450

35-
1. As soon as you create the group, you'll be asked who should be included
51+
1. You can add or remove emails to the Internal Test Group as any time
3652
* Click in the box beside each person you want to include
3753
* Each person in this group will get an email each time you update (build again) using the <code>*GitHub* Browser Build</code> method
3854
* Click `Add` when you are done
39-
* If building for a child, you will send the invitation to yourself because you will install for your child: See [TestFlight for a Child](phone-install.md#testflight-for-a-child)
55+
* If building for a minor child, you will send the invitation to yourself or another person because a minor child is not authorized to use *TestFlight*: See [TestFlight for a Child](phone-install.md#testflight-for-a-child)
4056

4157
![select your users for the testing group](img/setup-testflight-03.png){width="700"}
4258
{align="center"}

docs/faqs/algorithm-faqs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,5 @@ There is more detail about the Loop Algorithm at the bottom of the Operate tab.
108108
* [Algorithm Overview](../operation/algorithm/overview.md)
109109
* [Bolus Recommendations](../operation/algorithm/bolus.md)
110110
* [Blood Glucose Prediction](../operation/algorithm/prediction.md)
111-
* [Automatic Adjustments](../operation/algorithm/temp-basal.md)
111+
* [Automatic Adjustments](../operation/algorithm/auto-adjust.md)
112112

docs/faqs/glossary.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ When Google Translate is selected:
158158

159159
**<span translate="no">Monterey</span>**&nbsp; (Monterey): operating system for Mac, macOS 12.x
160160

161+
**<span translate="no">MPC</span>**&nbsp; (MPC): model predictive control; the type of control algorithm used by Loop
162+
161163
**<span translate="no">NFC</span>**&nbsp; (NFC): Near-Field Communication is used for scanning devices such as Libre sensors
162164

163165
**<span translate="no">Nightscout</span>**&nbsp; (Nightscout): a personal website used to view your glucose and diabetes management data, `Loop` can upload to `Nightscout`

docs/loop-3/displays-v3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Below the chart you will see an explanation of the variables Loop takes into acc
6464

6565
* [Carbohydrates](../operation/algorithm/prediction.md#carbohydrate-effect){: target="_blank" }
6666
* [Insulin](../operation/algorithm/prediction.md#insulin-effect){: target="_blank" }
67-
* [Glucose Momentum](../operation/algorithm/prediction.md#blood-glucose-momentum-effect){: target="_blank" }
67+
* [Glucose Momentum](../operation/algorithm/prediction.md#glucose-momentum-effect){: target="_blank" }
6868
* [Integral Retrospective Correction](../operation/algorithm/prediction.md#insulin-effect){: target="_blank" } (or [Retrospective Correction](../operation/algorithm/prediction.md#retrospective-correction-effect){: target="_blank" })
6969
* Suspension of Insulin Delivery
7070

0 commit comments

Comments
 (0)