Commit Graph
69 Commits
Author SHA1 Message Date
Dermot Duffy 2acec49b29 refactor: Clone context when a view is cloned (#2493) 2026-06-30 17:45:13 -07:00
Dermot Duffy 47bcce93d3 feat: Add hardened error handling and retries (#2451)
- Closes #1830
 - Closes #2099
2026-06-30 17:45:12 -07:00
Dermot Duffy 93f1f08e51 feat: Make cameras optional (#2343) 2026-02-13 20:21:05 -08:00
Dermot Duffy 21f9469784 fix: Expose gallery and media views as media type agnostic (#2335) 2026-02-08 08:04:11 -08:00
Dermot Duffy fc32727860 feat: Add support for Frigate reviews / detections [initial PR] (#2315)
- Add support for Frigate reviews / detections.
 - Add support for GenAI metadata.
- Significant internal refactor to more flexible "UnifiedQuery" to allow
mixing cameras with simple metadata and review metadata (e.g. a timeline
view of a Frigate camera with reviews, and a Reolink camera with simple
metadata).
 - Add support for folder media as camera media.

There are a few more PRs to commit prior to this going live, but
commiting this for now due to the scale of the change.

BREAKING CHANGE: `media_type` and `events_type` are retired under
`live`, `viewer` and `timeline` configuration sections, instead media
type is associated (once) with the camera under `media`.
2026-01-19 13:32:50 -08:00
Dermot Duffy 956a2e523c feat: Add folder view to view folder media (#2077)
- Closes: #2068

Note: Renames existing `folder` view to `folders` [experimental
functionality]
2025-05-31 17:13:39 -07:00
Dermot Duffy c6a4c8aea2 feat: Implement basic general folder support (#2051)
- Related: #1748
2025-05-21 19:59:21 -07:00
Dermot Duffy d6225fefda refactor: Break apart monolithic configuration schema (#1977)
[skip ci]
2025-03-22 15:06:11 -07:00
Dermot Duffy cc376a8be1 feat: Rename the card to advanced-camera-card (#1873)
Whilst the Frigate support in this card is the best among camera
engines, the name incorrectly suggests that Frigate is a requirement.
Instead, to broaden the appeal, change to more camera agnostic name.
This does not suggest any change in priority, role or support for
Frigate.

This change is likely to be bug prone, due to the size of the rename --
the code contains 1500+ references to "Frigate" most of which make sense
to rename, some which do not, all of which needed human assessment.

- Closes #1298


BREAKING CHANGE: References to `frigate-card` in all kinds of
configuration need to be updated to `advanced-camera-card`. An automated
config upgrade should take care of the majority of usecases (click `Edit
-> Upgrade -> Save`), though may not be perfect.
2025-02-06 19:32:32 -08:00
Dermot Duffy 9ac6134446 perf: Change media fetches to be asynchronous to view render (#1702)
This is a fairly non-trivial change in terms of consequence, so a greater than average chance something breaks. This is necessary since some cameras (e.g. Reolink) are materially slower to fetch media, and this change substantially improves card responsiveness.
2024-12-01 20:57:48 -08:00
Dermot Duffy ef7b4b0ddf Formatting pass. 2024-07-30 02:23:51 -07:00
Dermot Duffy d5c4e56c45 Refactor views to support dynamic updates. 2024-07-26 19:15:38 -07:00
Felipe Santos fccb4c9afd Bump prettier to v3 and format all files 2024-06-10 00:29:50 -03:00
Dermot Duffy 7ab545738d Add initial keyboard shortcut support. 2024-06-05 21:44:17 -07:00
Dermot Duffy 7917e5c537 Add support for pre-defined zoom/pan settings. 2024-04-27 14:55:38 -07:00
Dermot Duffy f67620397f Set timeline to now not to most recent event. 2024-04-07 20:21:09 -07:00
Dermot Duffy b99628d5ee Fix minor seeking issue in unreleased code. 2024-01-27 17:39:47 -08:00
Dermot Duffy e12912fa85 Add out-of-the-box Frigate PTZ support. 2023-10-29 14:10:41 -07:00
Dermot Duffy 9b72dd8089 Refactor main types.ts . 2023-10-02 22:35:58 -07:00
Dermot Duffy bfdbe70d6c Refactor card.ts substantially and test. 2023-10-02 16:30:05 -07:00
Dermot Duffy e830db1a77 Complete carousel refactor.
Reduces one layer of DOM nesting for simplication, uses the latest Embla
version, unittests for everything.
2023-09-04 16:25:32 -07:00
Dermot Duffy 2df22b96ea Fix various small issues. 2023-08-20 11:00:57 -07:00
Dermot Duffy cc77caa96d Reset the query on grid change in a smarter way. 2023-08-11 19:49:42 -07:00
Dermot Duffy b663e0b731 Initial support for grid for live and media viewer. 2023-08-08 22:26:25 -07:00
Dermot Duffy 707bbb9f68 Maintain substream selections during view cycling. 2023-05-06 14:47:48 -07:00
Dermot Duffy 974d4496ed Add view unittests. 2023-04-15 14:17:38 -07:00
Dermot Duffy 69b34d7ea1 Fix clicking on timeline recordings. 2023-04-15 12:19:23 -07:00
Dermot Duffy 7c0da1b267 Fix bug that caused gallery to render wrong media type. 2023-03-18 14:39:57 -07:00
Dermot Duffy 812c3e1018 Initial version of substream support. 2023-02-24 20:41:11 -08:00
Dermot Duffy 06b4cc914c Refactor camera initialization into the camera engines. 2023-02-12 16:10:22 -08:00
Dermot Duffy 3d799d6fa6 Fix minor timeline bug for recordings. 2023-02-06 20:35:56 -08:00
Dermot Duffy c86a091546 Implement media filtering. 2023-02-05 20:27:24 -08:00
Dermot Duffy c898f038bd Remove old TODO. 2023-01-30 21:24:59 -08:00
Dermot Duffy a9074bd44e Results of running ts-prune. 2023-01-30 21:11:21 -08:00
Dermot Duffy f3149d2ff3 Mark TODO as fixed. 2023-01-30 20:37:40 -08:00
Dermot Duffy f9f2a494c6 Avoid dispatching range changed events if there's nothing to be gained. 2023-01-30 20:21:12 -08:00
Dermot Duffy 93e8a8e71b Avoid resetting timeline when cameraIDs change. 2023-01-30 19:53:29 -08:00
Dermot Duffy a5921e9f91 Import cleanups to avoid circular imports. 2023-01-29 20:44:08 -08:00
Dermot Duffy d0ded29741 Minor fixes. 2023-01-29 20:06:18 -08:00
Dermot Duffy 767d4ee7a0 Handle timeline item click corner case. 2023-01-29 19:28:34 -08:00
Dermot Duffy eed436d77f Get camera name the correct way. 2023-01-29 16:07:56 -08:00
Dermot Duffy 49e5cc5c5e Make debug logging controllable by config. 2023-01-29 15:56:47 -08:00
Dermot Duffy 0caf64ba82 Make filter mode configurable. 2023-01-29 14:26:49 -08:00
Dermot Duffy 17c4a5a85f Use standard spinner for gallery loading. 2023-01-29 13:54:39 -08:00
Dermot Duffy 95ced8f177 Fix event details default. 2023-01-29 13:40:29 -08:00
Dermot Duffy 32edaee192 Handle media metadata exceptions. 2023-01-29 11:57:07 -08:00
Dermot Duffy 5fb2a9d3ed Include metadata from recordings. 2023-01-29 11:26:48 -08:00
Dermot Duffy 1ad600c231 Improve media selection logic. 2023-01-29 08:02:36 -08:00
Dermot Duffy 67b134308a Fetch metadata from engine. 2023-01-26 21:55:07 -08:00
Dermot Duffy bd19ed7a74 Add initial media filtering for the gallery. 2023-01-24 21:55:38 -08:00