Embeddings UI updates (#14378)

* Handle Frigate+ submitted case

* Add search settings and rename general to ui settings

* Add platform aware sheet component

* use two columns on mobile view

* Add cameras page to more filters

* clean up search settings view

* Add time range to side filter

* better match with ui settings

* fix icon size

* use two columns on mobile view

* clean up search settings view

* Add zones and saving logic

* Add all filters to side panel

* better match with ui settings

* fix icon size

* Fix mobile fitler page

* Fix embeddings access

* Cleanup

* Fix scroll

* fix double scrollbars and add separators on mobile too

* two columns on mobile

* italics for emphasis

---------

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
Nicolas Mowen
2024-10-15 18:25:59 -06:00
committed by GitHub
parent b75efcbca2
commit 3f1ab66899
11 changed files with 919 additions and 798 deletions

View File

@@ -27,6 +27,8 @@ export const ATTRIBUTE_LABELS = [
"ups",
];
export type SearchModelSize = "small" | "large";
export interface CameraConfig {
audio: {
enabled: boolean;
@@ -418,7 +420,8 @@ export interface FrigateConfig {
semantic_search: {
enabled: boolean;
model_size: string;
reindex: boolean;
model_size: SearchModelSize;
};
snapshots: {