Commit Graph
100 Commits
Author SHA1 Message Date
Dermot Duffy 7fb710d45d feat: Add support for templates in actions (#1891)
- Closes #1878
2025-02-14 07:23:19 -08:00
Dermot Duffy 8d3cf07b43 refactor: Significantly refactor how conditions work internally (#1886)
- Much improved API cleanliness and testability to allow further
extensibility in future
 - Simplified code in `live` view

This technically contains a small change in how overrides work in the
`live` view. Since that change is _closer_ to the documentation, and
since this is likely to be rarely used, this is not considered a
breaking change. Previously, overrides for a given live camera would
always render _as if_ that camera was selected, vs was actually
selected. Now, overrides will only apply in the live view when the
camera is _actually_ selected. If this is an issue for you in practice,
lets discuss.
2025-02-11 20:07:55 -08:00
Dermot Duffy a92074bc8d docs: Add troubleshooting entry for unknown frigate instance (#1881)
- Related to #1879
2025-02-08 12:14:23 -08:00
Dermot Duffy 42892c7ca4 docs: Fix URL querystring examples (#1877) 2025-02-07 19:48:47 -08: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 DuffyandIlya Rakhlin 43947b49dc fix: Downloads for iOS (#1869)
- Closes #1863

---------

Co-authored-by: Ilya Rakhlin <i.rakhlin@gmail.com>
2025-02-01 16:08:32 -08:00
Dermot Duffy a6ecb76efe fix: Add go2rtc.url to editor (#1867)
* Closes #1866
2025-02-01 13:50:27 -08:00
Dermot Duffy f123bb91dd feat: Add support for 12-hour clock formatting on timelines (#1862)
- Closes #1779 


[skip ci]
2025-02-01 13:37:12 -08:00
Dermot Duffy 3e8e688b36 feat: Add basic fullscreen support for iPhone (#1857)
- Closes #1444
2025-01-27 07:23:07 -08:00
Dermot Duffy 32e792fdf3 fix: Better handle multiple simultaneous requests for diagnostics (#1852)
- Closes #1851


[skip ci]
2025-01-21 20:36:28 -08:00
Dermot Duffy 805a21107d fix: Correctly detect configuration for the webrtc-card live provider (#1850)
- Closes #1843

If this breaks something for you, please let me know. As a workaround,
you should manually be able to set it back to what it was with something
like:

```yaml
cameras:
 - camera_entity: camera.office
   webrtc_card:
      url: <frigate camera name>
```
2025-01-21 19:42:47 -08:00
Dermot Duffy 0212840688 fix: Substream only cameras should not be triggerable (#1848)
- Closes #1846
2025-01-21 07:17:09 -08:00
Dermot Duffy 596a724714 fix: Add additional troubleshooting pointers for stream load errors (#1844)
[skip ci]
2025-01-20 18:56:59 -08:00
Dermot Duffy faa5ec3eec refactor: Refactor internal error / info message components (#1842) 2025-01-20 15:26:53 -08:00
Dermot Duffy 99fe613811 fix: Panel mode cards with "Kiosk Mode" should fill the screen (#1838)
* Closes #1762
2025-01-18 19:06:09 -08:00
Dermot Duffy 4f76e6a18a fix: Add missing editor support for always_error_if_entity_unavailable (#1837)
- Closes #1775
2025-01-18 15:17:55 -08:00
Dermot Duffy 3003f82170 fix: Microphone should still work after a view change (#1835)
- Closes #1810
2025-01-18 14:54:40 -08:00
Dermot Duffy 57a687d659 fix: Restore camera layout support in image view (#1831)
* Closes #1804
2025-01-16 20:00:31 -08:00
Dermot Duffy 0911e83670 docs: Add the unknown command error to the troubleshooting docs (#1826)
- Closes #1799
2025-01-12 22:26:47 -08:00
Dermot Duffy 6b3736bdaf fix: Show version number with card loading spinner (#1825)
- Closes #1818

**Why add this?**: A repeated pattern is that an issue is fixed in the
card, a new build is released and users will incorrectly believe it's
not yet fixed due to their browser caching the old code. This results in
wasting their time, and my time.

**But it's obnoxious!**: I'm pretty sensitive to this (hence adding
these messages!), so let me know how terrible you find it. You can
disable it with:

```yaml
performance:
  features:
    card_loading_indicator: false
```
2025-01-12 16:26:30 -08:00
Dermot Duffy 1f37895793 fix: Prevent gallery auto-scrolling from scrolling entire browser (#1824)
- Closes #1814
2025-01-11 16:44:05 -08:00
Dermot Duffy addf6edb30 fix: Don't hide PTZ control menu button unnecessarily (#1823)
- Closes: #1819
2025-01-11 15:30:41 -08:00
Dermot Duffy 2678500670 feat: Allow user-agent based conditions (#1821)
* Closes #1819
2025-01-10 07:41:19 -08:00
Dermot Duffy 7657bdf22c fix: Rendering not correctly forced when tab changed in certain circumstances (#1817)
- Closes #1811
- Closes #1769
2025-01-09 20:21:26 -08:00
Dermot Duffy c3dc4803ad fix: Honor the view configured display mode (#1815)
- Closes #1812
2025-01-07 22:28:40 -08:00
Dermot Duffy 95cda9a8cb fix: Fix card usability for users of darkreader extension (#1813) 2025-01-07 20:22:20 -08:00
Dermot Duffy 278560b5ac feat: Add richer card theme support (#1809) 2025-01-07 19:54:13 -08:00
Dermot Duffy f7ecb91578 fix: Allow icon styles to be overridden (#1794) 2024-12-23 21:24:28 -08:00
Dermot Duffy bc95f55cb0 fix: Always fetch media for "most recent media" views (#1791) 2024-12-23 16:22:10 -08:00
Dermot Duffy 9d812af9f4 fix: Use HA style and coloring for all icons (#1790) 2024-12-23 15:22:27 -08:00
Dermot Duffy a9e5889ca7 docs: Add a new page for common support answers (#1771) 2024-12-16 21:46:22 -08:00
Dermot Duffy 0b681402db feat: Add new option to always error on entity unavailable (#1770) 2024-12-16 21:05:17 -08:00
Dermot Duffy 86439af90e fix: Allow submenus to overflow the menu in all cases (#1768) 2024-12-16 18:51:46 -08:00
Dermot Duffy e2b6d38fc2 fix: default action should fetch new media (#1767) 2024-12-15 21:42:12 -08:00
Dermot Duffy 092c050a17 fix: Fix certain webrtc streams that were not loading correctly (#1766) 2024-12-15 21:16:36 -08:00
Dermot Duffy 9f4ddb1e88 fix: Only include custom integrations in diagnostics (#1765) 2024-12-15 20:56:36 -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 b6fb821074 fix: Fix issue where wrong ha stream may be referred to [skip ci] (#1760) 2024-12-14 17:53:47 -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 ed0bb99a45 fix: Panel height should be 100% when casted (#1750) 2024-12-13 08:11:26 -08:00
Dermot Duffy e0335c529c fix: Only fetch Reolink media for cameras that support it (#1747) 2024-12-13 07:39:14 -08:00
Dermot Duffy 1992db2144 fix: Panel mode should exclude header height (#1738)
* fix: Panel mode should exclude header height

* Update docs to clarify aspect-ratio behavior in a panel
2024-12-11 20:42:05 -08:00
Dermot Duffy 47fdfbceeb fix: Correctly display MJPEG streams (#1734)
* fix: Correctly display MJPEG streams

* Request update after load event arrives
2024-12-10 19:35:09 -08:00
Dermot Duffy 216ded29f3 fix: Fix hover-card menu style (#1731)
- Closes `hover-card` menu style is broken #1721
2024-12-09 18:13:23 -08:00
Dermot Duffy 9499ef9e83 ci: Enable semantic releases (#1728) 2024-12-09 17:43:13 -08:00
Dermot Duffy 4a1b365760 ci: Convert old release workflows to manual only (#1726) 2024-12-09 08:21:53 -08:00
Dermot Duffy 0a48ec5365 ci: Use correct release name variable (#1725) 2024-12-09 07:47:36 -08:00
Dermot Duffy cf23021182 ci: Adjust semantic release settings closer to prior releases (#1724) 2024-12-09 07:41:07 -08:00
Dermot Duffy 5a203213ca ci: Allow semantic release to create draft releases (#1719) 2024-12-08 17:23:12 -08:00
Dermot Duffy a679680640 fix: Change for semantic-release testing (#1718) 2024-12-08 17:02:59 -08:00
Dermot Duffy 8c375231e5 chore: Set package version back to 0.0.0-dev to prepare for semantic release (#1717) 2024-12-08 16:54:42 -08:00
Dermot Duffy 4590558653 chore: Bump version to v6.0.0 (#1716) 2024-12-08 16:05:13 -08:00
Dermot Duffy e4500e1058 fix: Remove use of ms-high-contrast from docs (#1713) 2024-12-08 13:18:28 -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 b2b7a0853c chore: Bump version to v6.0.0-beta.9 (#1706) 2024-12-03 20:26:56 -08:00
Dermot Duffy 24a6870937 fix: Allow 9:16 aspect-ratio gallery to render without a gap in Safari (#1705) 2024-12-02 22:08:54 -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 030b1e7a78 fix: Adapt ha-hls-player patch to HA 2024.11 code (#1679)
* Adapt `ha-hls-player` patch to HA `2024.11` code.

* Add the poster back in
2024-11-27 15:13:22 -08:00
Dermot Duffy 241719c14e fix: Column sizing may calculate incorrectly in grid mode (#1695) 2024-11-27 12:45:42 -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 231606ad18 docs: Add alignment parameter to menu elements documentation (#1681) 2024-11-09 15:49:53 -08:00
Dermot Duffy 5141e39dbe docs: Fix ptz_digital typos (#1680) 2024-11-09 15:25:21 -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 653bb8b7b5 chore: Fix issue template formatting (#1643) 2024-10-13 17:34:40 -07:00
Dermot Duffy a07a939e0a docs: Fix PTZ example (#1642)
* docs: Fix PTZ example

* chore: Strength the github issue templates

* Reduce mandatory information
* Diagnostics information always required
2024-10-13 17:31:32 -07:00
Dermot Duffy a869109f89 Bump version to v6.0.0-beta.8 (#1641) 2024-10-13 16:50:47 -07:00
Dermot Duffy 2269f9891d docs: Fix incorrect change_zoom example (#1640) 2024-10-13 16:44:40 -07:00
Dermot Duffy 7895de96d2 fix: Rationalize custom icons to avoid duplication (#1639) 2024-10-13 16:24:51 -07:00
Dermot Duffy 0ec9afbad2 feat: Add permanent menu items for hidden menus (#1636) 2024-10-13 11:05:33 -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 736e043f5f Bump version to v6.0.0-beta.7 (#1628) 2024-10-08 20:35:31 -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 dbee22c125 chore: Bump version to 6.0.0-beta.6 (#1625) 2024-10-07 07:36:09 -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 d7fa2933da fix: Show a background image in case media doesn't load (#1622) 2024-10-06 14:51:44 -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 632e06b7f9 fix: Do not show menu icons on top of other unrelated HA content (#1617)
* fix: Do not show menu icons on top of other unrelated HA content

* Change z-indices to work when multiple cards are used

* Formatting
2024-10-05 11:59:43 -07:00
Dermot Duffy b5c2f00128 fix: Do not show the cameras menu with <= 1 camera (#1616) 2024-10-04 18:41:02 -07:00
Dermot Duffy e75afbca2b docs: Add examples of entity-less cameras (#1615) 2024-10-04 18:21:56 -07:00
Dermot Duffy 9c550f518d chore: Add lock debugging (#1611) 2024-10-03 20:05:39 -07:00
Dermot Duffy c7c9f0d409 chore: Automatically lock closed issues and PRs (#1607) 2024-10-03 19:52:28 -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 eccf50252f fix: Fix card initialization on some cast devices (#1601) 2024-10-01 12:19:22 -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 24603af277 chore: Bump version to v6.0.0-beta.5 (#1596) 2024-09-29 13:48:06 -07:00
Dermot Duffy ff6dbba9f3 fix: Fix curved corners (again) (#1595) 2024-09-29 13:37:39 -07:00
Dermot Duffy 6565584cf3 chore: Remove superfluous votes needed label (#1593) 2024-09-28 17:01:01 -07:00
Dermot Duffy 47d9e39c62 docs: Add information on the new release philosophy (#1592) 2024-09-28 14:43:15 -07:00
Dermot Duffy d907acea9d chore: Bump version to v6.0.0-beta.4 (#1591) 2024-09-27 18:56:59 -07:00
Dermot Duffy 8c5aebef03 fix: Don't hide menu in casting profile (#1590) 2024-09-27 18:52:16 -07:00
Dermot Duffy 464a68ba03 fix: Menu should render over drawer (#1589) 2024-09-27 18:27:36 -07:00
Dermot Duffy f560113031 fix: Ensure media info is dispatched after view change (#1587) 2024-09-25 21:48:36 -07:00