Commit Graph
631 Commits
Author SHA1 Message Date
Dermot Duffy 0b681402db feat: Add new option to always error on entity unavailable (#1770) 2024-12-16 21:05:17 -08:00
Dermot Duffy dab9ff3045 fix: Substantially reduce cases where errors block whole card (#1764) 2024-12-15 20:39:18 -08:00
Dermot Duffy 67f03fb370 fix: Fix builtin controls showing up when they should not (#1759) 2024-12-14 16:53:58 -08:00
Dermot Duffy cebd4b215b fix: Render media correctly in rtl languages (#1757) 2024-12-14 14:58:22 -08:00
Dermot Duffy dc5de02e02 refactor: Rename classes internally to better support rtl languages (#1756) 2024-12-14 12:17:17 -08:00
Dermot Duffy 649b0280ee feat: Increase max thumbnail size to 300px (#1703)
* feat: Remove max thumbnail size

* Remove old comment.

* Set max to 350px

* Decrease max size to 300px
2024-12-08 13:03:47 -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 dada65e008 feat: Add experimental reolink media support (#1694)
* feat: Add experimental rich reolink support.

* Formatting fix
2024-11-25 20:19:12 -08:00
Dermot Duffy e898b73d63 fix: Always start webrtc-card muted (#1682) 2024-11-09 16:40:25 -08:00
Dermot Duffy 7e3266fecc refactor: Split viewer.ts into multiple files (#1645) 2024-10-13 20:27:47 -07:00
Dermot Duffy f473cae6b5 refactor: Split live.ts into multiple files (#1644) 2024-10-13 20:00:38 -07:00
Dermot Duffy 7895de96d2 fix: Rationalize custom icons to avoid duplication (#1639) 2024-10-13 16:24:51 -07:00
Dermot Duffy 9ca56d061f fix: Improve media background image (#1635)
* fix: Improve media background image

* Simplify loading spinner.

This is slightly less fancy, but removes code. I'm guessing no-one will notice or care enough to raise it! (BMFW).
2024-10-12 14:31:26 -07:00
Dermot Duffy b3602c3809 fix: Correctly determine whether to show PTZ controls (#1631) 2024-10-09 20:38:27 -07:00
Dermot Duffy 057d07a179 fix: Always play the media target after a HA tab change (#1627)
* fix: Always play the media target after a HA tab change

* Formatting
2024-10-08 20:29:43 -07:00
Dermot Duffy 78e4eedf85 fix: Zoom/pan support for WebRTC Card (#1624) 2024-10-07 07:31:56 -07:00
Dermot Duffy 323d1ff7c4 fix: Treat a un/selection of grid items as selected for auto media actions (#1623)
This is a slight behavioral change vs earlier v6 betas, but makes the media actions less surprising. This also allows for automated unmuting in a grid when a camera is selected, without having _every_ camera automatically unmuted.
2024-10-06 16:32:16 -07:00
Dermot Duffy ba90e1dabc fix: Update go2rtc client with the latest changes (#1620) 2024-10-05 16:38:24 -07:00
Dermot Duffy abcba34a3f fix: Only show PTZ controls for selected camera in grid mode (#1619) 2024-10-05 14:17:34 -07: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 9393722fa6 refactor: Cache device information centrally (#1598) 2024-09-29 17:17:40 -07:00
Dermot Duffy 02fb6e1d4c refactor: Refactor entity register manager (#1597) 2024-09-29 15:55:28 -07:00
Dermot Duffy 766f3422a9 fix: Unparseable config when using the low-performance profile (#1570)
* The `low-performance` profile itself had parse errors: fix them!
* Do not silently swallow override parse errors, they are always a user issue
* Minor error message rendering improvements to show multiple pieces of context
2024-09-22 15:08:37 -07:00
Dermot Duffy 9efa873cba fix: Menu linear gradient is the wrong direction on left/right menus (#1553)
* fix: Menu linear gradient is the wrong direction on left/right menus

Also changes the gallery scrolling logic to center the selected element vs top aligned.

* Formatting fix
2024-09-21 15:00:42 -07:00
Dermot Duffy 5481c5956c feat: Show diagnostics in yaml instead of json (#1550)
* feat: Show diagnostics in YAML instead of JSON

* Adding missing semicolon
2024-09-21 12:54:38 -07:00
Dermot Duffy b46ea36265 feat: Add loading spinner on card initialization (#1549)
* feat: Add loading spinner on card initialization

* Minor doc fix.
2024-09-20 19:39:17 -07:00
Dermot Duffy a0283c35c1 Add support for perform-action calls. 2024-09-09 22:05:49 -07:00
Dermot Duffy 041656317a Add support for arbitrary image entities 2024-09-08 16:48:26 -07:00
Dermot Duffy e0dda84295 Small formatting fix. 2024-09-07 15:07:57 -07:00
Dermot Duffy 1a0e219c61 Move automatic media actions out of carousels 2024-09-07 15:04:23 -07:00
Dermot Duffy 8344734e2b Remove optimization that caused scrubbing misbehavior 2024-08-26 20:55:02 -07:00
Dermot Duffy dc3ff62603 Formatting fixes. 2024-08-17 11:48:41 -07:00
Dermot Duffy 869c2f9049 Minor pointer fixes. 2024-08-17 11:40:33 -07:00
Dermot Duffy e503f0e429 Initial version of status bar. 2024-08-16 20:08:21 -07: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
Felipe Santos 289618d40a Update typescript to v5, as well as eslint and typescript-eslint 2024-06-06 00:20:03 -03:00
Felipe Santos 1a36ce0894 Update date-fns and date-fns-tz to v3 2024-06-05 22:37:54 -03:00
Dermot Duffy 7917e5c537 Add support for pre-defined zoom/pan settings. 2024-04-27 14:55:38 -07:00
Dermot Duffy b4ed40e6c7 Fix controls and seeking bugs. 2024-04-14 19:47:44 -07:00
Dermot Duffy 323925101d Add support for more advanced forms of overriding 2024-04-13 18:23:11 -07:00
Dermot Duffy d191e9e608 Fix typo. 2024-04-07 20:24:12 -07:00
Dermot Duffy f67620397f Set timeline to now not to most recent event. 2024-04-07 20:21:09 -07:00
Dermot Duffy bde4e6cd38 Add support for configuration profiles. 2024-03-28 21:41:48 -07:00
Dermot Duffy 95c44adcf1 Allow camera capabilities to be configured. 2024-03-26 21:00:15 -07:00
Dermot Duffy 463f4bf32a Add ability to set timeline pan mode via config. 2024-03-10 20:40:18 -07:00
Dermot Duffy b08a8f55c3 Fix minor type errors. 2024-03-07 06:46:02 -08:00
Dermot Duffy 72eae2bf88 Update dimensions and media layout options to be per camera. 2024-03-06 23:08:32 -08:00