136 Commits

Author SHA1 Message Date
Simon Lamon
6288154c53
Fix cast views not showing a background (#23724) 2025-01-15 10:48:05 +01:00
Wendelin
e703750136
Add and fix stylistic eslint rules (#23735)
* Fix stylistic eslint rules

* Fix eslint issues
2025-01-14 21:00:14 +01:00
Wendelin
69a93ddb6e
Fix background (#23736) 2025-01-14 14:41:43 +00:00
Bram Kragten
57a17b8663
Fix background on cast devices (#23731) 2025-01-14 12:28:32 +02:00
Wendelin
abe8899f9b
Update ts-eslint (#23723)
* Update ts-eslint

* Remove comments

* Remove unused ts-ignore

* Add undefined generic type instead of unknown

* Remove unused undefined type

* Fix type issues

* Use undefined instead of void for subscribed return type
2025-01-14 11:24:02 +01:00
Ville Skyttä
3d1817a6b9
Spelling and grammar fixes (#23598) 2025-01-06 12:10:34 +01:00
Simon Lamon
7900eb4054
View background settings (#23133)
Co-authored-by: karwosts <karwosts@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-12-22 16:19:54 +00:00
Petar Petrov
7a12fd2853
Fix ALL the eslint warnings (#23165)
* Fix many lint warnings

* Fix ALL lint warnings

* small fix

* type fixes
2024-12-06 09:55:07 +01:00
Wendelin
bd0bfc1fbe
Rspack (#22807)
* Add rspack

* Remove TransformAsyncModulesPlugin from rspack

* Migrate all webpack usage to rspack

* Migrate tests to vitest

* Fix test suites

* Remove chai dependency

* Fix compute_state_display tests

* Fix resolveTimeZone

* Reduces test pipeline

* Revert test ci

* optimize chunk filtering

* Migrate landing-page to rspack

* Update rspack dependencies

* Add rsdoctor

* Fix prod build bundle size

* Use rsdoctor for demo stats

* Remove unused webpack configs

* Update build-scripts/rspack.cjs

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>

* Fix eslint

* Update rspack

* Remove unused code

---------

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2024-11-26 14:49:13 +01:00
Simon Lamon
ee79c3a983
Remove rollup build configuration (#22181)
Rollup remove
2024-11-08 10:19:52 +02:00
Wendelin
830d8d2410
Add type import check to eslint (#22488)
* Add type import check to eslint

* Add type imports with eslint --fix
2024-10-30 11:12:30 +00:00
Paul Bottein
d302eaffe6
Add fixed background support in iOS and improve the way we set view background (#22531)
* Add fixed background support in iOS and improve the way we set view background

* Fix cast
2024-10-29 09:17:06 +01:00
Simon Lamon
e16e851952
Fix invalid var references (#22482)
* var-fixes

* Prettier
2024-10-23 09:58:32 +02:00
Paul Bottein
b9922b2f8e
Use undo notification when deleting a card or badge (#22414)
* Use undo notification instead of confirmation dialog for cards and badges

* Fix notifications

* Improve deletion functions

* Fix errors

* Fix startup notifications

* Add translation and simplify delete method

* Apply suggestions from code review

Co-authored-by: Wendelin <12148533+wendevlin@users.noreply.github.com>

* Prettier

* Update src/panels/lovelace/editor/delete-badge.ts

---------

Co-authored-by: Wendelin <12148533+wendevlin@users.noreply.github.com>
2024-10-22 13:17:01 +00:00
Jan Rieger
9f17f6a8cf
Fix typo (#22086) 2024-09-25 18:02:34 +00:00
Paul Bottein
d25f72524b
Migrate title section to heading (#22017)
* Remove title from UI

* Migrate section title to heading card

* Remove title from edit section dialog

* Update src/panels/lovelace/views/hui-sections-view.ts

* Simplify delete section dialog
2024-09-23 09:54:20 +02:00
Bram Kragten
2f696bd511
Fix demo service worker (#21527)
* fix demo service worker

* cast too
2024-08-01 09:11:27 +00:00
Steve Repsher
345000a0e9
Redefine browser requirements for modern (latest) builds (#16506)
* Redefine browser requirements for modern (latest) builds

* Rename babel class properties plugin

* Fix only allowing latest Android

* Add browsers released in last year

* Use at or above for utilization (no change to browsers currently)

* Only use time query (no effective change)

* Add transform for private methods

* Fix some typos in browserslist config

Co-authored-by: Quentame <polletquentin74@me.com>

* bump browserslist-useragent-regex

* Add fallback feature detection for Array.prototype.findLast

---------

Co-authored-by: Quentame <polletquentin74@me.com>
2024-07-19 10:49:19 -04:00
Steve Repsher
82329833f5
Remove Safari 14.0 patch for delegatesFocus (#21247) 2024-07-03 06:28:57 +02:00
Paulus Schoutsen
c71a051b6d
Remove ga.js (#21242) 2024-07-01 12:11:26 +02:00
Simon Lamon
2e5cce5409
Replace paper-listbox in cast frontend (#19954)
* hc-cast

* Update cast/src/launcher/layout/hc-cast.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update cast/src/launcher/layout/hc-cast.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update cast/src/launcher/layout/hc-cast.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Fixes

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-06-21 11:13:13 +02:00
Bram Kragten
d31a777135
use image selector for view background (#20898)
* use image selector for view background

* make config future proof

* improvements
2024-05-29 17:29:09 +02:00
Paul Bottein
7a7bd87f50
Unify usage of dashboard title (#20853) 2024-05-29 12:29:52 +02:00
Jeremy Noesen
05e2e305e4
Update cast launch screen colors (#19754) 2024-03-04 15:45:54 +01:00
Bram Kragten
2efe2589d2 Merge branch 'rc' into dev 2024-02-28 16:50:23 +01:00
Jeremy Noesen
4e22fea6e2
Fix status text centering for cast launch screen (#19748) 2024-02-14 09:57:39 +01:00
Bram Kragten
f0a9185e4a handle undefined and null in cast 2024-02-08 18:31:23 +01:00
Bram Kragten
03486e4125 cast allow empty view, pick first (#19739) 2024-02-08 18:06:57 +01:00
Bram Kragten
20560fb847 Fix cast launch screen (#19738) 2024-02-08 18:06:37 +01:00
Bram Kragten
045ff7a45e
cast allow empty view, pick first (#19739) 2024-02-08 17:43:50 +01:00
Bram Kragten
8624853ec4
Fix cast launch screen (#19738) 2024-02-08 17:40:43 +01:00
Yosi Levy
5e40bb55eb
RTL fixes (#19563) 2024-01-30 14:27:40 +01:00
Bram Kragten
59a3a35b19
Handle cast connect different instance better (#19526) 2024-01-25 13:00:55 +01:00
Steve Repsher
349344161a
Fix incompatible object/array property types (2 of 3) (#19482) 2024-01-22 16:04:58 +01:00
Bram Kragten
ca68eaab38
Update cast idle logo (#19443) 2024-01-18 17:05:25 +01:00
renovate[bot]
15395275ba
Update dependency prettier to v3.1.0 (#18675)
* Update dependency prettier to v3.1.0

* Reformat

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-11-19 23:31:56 -05:00
Simon Lamon
0eeadcd31a
Replace paper-input in cast (#18647) 2023-11-16 12:39:54 +01:00
Paul Bottein
1cf928b425
Improve Lovelace types (#18652) 2023-11-15 11:13:49 +01:00
Paul Bottein
eb35eb3de5
Disable dashboard resources in safe mode (#18382) 2023-10-24 20:15:11 +02:00
Steve Repsher
3b2f6d71f5
Minify ha-style/Roboto and load asynchronously (#18226) 2023-10-16 20:37:50 +02:00
Bram Kragten
4b885cbd93
Remove narrow from strategies (#18201) 2023-10-16 00:20:36 -04:00
Till
607175706b
Add date range picker to energy period selector (#14337) 2023-10-12 18:29:04 +02:00
Bram Kragten
5aaf0cd579
Update logo (#17964) 2023-09-26 15:33:40 +02:00
Paul Bottein
9217d5bf40
Refactor strategy foundation (#17921) 2023-09-21 20:22:52 +02:00
Steve Repsher
c71fd055a4
Expand use of prettier to all tracked files (#17311) 2023-07-18 17:16:33 +02:00
Bram Kragten
7584404d31
Fix cast build (#17162) 2023-07-04 20:41:40 +02:00
renovate[bot]
26d4839dfd
Update dependency @types/chromecast-caf-receiver to v6 (#15724)
* Update dependency @types/chromecast-caf-receiver to v6

* Import cast namespace from receiver for receiver/media entry

* Use sender event types in manager and remove anonymous listeners

* Apply suggestions from code review

* prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-05-30 09:30:04 +00:00
Paul Bottein
71bb540352
Use key instead of keycode for key event (#16625) 2023-05-25 18:47:57 +02:00
Steve Repsher
aa3fd70966
Use Babel runtime for helpers and regenerator (33%+ bundle reduction) (#16466) 2023-05-08 14:47:53 +02:00
Steve Repsher
aac28efd32
Streamline HTML generation and consolidate templates (#16117) 2023-04-20 11:10:12 +02:00