mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 09:02:15 +03:00
Miscellaneous fixes (0.17 beta) (#21431)
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
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 / Assemble and push default build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
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 / Assemble and push default build (push) Blocked by required conditions
* Add shortSummary field to review summary to be used for notifications * pull in current config version into default config * fix crash when dynamically adding cameras depending on where we are in the update loop, camera configs might not be updated yet and we are receiving detections already * add no tracked objects and icon to explore summary view * reset add camera wizard when closing and saving * don't flash no exports icon while loading * Improve handling of homekit config * Increase prompt tokens reservation * Adjust * Catch event not found object detection * Use thread lock for JinaV2 in onnxruntime * remove incorrect embeddings process from memray docs * only show transcribe button if audio event has video * apply aspect ratio and margin constraints to path overlay in detail stream on mobile improves a specific case where the overlay was not aligned with 4:3 cameras on mobile phones * show metadata title as tooltip on icon hover in detail stream --------- Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
co-authored by
Josh Hawkins
parent
e20b324e0a
commit
3c5eb1aee5
@@ -31,7 +31,8 @@ type WizardState = {
|
||||
type WizardAction =
|
||||
| { type: "UPDATE_DATA"; payload: Partial<WizardFormData> }
|
||||
| { type: "UPDATE_AND_NEXT"; payload: Partial<WizardFormData> }
|
||||
| { type: "RESET_NAVIGATE" };
|
||||
| { type: "RESET_NAVIGATE" }
|
||||
| { type: "RESET_ALL" };
|
||||
|
||||
const wizardReducer = (
|
||||
state: WizardState,
|
||||
@@ -50,6 +51,11 @@ const wizardReducer = (
|
||||
};
|
||||
case "RESET_NAVIGATE":
|
||||
return { ...state, shouldNavigateNext: false };
|
||||
case "RESET_ALL":
|
||||
return {
|
||||
wizardData: { streams: [] },
|
||||
shouldNavigateNext: false,
|
||||
};
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
@@ -84,13 +90,13 @@ export default function CameraWizardDialog({
|
||||
useEffect(() => {
|
||||
if (open) {
|
||||
setCurrentStep(0);
|
||||
dispatch({ type: "UPDATE_DATA", payload: { streams: [] } });
|
||||
dispatch({ type: "RESET_ALL" });
|
||||
}
|
||||
}, [open]);
|
||||
|
||||
const handleClose = useCallback(() => {
|
||||
setCurrentStep(0);
|
||||
dispatch({ type: "UPDATE_DATA", payload: { streams: [] } });
|
||||
dispatch({ type: "RESET_ALL" });
|
||||
onClose();
|
||||
}, [onClose]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user