Commit Graph

438 Commits

Author SHA1 Message Date
Nick Mowen
b1d4ea9fa8 Rewrite desktop timeline to use separate dynamic video player component 2024-01-25 15:43:54 -07:00
Nick Mowen
11133cb05a Show mini timeline bar for non selected items 2024-01-25 15:43:45 -07:00
Nick Mowen
fc259133ac Update sub labels for previous timeline items 2024-01-25 15:43:45 -07:00
Nick Mowen
58d66c5353 Use player time to convert to timeline time 2024-01-25 15:43:45 -07:00
Nick Mowen
e19ff12087 Fix player not switching views correctly 2024-01-25 15:43:45 -07:00
Nick Mowen
264f6a0ed6 Fix audio activity listener 2024-01-25 15:43:45 -07:00
Nick Mowen
b7231ca0a0 Incrase timing for grouping timline items 2024-01-25 15:43:45 -07:00
Nick Mowen
066fdc469c Fix available streaming modes 2024-01-25 15:43:37 -07:00
Nick Mowen
2ac3173b4a Use poster image for preview on video player instead of using separate image view 2024-01-25 15:43:27 -07:00
Nick Mowen
d09e142b22 Expand timelne class type 2024-01-25 15:43:27 -07:00
Nick Mowen
0a873a1686 Scroll initially selected timeline in to view 2024-01-25 15:43:20 -07:00
Nick Mowen
2d3ff15cc1 Include current hour and fix scrubbing bugginess 2024-01-25 15:43:16 -07:00
Nick Mowen
f02ef78d03 Reduce grouped up image refreshes 2024-01-25 15:43:10 -07:00
Nick Mowen
8b95052768 Protect against hour with no cards and ensure data is consistent 2024-01-25 15:43:06 -07:00
Nick Mowen
211516236b Ensure viewport is always full screen 2024-01-04 07:13:37 -07:00
Nicolas Mowen
60f65bd7ed
Add graph showing motion and object activity to history timeline desktop view (#9184)
* Add timeline graph component

* Add more custom colors and improve graph

* Add api and data

* Fix data sorting

* Add graph to timeline

* Only show timeline for selected hour

* Make data full range
2024-01-03 17:40:14 -06:00
Nicolas Mowen
4d0e1196ff
UI Fixes (#9177)
* Fix mobile crash

* Reduce tap timeout

* Fix selection

* Try to fix safari empty frame

* Fix config editor
2024-01-03 17:40:02 -06:00
Josh Hawkins
2987d5c0d8
Reactify MSE player component (#9163)
* make mse a functional component with react hooks

* iOS 17 fixes

* birdseye mse

* remove debug

* fix test
2024-01-03 17:38:52 -06:00
Nicolas Mowen
9aee0f625b
Improve desktop timeline view (#9150)
* Break apart mobile and desktop timeline views

* Set aspect ratio for player correctly

* more modest default width

* Add timeline item card

* Get video player to fit

* get layout going

* More work on youtube view

* Get video scaling working

* Better dialog sizes

* Show all timelines for day

* Add full day of timelines

* Improve hooks

* Fix previews

* Separate mobile and desktop views and don't rerender

* cleanup

* Optimizations and improvements

* make preview dates more efficient

* Remove seekbar and use timeline as seekbar

* Improve background and scrubbing
2024-01-01 09:37:07 -06:00
Nicolas Mowen
944afd7c3a Refactor history viewer to show player / timeline for full hour and use preview while scrubbing timeline (#9051)
* Move history card view to separate view and create timeline view

* Get custom time scrubber working

* Add back nav

* Show timeline bounding boxes

* Implement seeking limiter

* Use browser history to allow back button to close timeline viewer

* Fix mobile timeline and add more icons for detections

* Play when item is initially visible
2023-12-31 07:50:09 -06:00
Nicolas Mowen
451ce17578 Add logs to new webui (#9118)
* Add logs to new webui

* Automatically refresh logs while viewing

* Clean up hooks
2023-12-31 07:50:09 -06:00
Nicolas Mowen
6c3f452bac Add mse live view (#9117) 2023-12-31 07:50:09 -06:00
Nicolas Mowen
f36ed5c079 Update dashboard cameras dynamically (#9100)
* Automatically update camera image when detecting objects and show activity indicators

* Update ws typing

* Cleanup type
2023-12-31 07:50:09 -06:00
Nicolas Mowen
21e3002993 Add support for filtering history page and add support for creating timeline entries for audio / custom events (#9034)
* Add filter popover

* Add api filter hook and use UI with filtering

* Get history filtering working for cameras and labels

* Allow filtering on detail level

* Save timeline entries for api events

* reset

* fix width
2023-12-31 07:50:09 -06:00
Nicolas Mowen
7e689efd62 Allow deletion of history items (#9030)
* Allow deletion of history items

* Remove type
2023-12-31 07:50:09 -06:00
Josh Hawkins
a15303cfe8 Scrubber UI component (#9036)
* add scrubber and ui playground when running dev

* fix mobile dropdown menu width

* timeline scrubber and revamp for all event handlers
2023-12-31 07:50:09 -06:00
Nicolas Mowen
c004dbd062 Add jsmpeg support to new webUI and make birdseye default for live page (#8995)
* Add jsmpeg and make birdseye default for live view

* Fix jsmpeg

* Fix
2023-12-31 07:50:09 -06:00
Nicolas Mowen
a9a64036a2 Webui cleanups (#8991)
* Fix mobile event timeago

* Reduce preview playback rate for safari browser

* Fix dashboard buttons

* Update recent events correctly

* Fix opening page on icon toggle

* Fix video player remote playback check

* fix history image

* Add sticky headers to history page

* Fix iOS empty frame

* reduce duplicate items and improve time format

* Organize data more effictively and ensure data is not overwritten

* Use icon to indicate preview
2023-12-31 07:50:09 -06:00
Blake Blackshear
363db0596b Use new UI (#8983)
* fixup build

* swap frontends
2023-12-31 07:50:09 -06:00
Nicolas Mowen
6ca0876fc3 Add external sub label as timeline entry (#8855)
* Add external sub label to timeline

* Include icon

* Update timeline.py

Co-authored-by: Sergey Krashevich <svk@svk.su>

* Formatting

---------

Co-authored-by: Sergey Krashevich <svk@svk.su>
2023-12-31 07:50:08 -06:00
Josh Hawkins
a4f5ad3a94
Proxy websockets in devcontainers (#8886)
* proxy websockets

* remove whitespace
2023-12-08 01:08:35 +00:00
Blake Blackshear
a47068922f
Update deps (#8872)
* update web deps

* update docs deps

* update gh actions
2023-12-07 06:09:20 -06:00
Nicolas Mowen
ebcf25741b
Fix timeline overlay for in progress events (#8852) 2023-12-04 13:43:23 -07:00
Blake Blackshear
f00ced5a33
Show bbox on in_progress events (#8785)
* fix default value in docs

* use default snapshot config for in progress
2023-11-29 23:37:53 +00:00
Blake Blackshear
a490c375f4
Limit exposed go2rtc api to bare minimum (#8762)
* only permit GET requests to go2rtc

* bare minimum go2rtc passthrough

* support frigate card

* expose go2rtc streams data only
2023-11-27 18:25:47 -06:00
Nicolas Mowen
15644a2b0c
Fix dark color scheme for exports (#8770) 2023-11-27 18:13:41 -06:00
Blake Blackshear
fc186e4d5f
update web deps (#8663) 2023-11-19 05:24:52 -06:00
Nicolas Mowen
563fdec211
Fix safari timezone (#8574)
* Fix safari bad time format

* Fix processing
2023-11-10 18:12:48 -06:00
Nicolas Mowen
1b57f8c7e2
Show error when clicking on image before mask (#8547) 2023-11-09 06:42:19 -06:00
Josh Hawkins
e89db13282
fix restart from webui (#8541) 2023-11-08 09:37:54 -07:00
tpjanssen
08777100b5
Add /vod and /exports to Vite proxy config (#8490) 2023-11-06 06:44:53 -06:00
Blake Blackshear
aefecad4c0
Update deps (#8426)
* update web deps

* other deps
2023-11-02 13:36:49 +00:00
tpjanssen
8b6b83bd62
Filtering on Frigate+ submits in frontend (#8344)
* Initial draft for filtering Frigate+ submits in frontend

* Hide filter when Frigate+ is not enabled

* Update http.py

* Revert "Update http.py"

This reverts commit fa292682d6.
2023-11-01 23:19:46 +00:00
tpjanssen
8a9b26df4e
Visit camera directly from system page (#8405)
* Visit camera directly from system page

* Processed all feedback

* Changed button caption
2023-11-01 07:08:59 -06:00
Blake Blackshear
159fb51518
implement nginx caching (#8333)
* implement nginx caching

* bypass cache from frigate frontend, reduce to 5s

* set cache time to 2s

* cache 200s for 5s

* exclude vod endpoints from cache
2023-10-29 06:47:24 -05:00
tpjanssen
859ab0e7fa
Show event duration in landscape mode (#8301)
* Show event duration in landscape mode

* Update Events.jsx
2023-10-26 06:20:28 -05:00
Nicolas Mowen
cff4b9651f
Fix long webrtc connections failing (#8273)
* Fix webrtc timing out

* Only close pc
2023-10-22 13:34:56 -05:00
Nicolas Mowen
29f82add72
Fix player height (#8270) 2023-10-22 09:40:32 -05:00
Blake Blackshear
e13a176820
Update deps (#8261)
* update web deps

* update python deps

* actions deps
2023-10-21 10:53:21 -05:00
Nicolas Mowen
b4d5a3ef14
Fix dangling webrtc connections (#8251)
* fix dangling webrtc connections

* Make more efficient

* Close pc as well
2023-10-20 19:20:38 -04:00