wording changes

This commit is contained in:
Josh Hawkins 2026-02-03 17:23:13 -06:00
parent de2a456a14
commit 44f7c9c799
5 changed files with 16 additions and 21 deletions

View File

@ -177,7 +177,7 @@ class CameraConfig(FrigateBaseModel):
ui: CameraUiConfig = Field( ui: CameraUiConfig = Field(
default_factory=CameraUiConfig, default_factory=CameraUiConfig,
title="Camera UI", title="Camera UI",
description="Display ordering and dashboard visibility for this camera in the UI.", description="Display ordering and visibility for this camera in the UI. Ordering affects the default dashboard. For more granular control, use camera groups.",
) )
webui_url: Optional[str] = Field( webui_url: Optional[str] = Field(
None, None,

View File

@ -33,7 +33,7 @@ class FilterConfig(FrigateBaseModel):
) )
threshold: float = Field( threshold: float = Field(
default=0.7, default=0.7,
title="Avg confidence", title="Confidence threshold",
description="Average detection confidence threshold required for the object to be considered a true positive.", description="Average detection confidence threshold required for the object to be considered a true positive.",
) )
min_score: float = Field( min_score: float = Field(

View File

@ -6,18 +6,13 @@ __all__ = ["CameraUiConfig"]
class CameraUiConfig(FrigateBaseModel): class CameraUiConfig(FrigateBaseModel):
"""Camera UI
Display ordering and dashboard visibility for this camera in the UI.
"""
order: int = Field( order: int = Field(
default=0, default=0,
title="UI order", title="UI order",
description="Numeric order used to sort the camera in the UI; larger numbers appear later.", description="Numeric order used to sort the camera in the UI (default dashboard and lists); larger numbers appear later.",
) )
dashboard: bool = Field( dashboard: bool = Field(
default=True, default=True,
title="Show in dashboard", title="Show in UI",
description="Toggle whether this camera is visible in the main dashboard.", description="Toggle whether this camera is visible everywhere in the Frigate UI. Disabling this will require manually editing the config to view this camera in the UI again.",
) )

View File

@ -329,7 +329,7 @@
"description": "Maximum width/height ratio allowed for the bounding box to qualify." "description": "Maximum width/height ratio allowed for the bounding box to qualify."
}, },
"threshold": { "threshold": {
"label": "Avg confidence", "label": "Confidence threshold",
"description": "Average detection confidence threshold required for the object to be considered a true positive." "description": "Average detection confidence threshold required for the object to be considered a true positive."
}, },
"min_score": { "min_score": {
@ -839,14 +839,14 @@
}, },
"ui": { "ui": {
"label": "Camera UI", "label": "Camera UI",
"description": "Display ordering and dashboard visibility for this camera in the UI.", "description": "Display ordering and visibility for this camera in the UI. Ordering affects the default dashboard. For more granular control, use camera groups.",
"order": { "order": {
"label": "UI order", "label": "UI order",
"description": "Numeric order used to sort the camera in the UI; larger numbers appear later." "description": "Numeric order used to sort the camera in the UI (default dashboard and lists); larger numbers appear later."
}, },
"dashboard": { "dashboard": {
"label": "Show in dashboard", "label": "Show in UI",
"description": "Toggle whether this camera is visible in the main dashboard." "description": "Toggle whether this camera is visible everywhere in the Frigate UI. Disabling this will require manually editing the config to view this camera in the UI again."
} }
}, },
"webui_url": { "webui_url": {
@ -880,7 +880,7 @@
"description": "Maximum width/height ratio allowed for the bounding box to qualify." "description": "Maximum width/height ratio allowed for the bounding box to qualify."
}, },
"threshold": { "threshold": {
"label": "Avg confidence", "label": "Confidence threshold",
"description": "Average detection confidence threshold required for the object to be considered a true positive." "description": "Average detection confidence threshold required for the object to be considered a true positive."
}, },
"min_score": { "min_score": {

View File

@ -716,7 +716,7 @@
"description": "Maximum width/height ratio allowed for the bounding box to qualify." "description": "Maximum width/height ratio allowed for the bounding box to qualify."
}, },
"threshold": { "threshold": {
"label": "Avg confidence", "label": "Confidence threshold",
"description": "Average detection confidence threshold required for the object to be considered a true positive." "description": "Average detection confidence threshold required for the object to be considered a true positive."
}, },
"min_score": { "min_score": {
@ -1360,14 +1360,14 @@
}, },
"camera_ui": { "camera_ui": {
"label": "Camera UI", "label": "Camera UI",
"description": "Display ordering and dashboard visibility for this camera in the UI.", "description": "Display ordering and visibility for this camera in the UI. Ordering affects the default dashboard. For more granular control, use camera groups.",
"order": { "order": {
"label": "UI order", "label": "UI order",
"description": "Numeric order used to sort the camera in the UI; larger numbers appear later." "description": "Numeric order used to sort the camera in the UI (default dashboard and lists); larger numbers appear later."
}, },
"dashboard": { "dashboard": {
"label": "Show in dashboard", "label": "Show in UI",
"description": "Toggle whether this camera is visible in the main dashboard." "description": "Toggle whether this camera is visible everywhere in the Frigate UI. Disabling this will require manually editing the config to view this camera in the UI again."
} }
}, },
"onvif": { "onvif": {