From 4ff61a77e7937f4b1c6145c6b78247accc63dfd9 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 1 Dec 2025 18:32:18 -0600 Subject: [PATCH] add ability to download clean snapshot --- web/public/locales/en/views/explore.json | 4 ++++ web/src/components/menu/SearchResultActions.tsx | 12 ++++++++++++ .../overlay/detail/DetailActionsMenu.tsx | 14 ++++++++++++++ 3 files changed, 30 insertions(+) diff --git a/web/public/locales/en/views/explore.json b/web/public/locales/en/views/explore.json index 5335aa5acd..3f057c38d0 100644 --- a/web/public/locales/en/views/explore.json +++ b/web/public/locales/en/views/explore.json @@ -170,6 +170,10 @@ "label": "Download snapshot", "aria": "Download snapshot" }, + "downloadCleanSnapshot": { + "label": "Download clean snapshot", + "aria": "Download clean snapshot" + }, "viewTrackingDetails": { "label": "View tracking details", "aria": "Show the tracking details" diff --git a/web/src/components/menu/SearchResultActions.tsx b/web/src/components/menu/SearchResultActions.tsx index 66de0c4962..623005220c 100644 --- a/web/src/components/menu/SearchResultActions.tsx +++ b/web/src/components/menu/SearchResultActions.tsx @@ -108,6 +108,18 @@ export default function SearchResultActions({ )} + {searchResult.has_snapshot && + config?.cameras[searchResult.camera].snapshots.clean_copy && ( + + + {t("itemMenu.downloadCleanSnapshot.label")} + + + )} {searchResult.data.type == "object" && ( )} + {search.has_snapshot && + config?.cameras[search.camera].snapshots.clean_copy && ( + + + + {t("itemMenu.downloadCleanSnapshot.label")} + + + + )} {search.has_clip && (