Tweaks (#24484)
CI / AMD64 Build (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s

* fix long press on mobile in face and classification

the listener was on the image only, so long pressing on any overlaid div/text area would cause iOS to select the text instead of adding the blue outline

* improve navigation to and from explore

when viewing a tracked object in explore from a classification card, triggers, or the detail stream, explore would open and show a single tracked object. on mobile (noted especially on iOS with frigate in HA), there is no obvious way to navigate back, so add a back button in its usual spot.

also, when going back to the classification view from explore, it may not be obvious which thumbnail you were last viewing, so add a temporary blue outline around the card like review and explore already does

* test tweaks
This commit is contained in:
Josh Hawkins
2026-09-27 07:45:32 -06:00
committed by GitHub
parent 3941355051
commit 4e196516dd
8 changed files with 196 additions and 66 deletions
@@ -727,6 +727,7 @@ function EventList({
<div className="text-sm text-secondary-foreground">
<Link
to={`/explore?recognized_license_plate=${event.data.recognized_license_plate}`}
state={{ canGoBack: true }}
className="text-sm"
>
{event.data.recognized_license_plate}
+4 -1
View File
@@ -135,7 +135,9 @@ export default function EventMenu({
<DropdownMenuItem
className="cursor-pointer"
onSelect={() => {
navigate(`/explore?event_id=${event.id}`);
navigate(`/explore?event_id=${event.id}`, {
state: { canGoBack: true },
});
}}
>
{t("details.item.button.viewInExplore")}
@@ -177,6 +179,7 @@ export default function EventMenu({
else
navigate(
`/explore?search_type=similarity&event_id=${event.id}`,
{ state: { canGoBack: true } },
);
}}
>