FEAT: Ability to reorder & ability to hide Cameras in UI (#2981)

* Add options for reordering and hiding cameras selectively

* Add newline at end of camera file

* Make each camera for birdseye togglable as well

* Update names to be less ambiguous

* Update defaults

* Include sidebar change

* Remove birdseye toggle (will be added in separate PR)

* Remove birdseye toggle (will be added in separate PR)

* Remove birdseye toggle (will be added in separate PR)

* Update sidebar to only sort cameras once

* Simplify sorting logic
This commit is contained in:
Nicolas Mowen
2022-04-15 06:23:02 -06:00
committed by GitHub
parent 41f58c7692
commit a5016afdd4
5 changed files with 85 additions and 24 deletions

View File

@@ -20,6 +20,7 @@ export const handlers = [
detect: { width: 1280, height: 720 },
snapshots: {},
live: { height: 720 },
ui: { dashboard: true, order: 0 },
},
side: {
name: 'side',
@@ -28,6 +29,7 @@ export const handlers = [
detect: { width: 1280, height: 720 },
snapshots: {},
live: { height: 720 },
ui: { dashboard: true, order: 1 },
},
},
})