Commit Graph
82 Commits
Author SHA1 Message Date
Dermot Duffy 84b90bcc7e fix: Remove the unnecessary item limit from folder media (#2688)
- Fixed: #2573
2026-08-17 21:49:11 -07:00
Dermot Duffy 80ec92e3b2 refactor: Replace Rollup with Vite (#2656)
This is a high risk change: every byte the card ships is emitted by a
different bundler, minified by a different minifier, and every
stylesheet is compiled by a different sass. The intent is that the
card's behaviour is unchanged.

**Significant development win**: Build time drops from 24s to 1.1s 🎉 

Also adds a test suite ('dist') that runs against the built bundle.
2026-08-04 15:00:13 -07:00
Dermot Duffy 7d66c5f005 chore: Replace ts-prune with knip (#2595)
- Closes: #2593
2026-07-22 13:26:34 -07:00
Dermot Duffy 7dc29865b8 chore: Enforce consistent type imports via @typescript-eslint/consistent-type-imports (#2545) 2026-06-30 17:45:13 -07:00
Dermot Duffy a96dc2e863 chore: Enforce import order via @ianvs/prettier-plugin-sort-imports (#2542) 2026-06-30 17:45:13 -07:00
Dermot Duffy be7e7d79dc feat: Add UI optional UI locking when microphone is hot (#2484) 2026-06-30 17:45:12 -07:00
Dermot Duffy 504b027854 fix: Fix off-by-one thumbnail for folder media (#2364)
- Closes:
https://github.com/dermotduffy/advanced-camera-card/issues/2326
2026-02-21 11:17:07 -08:00
Dermot Duffy 0a67df9a25 refactor: Convert protected methods to private (#2358) 2026-02-19 20:47:59 -08:00
Dermot Duffy f4e905a7fb fix: Improve review media filtering (#2322) 2026-01-24 16:22:12 -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 c077f8bf70 feat: Add folder title matching and parsing (#2067)
This is a breaking change for users of the [experimental 'folder'
functionality](https://card.camera/#/configuration/folders).

Related: #1748
2025-05-27 07:50:51 -07:00
Dermot Duffy 14cf80c7b4 fix: Download icon should show on thumbnails (#2059)
- Closes #2056
2025-05-22 21:31:45 -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 a79ffa6edc refactor: Retire the use of unmaintained custom-card-helpers (#1956)
- Closes #1295
2025-03-09 16:02:33 -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 21b468734c fix: Fix thumbnail carousel scroll position (#1606)
* fix: Fix thumbnail carousel scroll position

* Small formatting fix
2024-10-02 20:28:13 -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 06f2151bab Allow per-camera trigger borders. 2024-01-23 20:56:30 -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 88563b59ac Fix thumbnail fade issue. 2023-09-05 20:58:55 -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 b663e0b731 Initial support for grid for live and media viewer. 2023-08-08 22:26:25 -07:00
Dermot Duffy e1f146b560 Add download control to thumbnails. 2023-03-12 20:28:46 -07:00
Dermot Duffy c4db626ee1 Don't need to use clickAllowed anymore. 2023-02-18 14:36:39 -08:00
Dermot Duffy 06b4cc914c Refactor camera initialization into the camera engines. 2023-02-12 16:10:22 -08:00
Dermot Duffy 9cd60172a6 Don't show the timeline if no cameras support it. 2023-02-10 19:32:34 -08:00
Dermot Duffy 730eb42983 Rename camera directory to camera-manager. 2023-01-29 19:02:24 -08:00
Dermot Duffy 6b2036676c Move seeking support into the engine. 2023-01-24 19:36:54 -08:00
Dermot Duffy 980ba1fc6f Break apart view.ts into multiple files. 2023-01-24 19:36:54 -08:00
Dermot Duffy 39b44863ce Rename DataManager to CameraManager. 2023-01-24 19:36:54 -08:00
Dermot Duffy 093925cb40 Initial code for major engine refactor. 2023-01-24 19:36:54 -08:00
Dermot Duffy a5dfe81eab Fixes for record button. 2022-10-02 18:14:37 -07:00
Dermot Duffy b421d188fc Various small fixes and documentation updates. 2022-09-29 21:13:06 -07:00
Dermot Duffy ac35a5ff23 Minor codereview fixes. 2022-09-25 18:14:36 -07:00
Dermot Duffy 56465e4f92 Promote thumbnail carousel selected to a property. 2022-09-25 17:50:40 -07:00
Dermot Duffy eb1b44eb27 Initial mini-timeline commit. 2022-09-22 17:44:43 -07:00
Dermot Duffy 5fbbf127ab Add support for fetching thumnails separately 2022-07-31 10:21:43 -07:00
Dermot Duffy 773b5cf318 Performance improvements. 2022-07-23 14:59:46 -07:00
Dermot Duffy 6010d7b1e1 Improve reinit/resize handling. 2022-07-23 10:54:07 -07:00
Dermot Duffy f668411776 Fix opacity on the thumbnail carousel. 2022-07-09 23:24:24 -07:00
Dermot Duffy dedecc24c6 Refactor carousel into separate components. 2022-07-09 22:43:43 -07:00
Dermot Duffy 56362c3fb9 Allow finer grained selection of thumbnail controls. 2022-07-03 09:28:56 -07:00
Dermot Duffy 0f04e9383a Add event starring from the card. 2022-06-28 20:19:32 -07:00
Dermot Duffy ffa31c05ed Clean lit-plugin warnings 2022-06-19 07:30:08 +00:00
Dermot Duffy 994973dded Don't use wheel plugin when there's only one media item. 2022-06-05 16:10:43 -07:00
Dermot Duffy 42c8251c20 Refactor thumbnail sizing. 2022-06-04 11:04:38 -07:00
Dermot Duffy 441162f052 Refactor to avoid use of "all-static" classes. 2022-05-12 21:06:27 -07:00