Various Tweaks (#22609)
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions

* Mark items as reviewed as a group with keyboard

* Improve handling of half model regions

* update viewport meta tag to prevent user scaling

fixes https://github.com/blakeblackshear/frigate/issues/22017

* add small animation to collapsible shadcn elements

* add proxy auth env var tests

* Improve search effect

* Fix mobile back navigation losing overlay state on classification page

* undo historyBack changes

* fix classification history navigation

---------

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
Nicolas Mowen
2026-03-24 13:53:39 -06:00
committed by GitHub
co-authored by Josh Hawkins
parent 334245bd3c
commit 4b42039568
9 changed files with 169 additions and 58 deletions
+12 -8
View File
@@ -409,8 +409,11 @@ export default function Events() {
// review status
const markAllItemsAsReviewed = useCallback(
async (currentItems: ReviewSegment[]) => {
const markItemsAsReviewed = useCallback(
async (
currentItems: ReviewSegment[],
itemsToMarkReviewed: ReviewSegment[] | undefined = undefined,
) => {
if (currentItems.length == 0) {
return;
}
@@ -435,13 +438,14 @@ export default function Events() {
{ revalidate: false, populateCache: true },
);
const itemsToMarkReviewed = currentItems
?.filter((seg) => seg.end_time)
?.map((seg) => seg.id);
const reviewList =
itemsToMarkReviewed?.map((seg) => seg.id) ||
currentItems?.filter((seg) => seg.end_time)?.map((seg) => seg.id) ||
[];
if (itemsToMarkReviewed.length > 0) {
if (reviewList.length > 0) {
await axios.post(`reviews/viewed`, {
ids: itemsToMarkReviewed,
ids: reviewList,
reviewed: true,
});
reloadData();
@@ -611,7 +615,7 @@ export default function Events() {
setShowReviewed={setShowReviewed}
setSeverity={setSeverity}
markItemAsReviewed={markItemAsReviewed}
markAllItemsAsReviewed={markAllItemsAsReviewed}
markItemsAsReviewed={markItemsAsReviewed}
onOpenRecording={setRecording}
motionPreviewsCamera={motionPreviewsCamera ?? null}
setMotionPreviewsCamera={(camera) =>