Commit Graph

51 Commits

Author SHA1 Message Date
Paul Bottein d95bf64edf
Add experimental sections view (#19846) 2024-02-22 20:51:48 +01:00
Paul Bottein 33cdd51f00
Improve lovelace card events (#19785) 2024-02-14 10:07:50 +01:00
Steve Repsher 6234f7b7d2
Initialize boolean properties (#19445) 2024-01-18 16:39:33 +01:00
Paul Bottein 1cf928b425
Improve Lovelace types (#18652) 2023-11-15 11:13:49 +01:00
Bram Kragten 4b885cbd93
Remove narrow from strategies (#18201) 2023-10-16 00:20:36 -04:00
Paul Bottein 9217d5bf40
Refactor strategy foundation (#17921) 2023-09-21 20:22:52 +02:00
karwosts 9bcbb6f914
Support cut/copy/paste in dashboard UI editor (#16707) 2023-06-26 11:14:14 +02:00
Bram Kragten 0364c5e493
Revert "Fix theme background of view" (#16094
Revert "Fix theme background of view (#16083)"

This reverts commit 723b3844ac.
2023-04-06 17:19:12 +02:00
Bram Kragten 723b3844ac
Fix theme background of view (#16083) 2023-04-06 15:34:49 +02:00
Thomas Lovén a8c365edc8
Fix broken cards being able to crash entire view (#11440) 2022-04-25 14:37:32 +02:00
Bram Kragten 35a81e7f11
Correct badge warning (and use new styling) (#9926) 2021-09-01 16:23:29 +02:00
Joakim Sørensen 59f3f819a6
Revert name change from selectedTheme to selectedThemeSettings (#9273) 2021-05-27 10:21:58 +02:00
Philip Allgaier 7f75ca81f1
Add support for custom themes to use dark mode (#8347) 2021-05-25 13:26:35 +02:00
Paulus Schoutsen 1b9286db76
Fix lit warnings (#9204)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-05-18 15:01:43 -07:00
Bram Kragten bc92c0b052
Upgrade to Lit 2 (#9199) 2021-05-18 07:37:53 -07:00
Bram Kragten 9f032a61a9
Add compatibility for Lit 2.0 (#8878) 2021-05-07 13:16:14 -07:00
Paulus Schoutsen 63e10314bd
Sketch out strategies (#8959)
Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>
2021-04-23 09:36:45 -07:00
Paulus Schoutsen 0b8d356865
Clean up HUI-VIEW (#8967) 2021-04-22 09:46:15 -07:00
Bram Kragten 57e535c2c8
Fix changing view type (#8688) 2021-03-25 14:21:38 +01:00
Zack Barett 3264be3c5e
Move main function to events on hui-view for custom views to use (#7861) 2020-12-03 18:16:55 -06:00
Thomas Lovén 61e17395c9
Correctly replace rebuilt badges in view (#7487) 2020-10-26 20:55:47 +01:00
Bram Kragten 9fbc94e8d8
Pass narrow to masonry view to calc columns (#7454) 2020-10-22 23:29:26 +02:00
Bram Kragten 37eb5af3d4
Pass updated cards and badges to view element (#7407) 2020-10-20 23:51:15 +02:00
Bram Kragten 2ecf7bca97
Set hass when creating card (#7187) 2020-10-02 15:09:27 +02:00
Zack Barett 771c7518e6
Custom Lovelace View Layouts (#6557)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-30 11:06:03 +02:00
Zack Arnett f3639c2663
Card Picker: Entity Picker (#6693) 2020-09-03 18:28:53 -05:00
dklemm 5f46fdb406
Restored card margin for narrow viewports (#6454) 2020-08-27 16:13:21 +02:00
Bram Kragten ca4f573be0
Add support for safe area insets (#6473) 2020-07-30 18:27:27 +02:00
Bram Kragten f8c5eeab5d
Replace all private properties with internalProperty decorator (#6386) 2020-07-14 21:38:36 -07:00
Bram Kragten 25cc76e022
Replace paper-menu-button (#6132) 2020-06-09 22:30:36 +02:00
Bram Kragten 7fb852893c
Fix get card size for lazy elements (#6023) 2020-05-27 22:18:13 +02:00
Bram Kragten 70f59eeec6
MIgrate entity-filter-badge to updating element (#6050) 2020-05-27 15:25:28 +02:00
Bram Kragten dcbbaf08f9
Set lovelace when restoring view from cache, optimise picture element and thermostat (#5880) 2020-05-14 18:44:38 +02:00
Bram Kragten f469753fb1
Dont add all childs at once to view (#5856) 2020-05-14 00:09:52 +02:00
Bram Kragten 7f1fb6f75f
Set edit mode to false on card when disabling edit mode. (#5845) 2020-05-13 12:05:29 +02:00
Bram Kragten 1b2841eef9
Recreate cards only on config change (#5839) 2020-05-12 11:09:30 -07:00
Bram Kragten db906ad4d0
Bump material (#5812) 2020-05-09 20:59:53 +02:00
Bram Kragten 82f80db558
Update typescript, prettier, tslint -> eslint (#5536)
* Update typescript, prettier, tslint -> eslint

* Organize imports

* Use glob for eslint fix react import
2020-04-14 09:05:45 -07:00
Bram Kragten d5ed1c4c41
Clean up theme settings (#5395) 2020-04-01 17:26:38 +02:00
Bram Kragten 1950656bd5
Add ability to edit panel view cards (#5257)
* Add ability to edit panel view cards

* Localize and fix some styling
2020-03-21 16:51:44 +01:00
Bram Kragten 04f8f0f74f Render should always return a html template (#4612) 2020-01-27 08:34:22 -08:00
Paulus Schoutsen 62654ec598
Refactor create element (#4509)
* Refactor create element

* Move things around

* Fix reference in gallery
2020-01-17 16:19:01 -08:00
Bram Kragten 15a2790b9f
Add support to add all device entities to Lovelace (#4356)
* Add support to add all device entities to Lovelace

* Reload config when it was changed while Lovelace was not active

* Localize

* Update ha-panel-lovelace.ts

* Move to device entities card

* Move Lovelace logic to lovelace combine with unused entities

* Unused imports

* Added suggestions and support for YAML mode
2019-12-23 10:39:17 +01:00
Bram Kragten daa04e9973
Fix jumping on iOS when toggle switch (#4275) 2019-11-29 12:41:37 +01:00
Bram Kragten 044cf22f47 Fix variable column widths (#4127) 2019-10-24 09:43:28 -07:00
Ian Richardson 0078b48e3c
card level themes (#4057)
* card level themes

weather-forecast
shopping-list
plant-status
markdown
alarm-panel

* fix markdown

* address comments

also added picture cards

* update updated

* address comments

* address comments
2019-10-21 12:38:06 -05:00
Paulus Schoutsen c437cd3865
Use only decorators (#4058)
* Use only decorators

* Remove unused imports
2019-10-18 22:50:27 -07:00
Ian Richardson c9242a5075 Custom badges (#3867)
* custom badges

* incremental

* functional

* cleanup

* cleanup

* address review comments

* address more comments

* address review comments

* address review comments

* cleanup

* address review comments

* address comments

* address comments

* fix entity-filter

* set hass once

* hass
2019-10-16 16:09:13 +02:00
Tom Raithel 0266617c71 Remove overflow attribute from view column (#3971)
Fixes #3253
2019-10-10 10:50:46 +02:00
Bram Kragten 7add8a2ea0 Guard for null badges (#3841)
* Guard for null badges

* Check for null badges on load and save
2019-10-02 09:29:36 -07:00