Commit Graph
100 Commits
Author SHA1 Message Date
Dermot Duffy ea9d3b4809 Separate timeout_seconds from refresh_seconds . 2022-01-23 21:01:55 -08:00
Dermot Duffy 1f178fedc2 Merge pull request #279 from dermotduffy/cycle-cameras-on-update
Add support for cycling the default view through available cameras
2022-01-23 12:46:50 -08:00
Dermot Duffy 5d3ca99cff Add support for cycling through cameras. 2022-01-23 12:37:13 -08:00
Dermot Duffy 511bb5382f Merge pull request #277 from dermotduffy/height-plugin
Fix adaptive height handling corner case for Android companion app
2022-01-23 11:29:45 -08:00
Dermot Duffy fbb83051c7 Refactor adaptive height handler. 2022-01-23 11:26:09 -08:00
Dermot Duffy 311c81821e Merge pull request #276 from dermotduffy/null-action
Add support for the 'none' action
2022-01-22 20:05:07 -08:00
Dermot Duffy 2c7feadae5 Add support for the 'none' action. 2022-01-22 20:02:38 -08:00
Dermot Duffy 78e817820e Merge pull request #274 from dermotduffy/pause-clips
Support autoplay & autopause for live views and event viewer
2022-01-22 19:41:06 -08:00
Dermot Duffy 20ea8054a7 Don't use autoplay logic for snapshots. 2022-01-22 19:38:57 -08:00
Dermot Duffy 34448549b6 Make autoplay/pause work correctly with lazyloading. 2022-01-22 18:23:30 -08:00
Dermot Duffy 05bcbbb16b Rework autoplay/pause into a plugin, apply to viewer & live. 2022-01-21 22:44:30 -08:00
Dermot Duffy ea1936a1b5 Merge pull request #272 from dermotduffy/pause-clips
Pause previous clip when the user moves to the next one
2022-01-20 20:48:35 -08:00
Dermot Duffy 77a8127848 Pause clips on moving off a slide in the viewer. 2022-01-20 20:42:57 -08:00
Dermot Duffy cbe9ee621a Merge pull request #271 from dermotduffy/elements-hidden
Render picture elements on top of the camera carousel
2022-01-20 19:20:46 -08:00
Dermot Duffy 771387963f Render elements on top of the carousel. 2022-01-20 19:14:48 -08:00
Dermot Duffy 9998a5c51b Merge pull request #266 from dermotduffy/view-timeout
Rename view.timeout to view.timeout_seconds (and support numbers only).
2022-01-19 21:25:37 -08:00
Dermot Duffy d4a044b39e Fixed missed variables. 2022-01-19 21:22:59 -08:00
Dermot Duffy 656bd5439e Rename view.timeout to view.timeout_seconds . 2022-01-19 21:16:08 -08:00
Dermot Duffy 6688836aa7 Merge pull request #265 from dermotduffy/image-refresh-loop
Add auto-refreshing to the image view (separate from the main card updates)
2022-01-19 19:33:05 -08:00
Dermot Duffy 317a262f2b Add a refresh loop for the image view itself. 2022-01-19 19:27:23 -08:00
Dermot Duffy aa0ee88970 Merge pull request #263 from dermotduffy/gallery-thumbnail-size
Allow gallery snapshot/clip column count to be configured
2022-01-19 16:43:26 -08:00
Dermot Duffy 011dc392e8 Add a max of 10 columns. 2022-01-18 22:00:31 -08:00
Dermot Duffy 0e1c5cf5cb Mention minimum value in README. 2022-01-18 21:55:53 -08:00
Dermot Duffy 317c5a0b89 Allow minimum gallery columns to be configured. 2022-01-18 21:50:10 -08:00
Dermot Duffy 585a8ebb6a Merge pull request #261 from dermotduffy/jsmpeg-loading-improvements
Improve JSMPEG loading experience
2022-01-17 20:31:44 -08:00
Dermot Duffy aeac0004ea Render the JSMPEG spinner until the last possible moment. 2022-01-17 20:27:26 -08:00
Dermot Duffy 1a1a813bf6 Merge pull request #260 from dermotduffy/static-image-refresh
Avoid caching of static images to ensure they are refreshed
2022-01-17 17:08:43 -08:00
Dermot Duffy c891fca7aa Add README example. 2022-01-17 17:02:02 -08:00
Dermot Duffy 49d299e8f3 Ensure static images refresh. 2022-01-17 16:56:51 -08:00
Dermot Duffy 7beb1ff798 Merge pull request #259 from dermotduffy/troubleshooting-updates
Add new troubleshooting entries for Firefox carousel & 'Offset is out of bounds'
2022-01-17 15:46:17 -08:00
Dermot Duffy 58cbbf03f4 Add new troubleshooting entries. 2022-01-17 15:43:47 -08:00
Dermot Duffy 1534872d90 Merge pull request #249 from dermotduffy/multiple-cameras-post-submenu
Add multiple camera support
2022-01-17 15:24:10 -08:00
Dermot Duffy 4fc20df56b Improve screenshot and add 2 more examples. 2022-01-17 14:59:57 -08:00
Dermot Duffy 9e131efc6d Indent screenshot headings. 2022-01-17 12:13:06 -08:00
Dermot Duffy b2358b9798 Add new camera carousel screenshots. 2022-01-17 12:11:45 -08:00
Dermot Duffy 937a314cb3 Don't need this extra re-render. 2022-01-17 12:03:07 -08:00
Dermot Duffy 4c34a56ed5 Remove superfluous log line. 2022-01-17 11:05:39 -08:00
Dermot Duffy 1229f25b11 Hide live view in preload mode if there's a message to display. 2022-01-17 11:05:00 -08:00
Dermot Duffy 1c8d427e7e Remove completed TODOs. 2022-01-16 15:55:30 -08:00
Dermot Duffy 0e8b40f648 Viewer fixes to avoid resetting carousel when not necessary. 2022-01-16 15:53:54 -08:00
Dermot Duffy 6fadc862e3 Simplify schema. 2022-01-16 13:11:29 -08:00
Dermot Duffy bdc09c5838 Simplify autoplay functionality.
Prevents all media in an entire carousel from simultaneously autoplaying in
some browsers. Changes the default autoplay value to true, and applies autoplay
configuration to all clips (whether from the gallery of most recent 'clip').
2022-01-15 11:35:10 -08:00
Dermot Duffy 745d0c2e71 Improve title & accessibility label support. 2022-01-15 09:31:03 -08:00
Dermot Duffy 2097402c9d Don't allow view to propagate upwards from a preloaded camera. 2022-01-14 21:31:16 -08:00
Dermot Duffy 0372442f0f Don't render hidden menu buttons rather than relying on CSS. 2022-01-14 21:31:16 -08:00
Dermot Duffy 59b89226bd Move live provider into the camera config. 2022-01-14 21:31:16 -08:00
Dermot Duffy 2277726a22 Add automatic provider detection. 2022-01-14 21:31:16 -08:00
Dermot Duffy 225b272a85 Limit thumbnail size. 2022-01-14 21:31:16 -08:00
Dermot Duffy 73caa5d52a Improve handling of non-Frigate cameras. 2022-01-14 21:31:16 -08:00
Dermot Duffy 64af74ae26 Update README. 2022-01-14 21:31:16 -08:00
Dermot Duffy 48bf3af1b1 Remove logging lines. 2022-01-14 21:31:16 -08:00
Dermot Duffy c075fc574e Fix menu rendering issue for some menu layouts. 2022-01-14 21:31:16 -08:00
Dermot Duffy ba94f31a32 Support selecting menu items 2022-01-14 21:31:16 -08:00
Dermot Duffy 68dffdf69d Fix default configuration. 2022-01-14 21:31:16 -08:00
Dermot Duffy 63995e2e50 Remove completed TODOs. 2022-01-14 21:31:16 -08:00
Dermot Duffy 05bd547645 Add automatic migration from menu condition to menu override. 2022-01-14 21:31:16 -08:00
Dermot Duffy cfcfd07467 Add menu overrides and remove menu conditions. 2022-01-14 21:31:16 -08:00
Dermot Duffy ee9f22f9f7 Move overrides to a single configuration section. 2022-01-14 21:31:16 -08:00
Dermot Duffy 55ca108a9b Use less fancy camera condition matching. 2022-01-14 21:31:16 -08:00
Dermot Duffy a15ea2af45 Remove dset/dlv. Use lodash instead. 2022-01-14 21:31:16 -08:00
Dermot Duffy a9539925ca Fix dynamic height issue in fullscreen. 2022-01-14 21:31:16 -08:00
Dermot Duffy 7d4f32ce73 Support overriding live configuration per camera. 2022-01-14 21:31:16 -08:00
Dermot Duffy 795ef323bb update_entities should change to default view instead of re-rendering the same view. 2022-01-14 21:31:16 -08:00
Dermot Duffy 76b1aaf775 Reinit carousel when preload view is viewed for real. 2022-01-14 21:31:16 -08:00
Dermot Duffy f976f3d210 Refactor media fetching logic out of viewer & gallery. 2022-01-14 21:31:16 -08:00
Dermot Duffy 22f25fcde7 Editor support for live draggable/lazy-loading/control-styles. 2022-01-14 21:31:16 -08:00
Dermot Duffy 6e2786c7b5 Retire the '*-specific' views. 2022-01-14 21:31:16 -08:00
Dermot Duffy faeb4a4a7e Fix bug causing the wrong media load event to be dispatched. 2022-01-14 21:31:16 -08:00
Dermot Duffy fd8cdf21a0 Significant rework in how events are updated from components. 2022-01-14 21:31:16 -08:00
Dermot Duffy ebfdfe333c Update actionHandler options in case they change. 2022-01-14 21:31:16 -08:00
Dermot Duffy 16a1226b19 Prevent unnecessary JSMPEG re-rendering. 2022-01-14 21:31:16 -08:00
Dermot Duffy 16ac4146d7 Allow view change events to trigger re-render. 2022-01-14 21:31:16 -08:00
Dermot Duffy d064b6ea91 Move WebRTC in the editor from live -> cameras. 2022-01-14 21:31:16 -08:00
Dermot Duffy b616d2270f Add WebRTC upgrade functionality. 2022-01-14 21:31:16 -08:00
Dermot Duffy 8305258a36 Types formatting. 2022-01-14 21:31:16 -08:00
Dermot Duffy 7030da4603 Add camera specific webrtc configuration. 2022-01-14 21:31:16 -08:00
Dermot Duffy 9f93a94f4a Add editor support for title & icon. 2022-01-14 21:31:16 -08:00
Dermot Duffy 3bd9ca3d28 Rename url to frigate_url . 2022-01-14 21:31:16 -08:00
Dermot Duffy c472e3e852 Add support for editing id field. 2022-01-14 21:31:16 -08:00
Dermot Duffy 0835a78ce2 Move-up/down buttons should not work on new camera entry. 2022-01-14 21:31:16 -08:00
Dermot Duffy cbd42bf565 Fix rendering issue with very low camera title. 2022-01-14 21:31:16 -08:00
Dermot Duffy bfd954817d Improve camera titles shown in editor. 2022-01-14 21:31:16 -08:00
Dermot Duffy ac877e2dcc Use @change rather than @value-change to keep text focus. 2022-01-14 21:31:16 -08:00
Dermot Duffy 915053261e Fix error condition rendering. 2022-01-14 21:31:16 -08:00
Dermot Duffy c40c63862e Initial editor support. 2022-01-14 21:31:16 -08:00
Dermot Duffy b03c8b4020 Revert "Convert camera configuration to YAML dictionary."
This reverts commit 37458a299d458d5687db35f046669eff26793112.
2022-01-14 21:31:16 -08:00
Dermot Duffy 86b26383d0 Don't trim configs as we now allow empty sections. 2022-01-14 21:31:16 -08:00
Dermot Duffy 85ba8f3a93 Convert camera configuration to YAML dictionary. 2022-01-14 21:31:16 -08:00
Dermot Duffy af3b9092fd Add configuration for new live view. 2022-01-14 21:31:16 -08:00
Dermot Duffy 38cddd0f18 Add tooltip to live camera view. 2022-01-14 21:31:16 -08:00
Dermot Duffy 4a93d02fe9 Add controls for live carousel. 2022-01-14 21:31:16 -08:00
Dermot Duffy c83299a2e6 Implement adaptive height to support live cameras with different dimensions. 2022-01-14 21:31:16 -08:00
Dermot Duffy da3851f790 Add lazy loading live slides. 2022-01-14 21:31:16 -08:00
Dermot Duffy 986add8463 Initial attempt to break media carousel out separately from viewer. 2022-01-14 21:31:16 -08:00
Dermot Duffy 677f0d511b Skeleton live carousel. 2022-01-14 21:31:16 -08:00
Dermot Duffy ca581c5078 Initial skeleton of multiple camera support. 2022-01-14 21:31:16 -08:00
Dermot Duffy 3b31699265 Merge pull request #256 from NickM-27/main
Fix Android clip downloading
2022-01-14 19:44:58 -08:00
Dermot Duffy 31d769e676 Merge pull request #247 from dermotduffy/state-in-submenus
Add support for submenus to reflect HA state
2021-12-19 13:10:02 -08:00
Dermot Duffy 22903edf59 Add support for submenus to reflect HA state. 2021-12-19 13:02:54 -08:00
Dermot Duffy 803669865f Merge pull request #245 from dermotduffy/submenus
Support configurable submenus in the Frigate Card menu
2021-12-17 21:00:31 -08:00