diff --git a/docs/remote/img/lf-lrc-carb-delete.png b/docs/remote/img/lf-lrc-carb-delete.png new file mode 100644 index 0000000..6c59810 Binary files /dev/null and b/docs/remote/img/lf-lrc-carb-delete.png differ diff --git a/docs/remote/img/lf-lrc-carb-detail.png b/docs/remote/img/lf-lrc-carb-detail.png new file mode 100644 index 0000000..675db98 Binary files /dev/null and b/docs/remote/img/lf-lrc-carb-detail.png differ diff --git a/docs/remote/img/lf-lrc-carb-edit.png b/docs/remote/img/lf-lrc-carb-edit.png new file mode 100644 index 0000000..f11a9d3 Binary files /dev/null and b/docs/remote/img/lf-lrc-carb-edit.png differ diff --git a/docs/remote/img/lf-trc-meal-delete.png b/docs/remote/img/lf-trc-meal-delete.png new file mode 100644 index 0000000..ad67036 Binary files /dev/null and b/docs/remote/img/lf-trc-meal-delete.png differ diff --git a/docs/remote/img/lf-trc-meal-detail.png b/docs/remote/img/lf-trc-meal-detail.png new file mode 100644 index 0000000..e82eaa4 Binary files /dev/null and b/docs/remote/img/lf-trc-meal-detail.png differ diff --git a/docs/remote/img/lf-trc-meal-edit.png b/docs/remote/img/lf-trc-meal-edit.png new file mode 100644 index 0000000..3aba4b4 Binary files /dev/null and b/docs/remote/img/lf-trc-meal-edit.png differ diff --git a/docs/remote/remote-control-loop.md b/docs/remote/remote-control-loop.md index 81fed6f..9c266fd 100644 --- a/docs/remote/remote-control-loop.md +++ b/docs/remote/remote-control-loop.md @@ -72,6 +72,25 @@ Tapping **Send Carbs** shows a confirmation of the entry before anything is sent ![ remote carb entries](img/lf-lrc-meal.png){width="300"} {align=center} +### Edit or Delete Carbs + +!!! info "Available in *LoopFollow* 7.2 and newer" + +Carb entries from *Loop* can be edited or deleted on the [Treatments](../setup/lf-features.md#treatments) screen. Tap the entry to open its details; the **Remote actions** section has **Edit carbs** and **Delete carbs**. + +![carb entry details with remote actions](img/lf-lrc-carb-detail.png){width="300"} +{align=center} + +* **Edit carbs** shows the current values and lets you enter new carbs, absorption time, food type and time. Tapping **Update Carbs** asks for confirmation before the change is sent. *Loop* replaces the entry with the new values and keeps its history. +* **Delete carbs** asks for confirmation. It removes the carb entry from *Loop*, and *Loop* recalculates carbs on board right away. + +| ![Edit Carbs screen](img/lf-lrc-carb-edit.png){width="300"} | ![delete carbs confirmation](img/lf-lrc-carb-delete.png){width="300"} | +|:--:|:--:| + +Carb entries can be changed up to 23 hours after their time. + +The actions need the remote carb edit customization in the *Loop* app. Without it, the carb entry details show "Editing carbs needs the remote carb edit customization in Loop." + ### Remote Bolus The Insulin screen sends a remote bolus to *Loop*: diff --git a/docs/remote/remote-control-trio.md b/docs/remote/remote-control-trio.md index 5fc4e44..cfc5dc3 100644 --- a/docs/remote/remote-control-trio.md +++ b/docs/remote/remote-control-trio.md @@ -89,6 +89,25 @@ When entering meals and choosing to schedule the meal, any bolus included in the ![scheduled meal warning](img/lf-trc-scheduled-meal.png){width="300"} {align=center} +### Edit or Delete a Meal + +!!! info "Available in *LoopFollow* 7.2 and newer" + +Meals from *Trio* can be edited or deleted on the [Treatments](../setup/lf-features.md#treatments) screen. Tap the meal to open its details; the **Remote actions** section has **Edit meal** and **Delete meal**. + +![meal details with remote actions](img/lf-trc-meal-detail.png){width="300"} +{align=center} + +* **Edit meal** shows the current values and lets you enter new carbs, fat, protein and meal time. Tapping **Update Meal** asks for confirmation before the change is sent. *Trio* replaces the meal, including any fat and protein entries, with the new values. +* **Delete meal** asks for confirmation. It removes the carb entry and any fat/protein entries *Trio* created from it. + +| ![Edit Meal screen](img/lf-trc-meal-edit.png){width="300"} | ![delete meal confirmation](img/lf-trc-meal-delete.png){width="300"} | +|:--:|:--:| + +Meals can be changed up to 24 hours after and 12 hours before their time. The small carb entries *Trio* creates from a meal's fat and protein have a **Show original meal** link; editing or deleting one of them affects the whole meal. + +The actions need a *Trio* version that supports them. With an older version, the meal details show "Editing meals needs a newer Trio version." + ### Remote Bolus The Bolus screen sends a remote bolus to *Trio*: diff --git a/docs/setup/lf-features.md b/docs/setup/lf-features.md index cf8a1bc..892996f 100644 --- a/docs/setup/lf-features.md +++ b/docs/setup/lf-features.md @@ -175,7 +175,7 @@ Quick access is provided using these links once you have configured *LoopFollow* ## Treatments -The treatments screen displays all treatments downloaded from the Nightscout Site with user-selectable filters on treatment type. +The treatments screen displays all treatments downloaded from the Nightscout Site with user-selectable filters on treatment type. Tap a treatment to see its details. With remote control, carb entries can be edited or deleted from their details; see [*Trio*](../remote/remote-control-trio.md#edit-or-delete-a-meal) and [*Loop*](../remote/remote-control-loop.md#edit-or-delete-carbs). ![example treatments screen](img/lf-treatments-screen.png){width=700} {align="center"}